@keetanetwork/keetanet-client
Preparing search index...
KeetaNetSDK
Referenced
BlockOperationMANAGE_CERTIFICATE
Class BlockOperationMANAGE_CERTIFICATE
X.509 Certificate operations
Hierarchy (
View Summary
)
BlockOperation
BlockOperationMANAGE_CERTIFICATE
Implements
BlockJSONOperationMANAGE_CERTIFICATE
Index
Constructors
C
constructor
Properties
P
type
P
is
Instance
Accessors
A
certificate
Or
Hash
A
intermediate
Certificates
A
method
Methods
M
compute
Amount
M
compute
To
M
to
JSON
M
validate
Constructors
constructor
new
BlockOperationMANAGE_CERTIFICATE
(
input
:
BlockJSONOperationMANAGE_CERTIFICATE
,
)
:
BlockOperationMANAGE_CERTIFICATE
Parameters
input
:
BlockJSONOperationMANAGE_CERTIFICATE
Returns
BlockOperationMANAGE_CERTIFICATE
Properties
type
type
:
MANAGE_CERTIFICATE
= OperationType.MANAGE_CERTIFICATE
Static
is
Instance
isInstance
:
(
obj
:
any
,
strict
?:
boolean
)
=>
obj
is
BlockOperation
= ...
Accessors
certificate
Or
Hash
get
certificateOrHash
()
:
Certificate
|
CertificateHash
Returns
Certificate
|
CertificateHash
set
certificateOrHash
(
certificate
:
string
|
Buffer
|
Certificate
|
CertificateHash
,
)
:
void
Parameters
certificate
:
string
|
Buffer
|
Certificate
|
CertificateHash
Returns
void
intermediate
Certificates
get
intermediateCertificates
()
:
undefined
|
null
|
CertificateBundle
Returns
undefined
|
null
|
CertificateBundle
set
intermediateCertificates
(
bundle
:
|
undefined
|
null
|
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
;
}
;
}
)
[]
,
)
:
void
Parameters
bundle
:
|
undefined
|
null
|
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
void
method
get
method
()
:
ADD
|
SUBTRACT
Returns
ADD
|
SUBTRACT
set
method
(
shouldAdd
:
ADD
|
SUBTRACT
)
:
void
Parameters
shouldAdd
:
ADD
|
SUBTRACT
Returns
void
Methods
Protected
compute
Amount
computeAmount
(
amount
:
string
|
bigint
)
:
bigint
Parameters
amount
:
string
|
bigint
Returns
bigint
Protected
compute
To
computeTo
(
to
:
string
|
GenericAccount
,
isIdentifier
:
false
)
:
Account
Parameters
to
:
string
|
GenericAccount
isIdentifier
:
false
Returns
Account
computeTo
(
to
:
string
|
GenericAccount
,
isIdentifier
:
true
)
:
IdentifierAddress
Parameters
to
:
string
|
GenericAccount
isIdentifier
:
true
Returns
IdentifierAddress
computeTo
(
to
:
string
|
GenericAccount
,
isIdentifier
?:
undefined
)
:
GenericAccount
Parameters
to
:
string
|
GenericAccount
Optional
isIdentifier
:
undefined
Returns
GenericAccount
to
JSON
toJSON
()
:
{
certificateOrHash
:
|
string
|
CertificateHashString
|
{
$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
;
}
;
}
|
{
$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
;
}
;
}
;
method
:
ADD
|
SUBTRACT
;
type
:
MANAGE_CERTIFICATE
;
}
&
{
intermediateCertificates
?:
null
|
string
|
{
certificates
:
string
[]
}
;
}
Returns
{
certificateOrHash
:
|
string
|
CertificateHashString
|
{
$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
;
}
;
}
|
{
$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
;
}
;
}
;
method
:
ADD
|
SUBTRACT
;
type
:
MANAGE_CERTIFICATE
;
}
&
{
intermediateCertificates
?:
null
|
string
|
{
certificates
:
string
[]
}
;
}
validate
validate
(
context
:
BlockOperationValidateContext
)
:
void
Parameters
context
:
BlockOperationValidateContext
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
C
constructor
Properties
P
type
P
is
Instance
Accessors
A
certificate
Or
Hash
A
intermediate
Certificates
A
method
Methods
M
compute
Amount
M
compute
To
M
to
JSON
M
validate
@keetanetwork/keetanet-client
Loading...
X.509 Certificate operations