@keetanetwork/keetanet-client
Preparing search index...
KeetaNetSDK
Referenced
CertificateBundle
Class CertificateBundle
Index
Constructors
C
constructor
Properties
P
is
Instance
Accessors
A
bundle
Size
Methods
M
get
Certificates
M
get
DER
M
get
DER
Buffer
M
to
JSON
Constructors
constructor
new
CertificateBundle
(
input
:
|
string
|
Buffer
|
ArrayBuffer
|
Set
<
Certificate
>
|
CertificateBundle
|
Certificate
[]
|
{
certificates
:
string
[]
}
|
(
|
string
|
Buffer
|
ArrayBuffer
|
Certificate
|
{
$hash
:
CertificateHashString
;
issuer
:
string
;
issuerDN
:
{
name
:
string
;
value
:
string
}
[]
;
notAfter
:
string
;
notBefore
:
string
;
serial
:
string
;
subject
:
string
;
subjectDN
:
{
name
:
string
;
value
:
string
}
[]
;
subjectPublicKey
:
|
Secp256K1PublicKeyString
|
Secp256R1PublicKeyString
|
ED25519PublicKeyString
;
}
&
{
$binary
?:
string
;
$chain
?:
undefined
;
baseExtensions
?:
{}
&
{
authorityKeyIdentifier
?:
{
contains
:
string
;
type
:
"context"
;
value
:
0
;
}
&
{}
;
basicConstraints
?:
[
ca
:
boolean
,
pathLenConstraint
?:
null
|
string
]
;
keyUsage
?:
KeyUsage
;
subjectKeyIdentifier
?:
string
;
}
;
}
)
[]
,
)
:
CertificateBundle
Parameters
input
:
|
string
|
Buffer
|
ArrayBuffer
|
Set
<
Certificate
>
|
CertificateBundle
|
Certificate
[]
|
{
certificates
:
string
[]
}
|
(
|
string
|
Buffer
|
ArrayBuffer
|
Certificate
|
{
$hash
:
CertificateHashString
;
issuer
:
string
;
issuerDN
:
{
name
:
string
;
value
:
string
}
[]
;
notAfter
:
string
;
notBefore
:
string
;
serial
:
string
;
subject
:
string
;
subjectDN
:
{
name
:
string
;
value
:
string
}
[]
;
subjectPublicKey
:
|
Secp256K1PublicKeyString
|
Secp256R1PublicKeyString
|
ED25519PublicKeyString
;
}
&
{
$binary
?:
string
;
$chain
?:
undefined
;
baseExtensions
?:
{}
&
{
authorityKeyIdentifier
?:
{
contains
:
string
;
type
:
"context"
;
value
:
0
;
}
&
{}
;
basicConstraints
?:
[
ca
:
boolean
,
pathLenConstraint
?:
null
|
string
]
;
keyUsage
?:
KeyUsage
;
subjectKeyIdentifier
?:
string
;
}
;
}
)
[]
Returns
CertificateBundle
Properties
Static
is
Instance
isInstance
:
(
obj
:
any
,
strict
?:
boolean
)
=>
obj
is
CertificateBundle
= ...
Accessors
bundle
Size
get
bundleSize
()
:
number
Returns
number
Methods
get
Certificates
getCertificates
()
:
Certificate
[]
Returns
Certificate
[]
get
DER
getDER
()
:
ArrayBuffer
Returns
ArrayBuffer
get
DER
Buffer
getDERBuffer
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
certificates
:
string
[]
}
Returns
{
certificates
:
string
[]
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
C
constructor
Properties
P
is
Instance
Accessors
A
bundle
Size
Methods
M
get
Certificates
M
get
DER
M
get
DER
Buffer
M
to
JSON
@keetanetwork/keetanet-client
Loading...