Class: Mongo::Crypt::ExplicitEncryptionContext Private
- Defined in:
- build/ruby-driver-v2.19/lib/mongo/crypt/explicit_encryption_context.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A Context object initialized for explicit encryption
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Context
Instance Method Summary collapse
- #init(doc) ⇒ Object private
-
#initialize(mongocrypt, io, doc, options = {}) ⇒ ExplicitEncryptionContext
constructor
private
Create a new ExplicitEncryptionContext object.
Methods inherited from Context
Constructor Details
#initialize(mongocrypt, io, doc, options = {}) ⇒ ExplicitEncryptionContext
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:
The RangePreview algorithm is experimental only. It is not intended for
Create a new ExplicitEncryptionContext object
public use.
66 67 68 69 70 71 |
# File 'build/ruby-driver-v2.19/lib/mongo/crypt/explicit_encryption_context.rb', line 66 def initialize(mongocrypt, io, doc, = {}) super(mongocrypt, io) set_key_opts() set_algorithm_opts() init(doc) end |
Instance Method Details
#init(doc) ⇒ Object
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.
73 74 75 |
# File 'build/ruby-driver-v2.19/lib/mongo/crypt/explicit_encryption_context.rb', line 73 def init(doc) Binding.ctx_explicit_encrypt_init(self, doc) end |