Static Method Summary
Static Public Methods | ||
public static |
fromEncrypted(buf: SerialBuffer, key: Uint8Array): Promise<PrivateKey|Entropy> |
Constructor Summary
Public Constructor | ||
public |
constructor(type: Secret.Type, purposeId: number) |
Member Summary
Public Members | ||
public get |
encryptedSize: number |
|
public get |
type: Secret.Type |
Method Summary
Public Methods | ||
public |
async exportEncrypted(key: Uint8Array): Promise<SerialBuffer> |
Inherited Summary
From class Serializable | ||
public |
compare(o: Serializable): number |
|
public |
equals(o: Serializable): boolean |
|
public |
hashCode(): * |
|
public abstract |
serialize(buf: SerialBuffer) |
|
public |
toBase64(): string |
|
public |
toHex(): string |
|
public |
toString(): string |
Static Public Methods
public static fromEncrypted(buf: SerialBuffer, key: Uint8Array): Promise<PrivateKey|Entropy> source
Params:
Name | Type | Attribute | Description |
buf | SerialBuffer | ||
key | Uint8Array |
Public Constructors
public constructor(type: Secret.Type, purposeId: number) source
Params:
Name | Type | Attribute | Description |
type | Secret.Type | ||
purposeId | number |
Public Methods
public async exportEncrypted(key: Uint8Array): Promise<SerialBuffer> source
Params:
Name | Type | Attribute | Description |
key | Uint8Array |