Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace keystore

Index

Functions

Const clear

  • clear(): Promise<void>

Const create

  • create(): Promise<RSAKeyStore>

Const decrypt

  • decrypt(encrypted: Uint8Array, keyStr: string): Promise<Uint8Array>
  • Parameters

    • encrypted: Uint8Array
    • keyStr: string

    Returns Promise<Uint8Array>

Const encrypt

  • encrypt(data: Uint8Array, keyStr: string): Promise<Uint8Array>
  • Parameters

    • data: Uint8Array
    • keyStr: string

    Returns Promise<Uint8Array>

Const genKeyStr

  • genKeyStr(): Promise<string>

Const get

  • get(): Promise<RSAKeyStore>

Const getKeyByName

  • getKeyByName(keyName: string): Promise<string>

Const set

  • set(userKeystore: RSAKeyStore): Promise<void>

Const sha256

  • sha256(buf: ArrayBuffer): Promise<ArrayBuffer>

Const sha256Str

  • sha256Str(str: string): Promise<string>

Generated using TypeDoc