Table 2 Functions supported by HPUX-KCM (continued)
Category | Function | Description |
| C_Encrypt | Encrypts |
| C_EncryptUpdate | Continues a |
|
| operation |
| C_EncryptFinal | Finishes a |
|
| operation |
Decryption functions | C_DecryptInit | Initializes a decryption operation |
| C_Decrypt | Decrypts |
| C_DecryptUpdate | Continues a |
|
| operation |
| C_DecryptFinal | Finishes a |
|
| operation |
Message digesting functions | C_DigestInit | Initializes a |
| C_Digest | Digests |
| C_DigestUpdate | Continues a |
|
| operation |
| C_DigestFinal | Finishes a |
|
| operation |
Signing and MACing functions | C_SignInit | Initializes a signature operation |
| C_Sign | Signs |
| C_SignUpdate | Continues a |
|
| operation |
| C_SignFinal | Finishes a |
|
| operation |
Functions for verifying | C_VerifyInit | Initializes a verification operation |
signatures and MACs | C_Verify | Verifies a signature on |
| ||
| C_VerifyUpdate | Continues a |
|
| operation |
| C_VerifyFinal | Finishes a |
|
| operation |
Key management functions | C_GenerateKey | Generates a secret key |
| C_GenerateKeyPair | Generates a |
| C_WrapKey | Wraps (encrypts) a key |
| C_UnwrapKey | Unwraps (decrypts) a key |
Random number generation | C_GenerateRandom | Generates random data |
functions |
|
|
For more information on APIs, see PKCS#11 specifications document. Example usage of
//pkcs11 header files #include "pkcs11_kcm.h" #include "pkcs11.h"
//Initialize the module. Required only once during lifetime of the application CK_RV rv = C_Initialize( NULL_PTR );
PKCS #11 API considerations | 7 |