Class Index | File Index

Classes


Class PublicKeyFile

Read and write encoded SmartCard-HSM public keys.
Defined in: PublicKeyFile.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
PublicKeyFile(arg, arg)
Create a Public Key File object.
Method Summary
Method Attributes Method Name and Description
 
Encode the certificate chain in TLV encoding.
 
parse(content)
Parse the binary file content as TLV structure and validate the certificate chain.
Class Detail
PublicKeyFile(arg, arg)
Create a Public Key File object.
Parameters:
{String} arg
the file to read from
{CVC[]} arg
the certificate chain with the public key first.
Method Detail
{ByteString} encode()
Encode the certificate chain in TLV encoding.
Returns:
the encoded content for the file

parse(content)
Parse the binary file content as TLV structure and validate the certificate chain.
Parameters:
{ByteString} content
the file content.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 07 2026 19:37:54 GMT+0200 (CEST)