mongoc_client_encryption_opts_set_key_expiration

Synopsis

void
mongoc_client_encryption_opts_set_key_expiration (
   mongoc_client_encryption_opts_t *opts, uint64_t cache_expiration_ms);

Parameters

See also:

mongoc_client_encryption_new() <>
In-Use Encryption <https://www.mongodb.com/docs/languages/c/c-driver/current/libmongoc/guides/in-use-encryption/>

Author

MongoDB, Inc

Info

Jan 27, 2026 1.30.6 libmongoc