/**
|
* Feed bytes from the HTTP response.
|
*
|
* Feeding more bytes than what has been returned in @ref
|
* mongocrypt_kms_ctx_bytes_needed is an error.
|
*
|
* @param[in] kms The @ref mongocrypt_kms_ctx_t.
|
* @param[in] bytes The bytes to feed. The viewed data is copied. It is valid to
|
* destroy @p bytes with @ref mongocrypt_binary_destroy immediately after.
|
* @returns A boolean indicating success. If false, an error status is set.
|
* Retrieve it with @ref mongocrypt_kms_ctx_status
|
*/
|
MONGOCRYPT_EXPORT
|
bool
|
mongocrypt_kms_ctx_feed (mongocrypt_kms_ctx_t *kms, mongocrypt_binary_t *bytes);
|