import MemoryCryptoEngine from '@token-io/core/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 | ||
public static |
|
|
private |
|
|
private |
|
|
private |
|
|
public |
async createSigner(level: KeyLevel): Object Creates a signer. |
|
public |
async createVerifier(keyId: string): Object Creates a verifier. |
|
public |
async generateKey(level: KeyLevel, expirationMs: number | string): Object Generates a key pair and store it. |
Static Public Methods
Public Constructors
public constructor(memberId: *) source
Override:
KeyStoreCryptoEngine#constructorParams:
Name | Type | Attribute | Description |
memberId | * |