WebCrypto GOST Class: SignalComKeyContainer

GostKeys. SignalComKeyContainer

Constructor

new SignalComKeyContainer(container)

A class for password-encrypted private keys in SignalCom container

The container file list:
  • mk.db3 - master key data
  • masks.db3 - encrypted or decrypted masks
  • kek.opq - wrapped key encryption key
  • rand.opq - wrapped random data
Parameters:
Name Type Description
container SignalComKeyContainer
Source:

Methods

generateContainer(keyPassword) → {Promise}

Generate encryption key and container files
Parameters:
Name Type Description
keyPassword string
Source:
Returns:
Promise to return Key
Type
Promise

getEncryptionKey(keyPassword) → {Promise}

Get password-based encryption key
Parameters:
Name Type Description
keyPassword string
Source:
Returns:
Promise to return Key
Type
Promise