Search
Preparing search index...
The search index is not available
@virgilsecurity/e3kit-base
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
VirgilEncryptDown
Class VirgilEncryptDown<K>
Type parameters
K
Hierarchy
AbstractLevelDOWN
<
K
,
ValueType
>
VirgilEncryptDown
Indexable
[
k:
string
]:
any
Index
Constructors
constructor
Properties
crypto
db
key
Pair
Abstract
LevelDOWN
Methods
_batch
_clear
_close
_del
_get
_iterator
_open
_put
batch
close
decrypt
del
encrypt
get
iterator
open
put
set
Key
Pair
Constructors
constructor
new
Virgil
Encrypt
Down
(
db
:
AbstractLevelDOWN
<
K
,
ValueType
>
, options
:
VirgilEncryptDownOptions
)
:
VirgilEncryptDown
Parameters
db:
AbstractLevelDOWN
<
K
,
ValueType
>
options:
VirgilEncryptDownOptions
Returns
VirgilEncryptDown
Properties
crypto
crypto
:
ICrypto
db
db
:
AbstractLevelDOWN
Optional
key
Pair
key
Pair
:
IKeyPair
Static
Abstract
LevelDOWN
Abstract
LevelDOWN
:
AbstractLevelDOWNConstructor
Methods
_batch
_batch
(
ops
:
ReadonlyArray
<
AbstractBatch
<
K
,
ValueType
>
>
, options
:
AbstractOptions
, callback
:
ErrorCallback
)
:
Timeout
Parameters
ops:
ReadonlyArray
<
AbstractBatch
<
K
,
ValueType
>
>
options:
AbstractOptions
callback:
ErrorCallback
Returns
Timeout
_clear
_clear
(
options
:
AbstractOptions
, callback
:
ErrorCallback
)
:
void
Parameters
options:
AbstractOptions
callback:
ErrorCallback
Returns
void
_close
_close
(
callback
:
ErrorCallback
)
:
void
Parameters
callback:
ErrorCallback
Returns
void
_del
_del
(
key
:
K
, options
:
AbstractOptions
, callback
:
ErrorCallback
)
:
void
Parameters
key:
K
options:
AbstractOptions
callback:
ErrorCallback
Returns
void
_get
_get
(
key
:
K
, options
:
AbstractGetOptions
, callback
:
ErrorValueCallback
<
ValueType
>
)
:
void
Parameters
key:
K
options:
AbstractGetOptions
callback:
ErrorValueCallback
<
ValueType
>
Returns
void
_iterator
_iterator
(
options
:
AbstractIteratorOptions
<
K
>
)
:
VirgilEncryptDownIterator
<
K
>
Parameters
options:
AbstractIteratorOptions
<
K
>
Returns
VirgilEncryptDownIterator
<
K
>
_open
_open
(
options
:
AbstractOpenOptions
, callback
:
ErrorCallback
)
:
void
Parameters
options:
AbstractOpenOptions
callback:
ErrorCallback
Returns
void
_put
_put
(
key
:
K
, value
:
ValueType
, options
:
AbstractOptions
, callback
:
ErrorCallback
)
:
Timeout
Parameters
key:
K
value:
ValueType
options:
AbstractOptions
callback:
ErrorCallback
Returns
Timeout
batch
batch
(
)
:
AbstractChainedBatch
<
K
,
ValueType
>
batch
(
array
:
ReadonlyArray
<
AbstractBatch
<
K
,
ValueType
>
>
, cb
:
ErrorCallback
)
:
AbstractChainedBatch
<
K
,
ValueType
>
batch
(
array
:
ReadonlyArray
<
AbstractBatch
<
K
,
ValueType
>
>
, options
:
AbstractOptions
, cb
:
ErrorCallback
)
:
AbstractChainedBatch
<
K
,
ValueType
>
Returns
AbstractChainedBatch
<
K
,
ValueType
>
Parameters
array:
ReadonlyArray
<
AbstractBatch
<
K
,
ValueType
>
>
cb:
ErrorCallback
Returns
AbstractChainedBatch
<
K
,
ValueType
>
Parameters
array:
ReadonlyArray
<
AbstractBatch
<
K
,
ValueType
>
>
options:
AbstractOptions
cb:
ErrorCallback
Returns
AbstractChainedBatch
<
K
,
ValueType
>
close
close
(
cb
:
ErrorCallback
)
:
void
Parameters
cb:
ErrorCallback
Returns
void
decrypt
decrypt
(
encryptedValue
:
ValueType
)
:
Buffer
Parameters
encryptedValue:
ValueType
Returns
Buffer
del
del
(
key
:
K
, cb
:
ErrorCallback
)
:
void
del
(
key
:
K
, options
:
AbstractOptions
, cb
:
ErrorCallback
)
:
void
Parameters
key:
K
cb:
ErrorCallback
Returns
void
Parameters
key:
K
options:
AbstractOptions
cb:
ErrorCallback
Returns
void
encrypt
encrypt
(
value
:
ValueType
)
:
Buffer
Parameters
value:
ValueType
Returns
Buffer
get
get
(
key
:
K
, cb
:
ErrorValueCallback
<
ValueType
>
)
:
void
get
(
key
:
K
, options
:
AbstractGetOptions
, cb
:
ErrorValueCallback
<
ValueType
>
)
:
void
Parameters
key:
K
cb:
ErrorValueCallback
<
ValueType
>
Returns
void
Parameters
key:
K
options:
AbstractGetOptions
cb:
ErrorValueCallback
<
ValueType
>
Returns
void
iterator
iterator
(
options
?:
AbstractIteratorOptions
<
K
>
)
:
AbstractIterator
<
K
,
ValueType
>
Parameters
Optional
options:
AbstractIteratorOptions
<
K
>
Returns
AbstractIterator
<
K
,
ValueType
>
open
open
(
cb
:
ErrorCallback
)
:
void
open
(
options
:
AbstractOpenOptions
, cb
:
ErrorCallback
)
:
void
Parameters
cb:
ErrorCallback
Returns
void
Parameters
options:
AbstractOpenOptions
cb:
ErrorCallback
Returns
void
put
put
(
key
:
K
, value
:
ValueType
, cb
:
ErrorCallback
)
:
void
put
(
key
:
K
, value
:
ValueType
, options
:
AbstractOptions
, cb
:
ErrorCallback
)
:
void
Parameters
key:
K
value:
ValueType
cb:
ErrorCallback
Returns
void
Parameters
key:
K
value:
ValueType
options:
AbstractOptions
cb:
ErrorCallback
Returns
void
set
Key
Pair
set
Key
Pair
(
keyPair
:
IKeyPair
)
:
void
Parameters
keyPair:
IKeyPair
Returns
void
Globals
Virgil
Encrypt
Down
constructor
crypto
db
key
Pair
Abstract
LevelDOWN
_batch
_clear
_close
_del
_get
_iterator
_open
_put
batch
close
decrypt
del
encrypt
get
iterator
open
put
set
Key
Pair
Generated using
TypeDoc