Developer's Guide to Oracle® Solaris 11 Security

Exit Print View

Updated: July 2014
 
 

KMF Basic Data Types

See the kmftypes.h file for definitions of structures and types. This example uses variables of the following KMF types.

KMF_HANDLE_T

Session handle for KMF calls

KMF_RETURN

Return code for all KMF calls

KMF_KEY_HANDLE

Handle to a KMF key

KMF_CREDENTIAL

KMF credential

KMF_ATTRIBUTE

Make sure this is big enough

KMF_KEYSTORE_TYPE

Keystore type, such as KMF_KEYSTORE_PK11TOKEN

KMF_KEY_ALG

Key type, such as KMF_RSA

KMF_X509_CERTIFICATE

Data record that gets signed

KMF_X509_NAME

Distinguished name record

KMF_DATA

Final certificate data record

KMF_BIGINT

Variable length integer