Home Reference Source
public class | source

BrowserCryptoEngine

Extends:

KeyStoreCryptoEngine → BrowserCryptoEngine

Static Method Summary

Static Public Methods
public static

async clearAllKeys(): *

public static
public static

setActiveMemberId(memberId: *)

Constructor Summary

Public Constructor
public

constructor(memberId: string)

Constructs the engine, using an existing member/keys if it is in localStorage

Inherited Summary

From class KeyStoreCryptoEngine
private
private
public

async createSigner(level: string): Object

Create a signer.

public

async createVerifier(keyId: string): Object

Create a verifier.

public

async generateKey(level: string, expirationMs: number): Object

Generate a key pair and store it.

Static Public Methods

public static async clearAllKeys(): * source

Return:

*

public static getActiveMemberId(): * source

Return:

*

public static setActiveMemberId(memberId: *) source

Params:

NameTypeAttributeDescription
memberId *

Public Constructors

public constructor(memberId: string) source

Constructs the engine, using an existing member/keys if it is in localStorage

Override:

KeyStoreCryptoEngine#constructor

Params:

NameTypeAttributeDescription
memberId string

memberId of the member we want to create the engine for