IMA_GetMutualLocalAuthParms - Gets the parameters for the authentication method specified for a specified object ID for purposes of mutual authentication
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_GetMutualLocalAuthParms( /* in */ IMA_OID oid, /* in */ IMA_AUTHMETHOD method, /* out */ IMA_TARGET_AUTHPARMS *pParms, );
The object ID of the target, static target or discovery address whose authentication parameters are to be retrieved.
The authentication method of the object ID whose authentication parameters are to be retrieved.
A pointer to an IMA_TARGET_AUTHPARMS data structure. On successful return this data structure contains the mutual authentication parameters for the specified authentication method on the specified object ID.
The IMA_GetMutualLocalAuthParms() API gets the parameters for the authentication method specified for a specified object ID for purposes of mutual authentication.
Returned if the method argument does not specify a valid or supported authentication method
Returned if the method argument has the value,IMA_AUTHMETHOD_NONE
Returned if the pParms argument is NULL, or specifies a memory area to which data cannot be written
Returned if the oid argument does not specify a valid object type
Returned if the oid argument does not specify a target, static target or discovery address
Returned if the logical host bus adapter (LHBA) associated with the target does not support setting authentication parameters for a target
Returned if the oid argument does not specify a target known to the system
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_SetMutualLocalAuthParms(3IMA)