Home Reference Source
public class | source

MemoryCryptoEngine

Extends:

KeyStoreCryptoEngine → MemoryCryptoEngine

Static Method Summary

Static Public Methods
public static

Gets the currently active memberId.

Constructor Summary

Public Constructor
public

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 getActiveMemberId(): string source

Gets the currently active memberId. This allows login without caching memberId somewhere

Return:

string

memberId - active memberId

Public Constructors

public constructor() source

Override:

KeyStoreCryptoEngine#constructor