Preparing search index...
The search index is not available
webcrypto-local
webcrypto-local
client/src
CertificateStorage
Class CertificateStorage
Hierarchy
CertificateStorage
Implements
CryptoCertificateStorage
Index
Constructors
constructor
Properties
provider
Methods
clear
export
Cert
find
Private
Key
getCRL
get
Chain
get
Item
getOCSP
get
Value
has
Item
import
Cert
index
Of
keys
prepare
Cert
Item
remove
Item
set
Item
is
Certificate
Request
is
X509
Certificate
Constructors
constructor
new
Certificate
Storage
(
provider
:
SocketCrypto
)
:
CertificateStorage
Parameters
provider:
SocketCrypto
Returns
CertificateStorage
Properties
Protected
Readonly
provider
provider
:
SocketCrypto
Methods
clear
clear
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
export
Cert
export
Cert
(
format
:
"raw"
, item
:
CryptoCertificate
)
:
Promise
<
ArrayBuffer
>
Parameters
format:
"raw"
item:
CryptoCertificate
Returns
Promise
<
ArrayBuffer
>
export
Cert
(
format
:
"pem"
, item
:
CryptoCertificate
)
:
Promise
<
string
>
Parameters
format:
"pem"
item:
CryptoCertificate
Returns
Promise
<
string
>
export
Cert
(
format
:
CryptoCertificateFormat
, item
:
CryptoCertificate
)
:
Promise
<
string
|
ArrayBuffer
>
Parameters
format:
CryptoCertificateFormat
item:
CryptoCertificate
Returns
Promise
<
string
|
ArrayBuffer
>
find
Private
Key
find
Private
Key
(
item
:
string
|
CryptoCertificate
)
:
Promise
<
null
|
CryptoKey
>
Parameters
item:
string
|
CryptoCertificate
Returns
Promise
<
null
|
CryptoKey
>
getCRL
getCRL
(
url
:
string
)
:
Promise
<
ArrayBuffer
>
Parameters
url:
string
Returns
Promise
<
ArrayBuffer
>
get
Chain
get
Chain
(
value
:
CryptoCertificate
)
:
Promise
<
ChainItemProto
[]
>
Parameters
value:
CryptoCertificate
Returns
Promise
<
ChainItemProto
[]
>
get
Item
get
Item
(
key
:
string
)
:
Promise
<
CryptoCertificate
>
Parameters
key:
string
Returns
Promise
<
CryptoCertificate
>
get
Item
(
key
:
string
, algorithm
:
Algorithm
, keyUsages
:
KeyUsage
[]
)
:
Promise
<
CryptoCertificate
>
Parameters
key:
string
algorithm:
Algorithm
keyUsages:
KeyUsage
[]
Returns
Promise
<
CryptoCertificate
>
getOCSP
getOCSP
(
url
:
string
, request
:
BufferSource
, options
?:
OCSPRequestOptions
)
:
Promise
<
ArrayBuffer
>
Parameters
url:
string
request:
BufferSource
Optional
options:
OCSPRequestOptions
Returns
Promise
<
ArrayBuffer
>
get
Value
get
Value
(
key
:
string
)
:
Promise
<
null
|
ArrayBuffer
>
Parameters
key:
string
Returns
Promise
<
null
|
ArrayBuffer
>
has
Item
has
Item
(
item
:
CryptoCertificate
)
:
Promise
<
boolean
>
Parameters
item:
CryptoCertificate
Returns
Promise
<
boolean
>
import
Cert
import
Cert
(
format
:
"x509"
, data
:
BufferSource
, algorithm
:
ImportAlgorithms
, keyUsages
:
KeyUsage
[]
)
:
Promise
<
CryptoX509Certificate
>
Parameters
format:
"x509"
data:
BufferSource
algorithm:
ImportAlgorithms
keyUsages:
KeyUsage
[]
Returns
Promise
<
CryptoX509Certificate
>
import
Cert
(
format
:
"request"
, data
:
BufferSource
, algorithm
:
ImportAlgorithms
, keyUsages
:
KeyUsage
[]
)
:
Promise
<
CryptoX509CertificateRequest
>
Parameters
format:
"request"
data:
BufferSource
algorithm:
ImportAlgorithms
keyUsages:
KeyUsage
[]
Returns
Promise
<
CryptoX509CertificateRequest
>
import
Cert
(
format
:
"x509"
|
"request"
|
"raw"
, data
:
BufferSource
, algorithm
:
ImportAlgorithms
, keyUsages
:
KeyUsage
[]
)
:
Promise
<
CryptoCertificate
>
Parameters
format:
"x509"
|
"request"
|
"raw"
data:
BufferSource
algorithm:
ImportAlgorithms
keyUsages:
KeyUsage
[]
Returns
Promise
<
CryptoCertificate
>
import
Cert
(
format
:
"pem"
, data
:
string
, algorithm
:
ImportAlgorithms
, keyUsages
:
KeyUsage
[]
)
:
Promise
<
CryptoCertificate
>
Parameters
format:
"pem"
data:
string
algorithm:
ImportAlgorithms
keyUsages:
KeyUsage
[]
Returns
Promise
<
CryptoCertificate
>
import
Cert
(
format
:
"x509"
|
"request"
|
CryptoCertificateFormat
, data
:
string
|
BufferSource
, algorithm
:
ImportAlgorithms
, keyUsages
:
KeyUsage
[]
)
:
Promise
<
CryptoCertificate
>
Parameters
format:
"x509"
|
"request"
|
CryptoCertificateFormat
data:
string
|
BufferSource
algorithm:
ImportAlgorithms
keyUsages:
KeyUsage
[]
Returns
Promise
<
CryptoCertificate
>
index
Of
index
Of
(
item
:
CryptoCertificate
)
:
Promise
<
null
|
string
>
Parameters
item:
CryptoCertificate
Returns
Promise
<
null
|
string
>
keys
keys
(
)
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
Protected
prepare
Cert
Item
prepare
Cert
Item
(
item
:
CryptoCertificateProto
)
:
Promise
<
CryptoCertificateProto
>
Parameters
item:
CryptoCertificateProto
Returns
Promise
<
CryptoCertificateProto
>
remove
Item
remove
Item
(
key
:
string
)
:
Promise
<
void
>
Parameters
key:
string
Returns
Promise
<
void
>
set
Item
set
Item
(
value
:
CryptoCertificate
)
:
Promise
<
string
>
Parameters
value:
CryptoCertificate
Returns
Promise
<
string
>
Static
is
Certificate
Request
is
Certificate
Request
(
data
:
any
)
:
data
is
CryptoX509CertificateRequestProto
Parameters
data:
any
Returns
data
is
CryptoX509CertificateRequestProto
Static
is
X509
Certificate
is
X509
Certificate
(
data
:
any
)
:
data
is
CryptoX509CertificateProto
Parameters
data:
any
Returns
data
is
CryptoX509CertificateProto
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
provider
clear
export
Cert
find
Private
Key
getCRL
get
Chain
get
Item
getOCSP
get
Value
has
Item
import
Cert
index
Of
keys
prepare
Cert
Item
remove
Item
set
Item
is
Certificate
Request
is
X509
Certificate
webcrypto-
local
cards/src
Config
Attr
Enum
Config
Key
Usages
Enum
Config
Token
Enum
Card
Cards
Config
Driver
File
Template
Attribute
Config
Template
Config
Template
Key
Config
Template
Private
Attribute
Config
Template
Type
Config
Variables
Any
Function
File
Architecture
FileOS
client/src
Browser
Storage
Certificate
Storage
Crypto
Server
Error
Key
Storage
Memory
Storage
Ratchet
Storage
Socket
Crypto
Socket
Provider
core/src
Event
Event
Log
Emitter
Assoc
Crypto
Service
Crypto
Service
Algorithm
Crypto
Service
Ec
Algorithm
Crypto
Service
Ecdh
Algorithm
Crypto
Service
Policy
Crypto
Service
Rsa
Algorithm
Crypto
Service
Secret
Algorithm
IModule
Log
Data
Provider
Crypto
Server
Info
Token
Info
Token
Info
Event
Version
Log
Handler
Log
Level
SERVER_
WELL_
KNOWN
challenge
proto/src
Action
Proto
Algorithm
Converter
Algorithm
Proto
Array
String
Converter
Auth
Request
Proto
Base
Algorithm
Proto
Base
Proto
Big
Number
Converter
Card
Reader
Action
Proto
Card
Reader
Get
Readers
Action
Proto
Card
Reader
Insert
Event
Proto
Card
Reader
Remove
Event
Proto
Certificate
Storage
Clear
Action
Proto
Certificate
Storage
Export
Action
Proto
Certificate
Storage
GetCRLAction
Proto
Certificate
Storage
Get
Chain
Action
Proto
Certificate
Storage
Get
Chain
Result
Proto
Certificate
Storage
Get
Item
Action
Proto
Certificate
Storage
GetOCSPAction
Proto
Certificate
Storage
Get
Value
Action
Proto
Certificate
Storage
Import
Action
Proto
Certificate
Storage
Index
Of
Action
Proto
Certificate
Storage
Keys
Action
Proto
Certificate
Storage
Remove
Item
Action
Proto
Certificate
Storage
Set
Item
Action
Proto
Chain
Item
Proto
Crypto
Action
Proto
Crypto
Certificate
Proto
Crypto
Item
Proto
Crypto
Key
Pair
Proto
Crypto
Key
Proto
Crypto
X509
Certificate
Proto
Crypto
X509
Certificate
Request
Proto
Date
Converter
Decrypt
Action
Proto
Derive
Bits
Action
Proto
Derive
Key
Action
Proto
Digest
Action
Proto
Encrypt
Action
Proto
Error
Proto
Export
Key
Action
Proto
Generate
Key
Action
Proto
Hex
String
Converter
Import
Key
Action
Proto
Is
Logged
In
Action
Proto
Key
Storage
Clear
Action
Proto
Key
Storage
Get
Item
Action
Proto
Key
Storage
Index
Of
Action
Proto
Key
Storage
Keys
Action
Proto
Key
Storage
Remove
Item
Action
Proto
Key
Storage
Set
Item
Action
Proto
Login
Action
Proto
Logout
Action
Proto
OCSPRequest
Options
Proto
Provider
Authorized
Event
Proto
Provider
Crypto
Proto
Provider
Get
Crypto
Action
Proto
Provider
Info
Action
Proto
Provider
Info
Proto
Provider
Token
Event
Proto
Reset
Action
Proto
Result
Proto
Server
Is
Logged
In
Action
Proto
Server
Login
Action
Proto
Sign
Action
Proto
Token
Info
Proto
Unwrap
Key
Action
Proto
Verify
Action
Proto
Version
Proto
Wrap
Key
Action
Proto
IAlgorithm
Convertible
OCSPRequest
Options
server/src
File
Storage
Local
Server
Memory
Storage
Ratchet
Storage
Web
Crypto
Local
Error
IServer
Options
Identity
List
Json
Identity
Json
Identity
Bundle
Json
Identity
List
Json
Ratchet
Ec
Key
Remote
Identity
Generated using
TypeDoc