The functions described in this section are used by applications to create, configure, and destroy cryptographic keys, and to exchange them with other users. The following table briefly describes each function.
Function | Description |
---|---|
CryptDestroyKey | Destroy a key. |
CryptExportKey | Transfer a key from the CSP into a key blob in the application's memory space. |
CryptGenRandom | Generate random data. |
CryptGetKeyParam | Retrieve a key's parameters. |
CryptGetUserKey | Get a handle to the key exchange or signature key. |
CryptImportKey | Transfer a key from a key blob to a CSP. |
CryptSetKeyParam | Specify a key's parameters. |