123456789_123456789_123456789_123456789_123456789_

Class: Mongo::Crypt::ExplicitEncryptionExpressionContext Private

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, ExplicitEncryptionContext, Context, Forwardable
Instance Chain:
Inherits: Mongo::Crypt::ExplicitEncryptionContext
Defined in: lib/mongo/crypt/explicit_encryption_expression_context.rb

Overview

A Context object initialized for explicit expression encryption.

Class Method Summary

ExplicitEncryptionContext - Inherited

.new

Create a new ExplicitEncryptionContext object.

Context - Inherited

.new

Create a new Context object.

Instance Attribute Summary

Context - Inherited

Instance Method Summary

ExplicitEncryptionContext - Inherited

Context - Inherited

#run_state_machine

Runs the mongocrypt_ctx_t state machine and handles all I/O on behalf of.

#state

Returns the state of the mongocrypt_ctx_t.

#azure_access_token

Returns an Azure access token, retrieving it if necessary.

#feed_kms,
#gcp_access_token

Retrieves a GCP access token.

#mongocrypt_done

Indicate that state machine is done feeding I/O responses back to libmongocrypt.

#mongocrypt_feed

Feeds the result of a ::Mongo operation back to libmongocrypt.

#provide_collection_info, #provide_keys, #provide_markings,
#retrieve_kms_credentials

Retrieves KMS credentials for providers that are configured for automatic credentials retrieval.

Instance Method Details

#init(doc)

[ GitHub ]

  
# File 'lib/mongo/crypt/explicit_encryption_expression_context.rb', line 25

def init(doc)
  Binding.ctx_explicit_encrypt_expression_init(self, doc)
end