Method: Mongo::Crypt::Binding.mongocrypt_kms_ctx_done

Defined in:
lib/mongo/crypt/binding.rb

.mongocrypt_kms_ctx_done(ctx) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Indicate to libmongocrypt that it will receive no more replies from

mongocrypt_kms_ctx_t objects.

Parameters:

  • ctx (FFI::Pointer)

    A pointer to a mongocrypt_ctx_t object.

Returns:

  • (Boolean)

    Whether the operation was successful.



1179
# File 'lib/mongo/crypt/binding.rb', line 1179

attach_function :mongocrypt_ctx_kms_done, [:pointer], :bool