Class SPOCConnection#generalMessage-PublicKeyReference
A class that implements a public key reference to be used as CAR and CHR in card verifiable certificates (CVC).
Defined in: publickeyreference.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<inner> |
Create a public key reference (CAR/CHR) from binary representation or individual fields. |
Class Detail
<inner>
SPOCConnection#generalMessage-PublicKeyReference()
Create a public key reference (CAR/CHR) from binary representation or individual fields.
Use one of the following signatures:
- PublicKeyReference(ByteString value) - binary public key reference
- PublicKeyReference(String value) - string encoded public key reference
- PublicKeyReference(String countryCode, String holderMnemonic, String sequenceNumber) - string encoded public key reference
@see PublicKeyReference.test() for an example.