Platform SDK: Cryptography |
Key generation and exchange functions exchange keys with other users and create, configure, and destroy cryptographic keys. The following table briefly describes each function.
Function | Description |
---|---|
CPDeriveKey | Creates a key derived from a password. |
CPDestroyKey | Destroys a key. |
CPDuplicateKey | Makes an exact copy of a key, including the state of the key. |
CPExportKey | Transfers a key from the CSP into a key BLOB in the application's memory space. |
CPGenKey | Creates a random key. |
CPGenRandom | Generates random data. |
CPGetKeyParam | Retrieves a key's parameters. |
CPGetUserKey | Gets a handle to the key exchange or signature key. |
CPImportKey | Transfers a key from a key BLOB to a CSP. |
CPSetKeyParam | Specifies a key's parameters. |