import MemoryCryptoEngine from 'token-io/src/security/engines/MemoryCryptoEngine.js'
MemoryCryptoEngine
Extends:
KeyStoreCryptoEngine → MemoryCryptoEngine
Static Method Summary
Static Public Methods | ||
public static |
Gets the currently active memberId. |
Constructor Summary
Public Constructor | ||
public |
constructor(memberId: *) |
Inherited Summary
From class KeyStoreCryptoEngine | ||
private |
_keystore: * |
|
private |
_memberId: * |
|
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 Constructors
public constructor(memberId: *) source
Override:
KeyStoreCryptoEngine#constructorParams:
Name | Type | Attribute | Description |
memberId | * |