pub unsafe extern "C" fn mongocrypt_kms_ctx_get_kms_provider(
    kms: *mut mongocrypt_kms_ctx_t,
    len: *mut u32,
) -> *const c_char
Expand description

Get the KMS provider identifier associated with this KMS request.

This is used to conditionally configure TLS connections based on the KMS request. It is useful for KMIP, which authenticates with a client certificate.

@param[in] kms The @ref mongocrypt_kms_ctx_t object. @param[out] len Receives the length of the returned string. It may be NULL. If it is not NULL, it is set to the length of the returned string without the NULL terminator.

@returns One of the NULL terminated static strings: “aws”, “azure”, “gcp”, or “kmip”.