1MONGOC_CLIENT_ENCRYPTIOMNO_NDGAOTCA_KCELYI_EONPTTl_SiE_bNSmCEoRTnY_gPKoTEcIYOMNA_TDEARTIAAKLE(Y3_)OPTS_SET_KEYMATERIAL(3)
2
3
4

SYNOPSIS

6          void
7          mongoc_client_encryption_datakey_opts_set_keymaterial (
8             mongoc_client_encryption_datakey_opts_t *opts,
9             const uint8_t *data,
10             uint32_t len);
11
12       Sets  the custom key material to be used by the data key for encryption
13       and decryption.
14

PARAMETERS

16opts: A mongoc_client_encryption_datakey_opts_t
17
18data: A pointer to the bytes constituting the custom key material.
19
20len: The length of the bytes constituting the custom key material.
21

DESCRIPTION

23       Key material is used to encrypt and decrypt data. If custom  key  mate‐
24       rial  is  not provided, the key material for the new data key is gener‐
25       ated from a cryptographically secure random device.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.25.1                MONGOC_CLIENNoTv_E0N8C,RY2P0T2I3ON_DATAKEY_OPTS_SET_KEYMATERIAL(3)
Impressum