HP-UX AAA Server A.08.01 administrator's guide (T1428-90072, May 2010)

Table Of Contents
Table D-4 Possible Values of the infotype Parameter (continued)
DescriptionInformation Type Value
client types, see the sdk.h header file. The
client type field has a type of uint32_t.
len The address of a variable to store the length of the value interested.
value The address of a pointer intended to point to the content of the value
interested.
Output
len The input variable that stores the length of the value (in bytes).
value The input pointer that points to the content of the value. You must copy the
contents that are of value. The memory for the value must not be freed once
you copy the contents.
Return
Returns one of the following values:
SDK_SUCCESS if the operation succeeds.
SDK_INVALID_ARG if the arguments are invalid.
SDK_FAILURE if the operation fails.
int sdk_decrypt_passwd()
int sdk_decrypt_passwd(sdk_authreq_t *authreq, char *enpasswd,
uint32_t enpwlen, char *clpasswd, uint32_t *clpwlen)
Usage
Decrypts the password
Input
authreq A pointer to an authentication request.
enpasswd A pointer to the encrypted password string.
enpwlen Length of encrypted password.
clpasswd A pointer to the buffer where the clear text password is to be stored.
clpwlen A pointer to an integer, where the size of the clear text password is to be
stored.
Output
clpasswd A pointer to the clear text password.
clpwlen A pointer to the length of the clear text password.
Return
Returns one of the following values:
SDK_SUCCESS if the operation succeeds
SDK_INVALID_ARG if the arguments are invalid
APIs in the HP-UX AAA Server SDK 593