Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VirgilEncryptDown<K>

Type parameters

  • K

Hierarchy

Indexable

[k: string]: any

Index

Constructors

constructor

Properties

crypto

crypto: ICrypto

db

Optional keyPair

keyPair: IKeyPair

Static AbstractLevelDOWN

AbstractLevelDOWN: AbstractLevelDOWNConstructor

Methods

_batch

  • _batch(ops: ReadonlyArray<AbstractBatch<K, ValueType>>, options: AbstractOptions, callback: ErrorCallback): Timeout

_clear

  • _clear(options: AbstractOptions, callback: ErrorCallback): void

_close

  • _close(callback: ErrorCallback): void

_del

  • _del(key: K, options: AbstractOptions, callback: ErrorCallback): void

_get

  • _get(key: K, options: AbstractGetOptions, callback: ErrorValueCallback<ValueType>): void

_iterator

_open

  • _open(options: AbstractOpenOptions, callback: ErrorCallback): void

_put

  • _put(key: K, value: ValueType, options: AbstractOptions, callback: ErrorCallback): 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

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

get

  • get(key: K, cb: ErrorValueCallback<ValueType>): void
  • get(key: K, options: AbstractGetOptions, cb: ErrorValueCallback<ValueType>): void
  • Parameters

    Returns void

  • Parameters

    • key: K
    • options: AbstractGetOptions
    • cb: ErrorValueCallback<ValueType>

    Returns void

iterator

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

    Returns void

  • Parameters

    • key: K
    • value: ValueType
    • options: AbstractOptions
    • cb: ErrorCallback

    Returns void

setKeyPair

  • setKeyPair(keyPair: IKeyPair): void

Generated using TypeDoc