pub unsafe extern "C" fn mongocrypt_ctx_rewrap_many_datakey_init(
    ctx: *mut mongocrypt_ctx_t,
    filter: *mut mongocrypt_binary_t,
) -> bool
Expand description

@brief Initialize a context to rewrap datakeys.

Associated options:

  • @ref mongocrypt_ctx_setopt_key_encryption_key

@param[in] ctx The @ref mongocrypt_ctx_t object. @param[in] filter The filter to use for the find command on the key vault collection to retrieve datakeys to rewrap. @return A boolean indicating success. If false, an error status is set. Retrieve it with @ref mongocrypt_ctx_status.