IMA_GetHeaderDigestValues - Gets the list of checksums that can be negotiated for digests
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_GetHeaderDigestValues( /* in */ IMA_OID oid, /* in,out */ IMA_UINT *pDigestValueCount, /* out */ IMA_DIGEST_TYPE *pDigestValueList; );
The object ID of a logical host bus adapter (LHBA) or target whose digest values are to be retrieved.
A pointer to an IMA_UINT allocated by the caller.
On entry, this argument contains the maximum number of entries that can be placed into the pDigestValueList argument. On return, this argument contains the number of entries actually placed into the pDigestValueList argument.
A pointer to an array of IMA_DIGEST_TYPE data allocated by the caller or NULL.
If this argument is not NULL when successfully returned, the array contains the digest values being used by the LHBA or target. These values are in decreasing order of preference for use by the LHBA or target.
If this argument is NULL, then the value pointed to by the pDigestValueCount argument on entry is zero.
The IMA_GetHeaderDigestValues() API gets the list of checksums that can be negotiated for digests.
Returned if the pDigestValueList argument 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 or target
Returned if the oid argument does not specify an LHBA or target known to the system
See attributes(7) for descriptions of the following attributes:
|