Scroll to navigation

MONGOC_CLIENT_ENCRYPTION_ENCRYPT_OPTS_SET_KEYID(3) libmongoc MONGOC_CLIENT_ENCRYPTION_ENCRYPT_OPTS_SET_KEYID(3)

NAME

mongoc_client_encryption_encrypt_opts_set_keyid - mongoc_client_encryption_encrypt_opts_set_keyid()

SYNOPSIS

void
mongoc_client_encryption_encrypt_opts_set_keyid (

mongoc_client_encryption_encrypt_opts_t *opts, const bson_value_t *keyid);


Identifies the data key to use for encryption. This option is mutually exclusive with mongoc_client_encryption_encrypt_opts_set_keyaltname().

PARAMETERS

  • opts: A mongoc_client_encryption_encrypt_opts_t
  • keyid: A UUID (BSON binary with subtype 4) corresponding to the _id of the data key.

SEE ALSO

mongoc_client_encryption_encrypt_opts_set_keyaltname

AUTHOR

MongoDB, Inc

COPYRIGHT

2017-present, MongoDB, Inc

June 4, 2021 1.17.6