Preparing search index...
The search index is not available
NDNts
NDNts
@ndn/keychain
KeyStore
Class KeyStore
KV store of named key pairs.
Hierarchy
StoreBase
<
StoredKey
>
KeyStore
Index
Constructors
constructor
Accessors
canSClone
Methods
buffer
To
Storable
erase
get
get
Value
insert
insert
Value
list
Constructors
constructor
new
Key
Store
(
provider
,
algoList
)
:
KeyStore
Parameters
provider
:
StoreProvider
<
StoredKey
>
algoList
:
readonly
CryptoAlgorithm
<
any
,
any
,
any
>
[]
Returns
KeyStore
Accessors
canSClone
get
canSClone
(
)
:
boolean
Returns
boolean
Methods
Protected
buffer
To
Storable
buffer
To
Storable
(
input
)
:
string
|
Uint8Array
Parameters
input
:
string
|
Uint8Array
Returns
string
|
Uint8Array
erase
erase
(
name
)
:
Promise
<
void
>
Erase item by name.
Parameters
name
:
Name
Returns
Promise
<
void
>
get
get
(
name
)
:
Promise
<
KeyStore
.
KeyPair
<
any
,
any
>
>
Parameters
name
:
Name
Returns
Promise
<
KeyStore
.
KeyPair
<
any
,
any
>
>
Protected
get
Value
get
Value
(
name
)
:
Promise
<
StoredKey
>
Parameters
name
:
Name
Returns
Promise
<
StoredKey
>
insert
insert
(
name
,
stored
)
:
Promise
<
void
>
Parameters
name
:
Name
stored
:
StoredKey
Returns
Promise
<
void
>
Protected
insert
Value
insert
Value
(
name
,
value
)
:
Promise
<
void
>
Parameters
name
:
Name
value
:
StoredKey
Returns
Promise
<
void
>
list
list
(
)
:
Promise
<
Name
[]
>
List item names.
Returns
Promise
<
Name
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
canSClone
Methods
buffer
To
Storable
erase
get
get
Value
insert
insert
Value
list
NDNts
Loading...
KV store of named key pairs.