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
crypt
Shared
Lib
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
crypt
Shared
Lib
Version
Info
crypt
Shared
Lib
Version
Info
:
null
|
{
version
:
bigint
;
versionStr
:
string
}
experimental
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
crypt
Shared
Lib
Version
Info
decrypt
encrypt
init
teardown
Generated using
TypeDoc