Methods
exists
exists( name: string ) : Promise < boolean >
Parameters
Returns Promise < boolean >
True if key data exist, otherwise false.
load
load( name: string ) : Promise < string | null >
Parameters
Returns Promise < string | null >
Private key data as a string,
or null if there is no data for the given name.
remove
remove( name: string ) : Promise < boolean >
Parameters
Returns Promise < boolean >
True if the key has been removed, otherwise false.
save
save( name: string , data: string ) : Promise < void >
Parameters
name: string
data: string
Returns Promise < void >
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Class representing a storage container for private key data. Use this class if you need to load the keys stored with version 4.x of this library. For new code, use the PrivateKeyStorage instead.
since version 5.0