Function mongocrypt_sys::mongocrypt_ctx_datakey_init
source ยท pub unsafe extern "C" fn mongocrypt_ctx_datakey_init(
ctx: *mut mongocrypt_ctx_t,
) -> bool
Expand description
Initialize a context to create a data key.
Associated options:
- @ref mongocrypt_ctx_setopt_masterkey_aws
- @ref mongocrypt_ctx_setopt_masterkey_aws_endpoint
- @ref mongocrypt_ctx_setopt_masterkey_local
@param[in] ctx The @ref mongocrypt_ctx_t object. @returns A boolean indicating success. If false, an error status is set. Retrieve it with @ref mongocrypt_ctx_status @pre A master key option has been set, and an associated KMS provider has been set on the parent @ref mongocrypt_t.