IMA_GetSupportedAuthMethods - Gets a list of the authentication methods supported by the specified LHBA
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_GetSupportedAuthMethods( /* in */ IMA_OID lhbaOid, /* in */ IMA_BOOL getSettableMethods, /* in, out */ IMA_UINT *pMethodCount, /* out */ IMA_AUTHMETHOD *pMethodList; );
The object ID of a logical host bus adapter (LHBA) whose authentication methods are to be retrieved.
A boolean that indicates which set of authentication methods should be returned. If the value of this parameter is IMA_TRUE, then a list of authentication methods that are currently settable is returned. Settable authentication methods are those methods whose authentication parameters have been set.
If the value of this parameter is IMA_FALSE, then a list of all supported authentication methods is returned. This list may include authentication methods which cannot be set (enabled) until the authentication parameters of the methods are set.
A pointer to an IMA_UINT data structure allocated by the caller. On entry, the value pointed to contains the maximum number of entries that can be placed into the pMethodList argument. On return, the value pointed to contains the number of entries that were actually placed into the pMethodList argument.
A pointer to an array of IMA_AUTHMETHOD data structures allocated by the caller.
If the value of this argument is not NULL, then on successful return, the array will be filled with the authentication methods supported by the LHBA. These entries are sorted in decreasing order of preference of the vendor of the LHBA.
If this value of this argument is NULL, then the value pointed to by the pMethodCount argument on entry is zero.
The IMA_GetSupportedAuthMethods() API gets a list of the authentication methods supported by the specified LHBA.
Returned if the lhbaOid argument does not specify a valid object type
Returned if the lhbaOid argument does not specify an LHBA
Returned if the lhbaOid argument does not specify an LHBA known to the system
Returned if the pMethodList argument specifies a memory area to which data cannot be written
See attributes(7) for descriptions of the following attributes: