123456789_123456789_123456789_123456789_123456789_

Class: Mongo::Crypt::KMS::MasterKeyDocument Private

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: lib/mongo/crypt/kms/master_key_document.rb

Overview

::Mongo::Crypt::KMS master key document object contains ::Mongo::Crypt::KMS master key parameters that are used for creation of data keys.

Constant Summary

Class Method Summary

Instance Method Summary

Instance Method Details

#to_documentBSON::Document

Convert master key document object to a BSON document in libmongocrypt format.

Returns:

  • (BSON::Document)

    Master key document as BSON document.

[ GitHub ]

  
# File 'lib/mongo/crypt/kms/master_key_document.rb', line 59

def to_document
  @key_document.to_document
end