pub unsafe extern "C" fn mongocrypt_setopt_crypto_hook_sign_rsaes_pkcs1_v1_5(
    crypt: *mut mongocrypt_t,
    sign_rsaes_pkcs1_v1_5: mongocrypt_hmac_fn,
    sign_ctx: *mut c_void,
) -> bool
Expand description

Set a crypto hook for the RSASSA-PKCS1-v1_5 algorithm with a SHA-256 hash.

See: https://tools.ietf.org/html/rfc3447#section-8.2

Note: this function has the wrong name. It should be: mongocrypt_setopt_crypto_hook_sign_rsassa_pkcs1_v1_5

@param[in] crypt The @ref mongocrypt_t object. @param[in] sign_rsaes_pkcs1_v1_5 The crypto callback function. @param[in] sign_ctx A context passed as an argument to the crypto callback every invocation. @pre @ref mongocrypt_init has not been called on @p crypt. @returns A boolean indicating success. If false, an error status is set. Retrieve it with @ref mongocrypt_status