Class: Mongo::Crypt::ExplicitEncryptionContext Private
- Defined in:
- 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 Range algorithm is experimental only. It is not intended for
Create a new ExplicitEncryptionContext object
public use.
67 68 69 70 71 72 |
# File 'lib/mongo/crypt/explicit_encryption_context.rb', line 67 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.
74 75 76 |
# File 'lib/mongo/crypt/explicit_encryption_context.rb', line 74 def init(doc) Binding.ctx_explicit_encrypt_init(self, doc) end |