NDNts
Preparing search index...
@ndn/keychain
CertStore
Class CertStore
KV store of certificates.
Hierarchy
StoreBase
<
StoredCert
>
CertStore
Index
Constructors
constructor
Accessors
can
S
Clone
Methods
buffer
To
Storable
erase
get
get
Value
insert
insert
Value
list
Constructors
constructor
new
CertStore
(
provider
:
StoreProvider
<
StoredCert
>
)
:
CertStore
Parameters
provider
:
StoreProvider
<
StoredCert
>
Returns
CertStore
Accessors
can
S
Clone
get
canSClone
()
:
boolean
Returns
boolean
Methods
Protected
buffer
To
Storable
bufferToStorable
(
input
:
string
|
Uint8Array
<
ArrayBufferLike
>
,
)
:
string
|
Uint8Array
<
ArrayBufferLike
>
Parameters
input
:
string
|
Uint8Array
<
ArrayBufferLike
>
Returns
string
|
Uint8Array
<
ArrayBufferLike
>
erase
erase
(
name
:
Name
)
:
Promise
<
void
>
Erase item by name.
Parameters
name
:
Name
Returns
Promise
<
void
>
get
get
(
name
:
Name
)
:
Promise
<
Certificate
>
Parameters
name
:
Name
Returns
Promise
<
Certificate
>
Protected
get
Value
getValue
(
name
:
Name
)
:
Promise
<
StoredCert
>
Parameters
name
:
Name
Returns
Promise
<
StoredCert
>
insert
insert
(
cert
:
Certificate
)
:
Promise
<
void
>
Parameters
cert
:
Certificate
Returns
Promise
<
void
>
Protected
insert
Value
insertValue
(
name
:
Name
,
value
:
StoredCert
)
:
Promise
<
void
>
Parameters
name
:
Name
value
:
StoredCert
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
can
S
Clone
Methods
buffer
To
Storable
erase
get
get
Value
insert
insert
Value
list
NDNts
Loading...
KV store of certificates.