123456789_123456789_123456789_123456789_123456789_

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

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

Overview

::Mongo::Crypt::KMS::Local KMS master key document object contains ::Mongo::Crypt::KMS master key parameters.

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:

[ GitHub ]

  
# File 'lib/mongo/crypt/kms/local/master_document.rb', line 35

def to_document
  BSON::Document.new({ provider: "local" })
end