IMA_SetMutualLocalAuthParms - Sets the parameters for the authentication method specified for an object ID to be used for mutual authentication
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_SetMutualAuthParms( /* in */ IMA_OID oid, /* in */ IMA_AUTHMETHOD method, /* in */ const IMA_TARGET_AUTHPARMS *pParms, /* in */ IMA_BOOL mutualAuthEnabled );
The object ID of the target, static target, or discovery address whose authentication parameters are to be set.
The authentication method of the object ID whose authentication parameters are to be set.
A pointer to an IMA_TARGET_AUTHPARMS data structure that contains the parameters to associated with the specified authentication method.
A boolean indicating whether mutual authentication will be performed for the specified object ID for the specified authentication method.
If this parameter is set to the value, IMA_TRUE, then the initiator will perform mutual authentication for the specified object ID for the specified authentication method.
If this parameter is set to the value, IMA_FALSE, then the initiator will not perform the mutual authentication.
The IMA_SetMutualLocalAuthParms() API sets the parameters for the authentication method specified for an object ID to be used for mutual authentication.
Returned if a reboot is necessary before the setting of the authentication parameters takes effect
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 from which data cannot be read
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 oid argument does not specify an object ID known to the system
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_GetMutualLocalAuthParms(3IMA), IMA_GetMutualLocalAuth(3IMA), IMA_SetMutualLocalAuth(3IMA)