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

NAME

6       mongoc_client_encryption_datakey_opts_set_keymaterial       -      mon‐
7       goc_client_encryption_datakey_opts_set_keymaterial()
8

SYNOPSIS

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

PARAMETERS

20opts: A mongoc_client_encryption_datakey_opts_t
21
22data: A pointer to the bytes constituting the custom key material.
23
24len: The length of the bytes constituting the custom key material.
25

DESCRIPTION

27       Key  material  is used to encrypt and decrypt data. If custom key mate‐
28       rial is not provided, the key material for the new data key  is  gener‐
29       ated from a cryptographically secure random device.
30

AUTHOR

32       MongoDB, Inc
33
35       2017-present, MongoDB, Inc
36
37
38
39
401.24.3                MONGOC_CLIEANuTg_E1N7C,RY2P0T2I3ON_DATAKEY_OPTS_SET_KEYMATERIAL(3)
Impressum