Constructs a new CertChain.
Optional
properties:
ICertChain
Properties to set
Optional
intermediate
CertChain intermediate.
Optional
leaf
CertChain leaf.
Static
create
Creates a new CertChain instance using the specified properties.
Optional
properties:
ICertChain
Properties to set
CertChain instance
Static
decode
Decodes a CertChain message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
CertChain
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a CertChain message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
CertChain
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified CertChain message. Does not implicitly verify messages.
CertChain message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified CertChain message, length delimited. Does not implicitly verify messages.
CertChain message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromStatic
toCreates a plain object from a CertChain message. Also converts values to other types if specified.
CertChain
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a CertChain.