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
KeyStore
(
provider
:
StoreProvider
<
StoredKey
>
,
algoList
:
readonly
CryptoAlgorithm
[]
,
)
:
KeyStore
Parameters
provider
:
StoreProvider
<
StoredKey
>
algoList
:
readonly
CryptoAlgorithm
[]
Returns
KeyStore
Accessors
canSClone
get
canSClone
()
:
boolean
Returns
boolean
Methods
Protected
buffer
To
Storable
bufferToStorable
(
input
:
string
|
Uint8Array
)
:
string
|
Uint8Array
Parameters
input
:
string
|
Uint8Array
Returns
string
|
Uint8Array
erase
erase
(
name
:
Name
)
:
Promise
<
void
>
Erase item by name.
Parameters
name
:
Name
Returns
Promise
<
void
>
get
get
(
name
:
Name
)
:
Promise
<
KeyStore
.
KeyPair
>
Parameters
name
:
Name
Returns
Promise
<
KeyStore
.
KeyPair
>
Protected
get
Value
getValue
(
name
:
Name
)
:
Promise
<
StoredKey
>
Parameters
name
:
Name
Returns
Promise
<
StoredKey
>
insert
insert
(
name
:
Name
,
stored
:
StoredKey
)
:
Promise
<
void
>
Parameters
name
:
Name
stored
:
StoredKey
Returns
Promise
<
void
>
Protected
insert
Value
insertValue
(
name
:
Name
,
value
:
StoredKey
)
:
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.