126 lines
12 KiB
HTML
126 lines
12 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
|
<title>Security-related APIs</title>
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<!-- Begin Header Records ========================================= -->
|
|
<!-- Sec SCRIPT A converted by B2H R4.1 (346) (CMS) by V2KEA304 -->
|
|
<!-- at RCHVMW2 on 17 Feb 1999 at 11:05:09 -->
|
|
<!-- 021001 JETAYLOR replaced API and/or Exit listings with -->
|
|
<!-- pagegenerator output from javascript array -->
|
|
<!-- 021014 JETAYLOR replaced API and/or Exit listings with -->
|
|
<!-- pagegenerator output from javascript array -->
|
|
<!-- 021015 JETAYLOR replaced API and/or Exit listings with -->
|
|
<!-- pagegenerator output from javascript array -->
|
|
<!-- 030501 JETAYLOR replaced API and Exit listings with -->
|
|
<!-- pagegenerator output from javascript array -->
|
|
<!-- 031111 JETAYLOR replaced API and/or Exit listings with -->
|
|
<!-- pagegenerator output from javascript array -->
|
|
<!-- End Header Records -->
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body>
|
|
<a name="Top_Of_Page"></a>
|
|
<!-- Java sync-link -->
|
|
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
|
|
</script>
|
|
|
|
<h2>Security-related APIs</h2>
|
|
|
|
<p>The i5/OS<SUP>(TM)</SUP> security-related APIs allow you to:</p>
|
|
|
|
<ul>
|
|
<li>Perform many of the security functions through a program interface. You can
|
|
use APIs instead of CL commands.</li>
|
|
|
|
<li>Combine many individual jobs into a single server or overhead job without
|
|
compromising system security.</li>
|
|
</ul>
|
|
|
|
<p>These APIs can be used to consolidate server jobs to reduce processing time
|
|
and storage use because the system performs job management tasks for only one
|
|
job. They also speed response time for system users.</p>
|
|
|
|
<p>For general information about system security, see the
|
|
<a href="../rzahg/rzahgicsecurity.htm">Security</a> topic.</p>
|
|
|
|
<p>The security-related APIs are:</p>
|
|
<!-- ***** NOTE ***** Do not manually update text or links in this section. -->
|
|
<!-- Updates made in this section *will* be overlaid by automated tools -->
|
|
<!-- Notify User Technologies of needed updates to be made in XML for API finder.-->
|
|
<!--***************API BEGIN PASTE***************-->
|
|
<ul>
|
|
<li><A HREF="qydoaddv.htm">Add Verifier</A> (QYDOADDV, QydoAddVerifier)) adds a certificate to the local system's *SIGNATUREVERIFICATION certificate store that the local system can use later to verify the integrity of objects on the system.</li>
|
|
<li><A HREF="QSYCHGPR.htm">Change Previous Sign-On Date</A> (QSYCHGPR) changes the previous sign-on date and time to the current date and time for the current user of the job.</li>
|
|
<li><A HREF="QSYCHGDS.htm">Change Service Tools User ID</A> (QSYCHGDS) changes the ID name or the password (or both) for service tools user IDs.</li>
|
|
<li><A HREF="QSYCHGPW.htm">Change User Password</A> (QSYCHGPW) changes a user's password.</li>
|
|
<li><A HREF="QSYCHGID.htm">Change User Profile UID or GID</A> (QSYCHGID) changes the user ID (UID) or group ID (GID) value for a user profile object.</li>
|
|
<li><A HREF="qsycupwd.htm">Check Encrypted User Password</A> (QSYCUPWD) checks to see if the encrypted password data for the specified user profile on the system on which this API is run is the same as the encrypted password data for the user on the system where the Retrieve Encrypted User Password (QSYRUPWD) API was run.</li>
|
|
<li><A HREF="qsychktu.htm">Check Profile Token User</A> (QSYCHKTU, QsyChkPrfTknUser) verifies that the user profile associated with the token is the same as the current user profile in the thread.</li>
|
|
<li><A HREF="qydochks.htm">Check system</A> (QYDOCHKS, QydoCheckSystem) checks key operating system object's signatures.</li>
|
|
<li><A HREF="QSYCUSRA.htm">Check User Authority to an Object</A> (QSYCUSRA) returns an indication about a user's specified authority to an object.</li>
|
|
<li><A HREF="QSYCUSRS.htm">Check User Special Authorities</A> (QSYCUSRS) returns an indication of a user's special authorities.</li>
|
|
<li><A HREF="QWTCLEAR.htm">Clear Job User Identity</A> (QwtClearJuid()) clears any job user identity that was previously set by the QwtSetJuid() function or by the Set Job User Identity (QWTSJUID) API.</li>
|
|
<li><A HREF="QSYCVTA.htm">Convert Authority Values to MI Value</A> (QSYCVTA) converts authority values to the machine interface (MI) representation of the value.</li>
|
|
<li><A HREF="qsygenpt.htm">Generate Profile Token</A> (QSYGENPT) verifies that the caller has authority to generate a profile token for the requested profile and then generates a profile token.</li>
|
|
<li><A HREF="qsygenprftkn.htm">Generate Profile Token</A> (QsyGenPrfTkn) verifies that the caller has authority to generate a profile token for the requested profile and then generates a profile token.</li>
|
|
<li><A HREF="qsygenpte.htm">Generate Profile Token Extended</A> (QsyGenPrfTknE) verifies that the caller has authority to generate a profile token for the requested profile and then generates a profile token.</li>
|
|
<li><A HREF="qsygenft.htm">Generate Profile Token From Profile Token</A> (QSYGENFT, QsyGenPrfTknFromPrfTkn) generates a profile token using an existing profile token.</li>
|
|
<li><A HREF="QSYGETPH.htm">Get Profile Handle</A> (QSYGETPH) validates a user ID and password, and creates an encrypted abbreviation called a profile handle for that user profile.</li>
|
|
<li><A HREF="qsygetphe.htm">Get Profile Handle</A> (QsyGetProfileHandle) validates user IDs and passwords and creates a profile handle, for use in jobs that run under more than one user profile.</li>
|
|
<li><A HREF="qsygetphnopwd.htm">Get Profile Handle No Password</A> (QsyGetProfileHandleNoPwd) validates user IDs and creates a profile handle, for use in jobs that run under more than one user profile.</li>
|
|
<li><A HREF="qsygetpt.htm">Get Profile Token Time Out</A> (QSYGETPT, QsyGetPrfTknTimeOut) gets the number of seconds until a profile token is not valid.</li>
|
|
<li><A HREF="qsyinvpt.htm">Invalidate Profile Token</A> (QSYINVPT, QsyInvalidatePrfTkn) invalidates a profile token.</li>
|
|
<li><A HREF="qsylautu.htm">List Authorized Users</A> (QSYLAUTU) puts a list of authorized users of the system in a user space.</li>
|
|
<li><A HREF="qsylatlo.htm">List Objects Secured by Authorization List</A> (QSYLATLO) puts a list of objects secured by an authorization list in a user space.</li>
|
|
<li><A HREF="qsylobjp.htm">List Objects That Adopt Owner Authority</A> (QSYLOBJP) puts a list of objects that adopt an owner's authority in a user space.</li>
|
|
<li><A HREF="qsylobja.htm">List Objects User Is Authorized to, Owns, or Is Primary Group of</A> (QSYLOBJA) puts a list of objects that a user is authorized to, owns, or is the primary group owner for into a user space.</li>
|
|
<li><A HREF="qsylusra.htm">List Users Authorized to Object</A> (QSYLUSRA) puts a list of users privately authorized to an object in a user space.</li>
|
|
<li><A HREF="qgyolaus.htm">Open List of Authorized Users</A> (QGYOLAUS) provides information about the authorized users of the system.</li>
|
|
<li><A HREF="QSYRLSPH.htm">Release Profile Handle</A> (QSYRLSPH, QsyReleaseProfileHandle) validates a given profile handle and then releases it.</li>
|
|
<li><A HREF="qsyrmapt.htm">Remove All Profile Tokens</A> (QsyRemoveAllPrfTkns) provides an interface to remove all profiles on the system.</li>
|
|
<li><A HREF="qsyraptu.htm">Remove All Profile Tokens For User</A> (QsyRemoveAllPrfTknsForUser) provides an interface to remove all profile tokens that have been generated for a specific user profile.</li>
|
|
<li><A HREF="qsyrptkn.htm">Remove Profile Token</A> (QsyRemovePrfTkn) removes the specified profile token.</li>
|
|
<li><A HREF="QSYRMVPT.htm">Remove Profile Tokens</A> (QSYRMVPT) provides an interface to remove all profile tokens that have been generated for user profiles on the system, or to remove all profile tokens that have been generated for a specific user profile.</li>
|
|
<li><A HREF="qsyrespa.htm">Reset Profile Attributes</A> (QSYRESPA) resets four attributes of system-supplied user profiles.</li>
|
|
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qsyrtvai.htm ">Retrieve Authorization List Information</A> (QSYRTVAI) returns the number of entries in use for the specified authorization list. <img src="deltaend.gif" ALT="End of change" border="0"></li>
|
|
<li><A HREF="qsyrautu.htm">Retrieve Authorized Users</A> (QSYRAUTU) returns a list of authorized user names on the system and information about those users.</li>
|
|
<li><A HREF="qsyrupwd.htm">Retrieve Encrypted User Password</A> (QSYRUPWD) returns to the caller the encrypted password for the specified user profile.</li>
|
|
<li><A HREF="qydortvo.htm">Retrieve Object Signatures</A> (QYDORTVO, QydoRetrieveDigitalSignatures) retrieves certificate information from a signed iSeries object.</li>
|
|
<li><A HREF="qgyratlo.htm">Retrieve Objects Secured by Authorization List</A> (QGYRATLO) provides a list of objects that are secured by an authorization list.</li>
|
|
<li><A HREF="qsyrtvsa.htm">Retrieve Security Attributes</A> (QSYRTVSA) retrieves information about the current and pending security attributes of the system.</li>
|
|
<li><A HREF="qsyrusra.htm">Retrieve User Authority to Object</A> (QSYRUSRA) returns the user's authority to an object.</li>
|
|
<li><A HREF="qsyrusri.htm">Retrieve User Information</A> (QSYRUSRI) returns the information about a user.</li>
|
|
<li><A HREF="qsyrtvua.htm">Retrieve Users Authorized to an Object</A> (QSYRTVUA) provides information about the users who are authorized to an object.</li>
|
|
<li><A HREF="qsysupwd.htm">Set Encrypted User Password</A> (QSYSUPWD) sets the encrypted password for the specified user profile by using the receiver variable that was retrieved by the Retrieve Encrypted User Password (QSYRUPWD) API.</li>
|
|
<li><A HREF="QWTSJUID.htm">Set Job User Identity</A> (QWTSJUID) performs two operations that can be used to explicitly set the job user identity of the current job.</li>
|
|
<li><A HREF="QWTSETJU.htm">Set Job User Identity</A> (QwtSetJuid()) sets the job user identity of the current job to the name of the current user profile of the job.</li>
|
|
<li><A HREF="QWTSETP.htm">Set Profile Handle</A> (QWTSETP, QsySetToProfileHandle) switches the job to run under a new profile.</li>
|
|
<li><A HREF="qsysetpt.htm">Set To Profile Token</A> (QSYSETPT, QsySetToPrfTkn) validates the profile token and changes the current thread to run under the user and group profiles represented by the profile token.</li>
|
|
<li><A HREF="qydosgnb.htm">Sign Buffer</A> (QYDOSGNB, QydoSignBuffer) allows the local system to certify that the series of bytes being signed is trustworthy.</li>
|
|
<li><A HREF="qydosgno.htm">Sign Object</A> (QYDOSGNO, QydoSignObject) allows the local system to certify that the object being signed is trustworthy as of the time the object is being signed.</li>
|
|
<li><A HREF="qydovfyb.htm">Verify Buffer</A> (QYDOVFYB, QydoVerifyBuffer) allows the local system to verify that the series of bytes signed earlier has not been tampered with.</li>
|
|
<li><A HREF="qydovfyo.htm">Verify Object</A> (QYDOVFYO, QydoVerifyObject) checks to see if an object has changed since it was signed.</li>
|
|
</ul>
|
|
<!--***************API END PASTE***************-->
|
|
<br>
|
|
|
|
<hr>
|
|
<center>
|
|
<table cellpadding="2" cellspacing="2">
|
|
<tr align="center">
|
|
<td valign="middle" align="center">
|
|
<a href="#Top_Of_Page">Top</a> |
|
|
<a href="sec.htm">Security APIs</a> |
|
|
<a href="aplist.htm">APIs by category</a></td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html>
|