mongoc_client_encryption_datakey_opts_set_keymaterial3
Usage
void mongoc_client_encryption_datakey_opts_set_keymaterial ( mongoc_client_encryption_datakey_opts_t *opts, const uint8_t *data, uint32_t len);
Sets the custom key material to be used by the data key for encryption and decryption.
Parameters
•
|
|
|---|---|
•
|
|
•
|
|
Overview
Key material is used to encrypt and decrypt data. If custom key material is not provided, the key material for the new data key is generated from a cryptographically secure random device.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.