Method: Mongo::Crypt::Binding.mongocrypt_ctx_setopt_key_material
- Defined in:
- lib/mongo/crypt/binding.rb
.mongocrypt_ctx_setopt_key_material(ctx, binary) ⇒ 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.
Note:
Do not initialize ctx before calling this method.
When creating a data key, set a custom key material to use for
encrypting data.
522 523 524 525 526 |
# File 'lib/mongo/crypt/binding.rb', line 522 attach_function( :mongocrypt_ctx_setopt_key_material, [:pointer, :pointer], :bool ) |