void
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025MONGOC_CLIENT_ENCRYPTION_ENCRYPT_OPTS_SET_KEYID(3)
Parameters
• opts: A mongoc_client_encryption_encrypt_opts_t
• keyid: The UUID (BSON binary subtype 0x04) corresponding to the _id of the data key.
SEEALSO:mongoc_client_encryption_encrypt_opts_set_keyaltname()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().
