IMA_GetInitiatorLocalAuthParms - Gets the parameters for the authentication method specified for a specified object ID
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_GetInitiatorLocalAuthParms( /* in */ IMA_OID oid, /* in */ IMA_AUTHMETHOD method, /* out */ IMA_INITIATOR_AUTHPARMS *pParms, /* out */ IMA_BOOL *enabled );
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_INITIATOR_AUTHPARMS data structure. If successfully returned, this structure contains the initiator authentication parameters for the specified authentication method on the specified target.
A pointer to a boolean indicating whether use of the local initiator authentication parameters is enabled or disabled. If this argument is set to the value, IMA_TRUE, then the authentication parameters set for this object ID are used for initiator authentication.
The IMA_GetInitiatorLocalAuthParms() API gets the parameters for the authentication method specified for a specified object ID to be used for one-way authentication.
Returned if the method argument does not specify a valid or a 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
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_SetInitiatorLocalAuthParms(3IMA)