Search
Preparing search index...
The search index is not available
mongodb
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
mongodb
AutoEncrypter
Interface AutoEncrypter
Hierarchy
AutoEncrypter
Index
Constructors
constructor
Properties
csfle
Version
Info
Methods
decrypt
encrypt
init
teardown
Constructors
constructor
new
Auto
Encrypter
(
client
:
MongoClient
, options
:
AutoEncryptionOptions
)
:
AutoEncrypter
Parameters
client:
MongoClient
options:
AutoEncryptionOptions
Returns
AutoEncrypter
Properties
Readonly
csfle
Version
Info
csfle
Version
Info
:
null
|
{
version
:
bigint
;
versionStr
:
string
}
Methods
decrypt
decrypt
(
cmd
:
Document
, options
:
any
, callback
:
Callback
<
Document
>
)
:
void
Parameters
cmd:
Document
options:
any
callback:
Callback
<
Document
>
Returns
void
encrypt
encrypt
(
ns
:
string
, cmd
:
Document
, options
:
any
, callback
:
Callback
<
Document
>
)
:
void
Parameters
ns:
string
cmd:
Document
options:
any
callback:
Callback
<
Document
>
Returns
void
init
init
(
cb
:
Callback
<
any
>
)
:
void
Parameters
cb:
Callback
<
any
>
Returns
void
teardown
teardown
(
force
:
boolean
, callback
:
Callback
<
any
>
)
:
void
Parameters
force:
boolean
callback:
Callback
<
any
>
Returns
void
Exports
Auto
Encrypter
constructor
csfle
Version
Info
decrypt
encrypt
init
teardown
Generated using
TypeDoc