IMA_AddLHBAMutualAuthParms - Adds mutual authentication parameters
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_AddLHBAMutualAuthParms( /* in */ IMA_OID oid, /* in */ IMA_AUTHMETHOD method, /* in */ IMA_TARGET_AUTHPARMS pParms );
The object ID of a logical host bus adapter (LHBA) object to which the authentication parameters are to be added.
The authentication method of the object ID to which authentication parameters are to be added.
An IMA_TARGET_AUTHPARMS data structure which contains the new authentication parameters to add to the list for the specified LHBA object.
The IMA_AddLHBAMutualAuthParms() API adds a mutual authentication parameter to the list for a specified LHBA object.
Returned if the method does not specify a valid or a supported authentication method
Returned if method 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 an LHBA object.
Returned if the LHBA object does not support setting of the mutual authentication parameters list.
Returned if the oid argument does not specify an LHBA object known to the system.
See attributes(7) for descriptions of the following attributes:
|
attributes(7), attributes(7), IMA_GetLHBAMutualAuthParmsList(3IMA), IMA_RemoveLHBAMutualAuthParms(3IMA)