Class PublicKeyReference

Object
   |
   +--PublicKeyReference

class 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

See:


Field Summary
 Object bin
          
 
Constructor Summary
PublicKeyReference()
           

Create a public key reference (CAR/CHR) from binary representation or individual fields.

 
Method Summary
 boolean equals(other)
           Returns true if other public key reference equals this public key reference
 ByteString getBytes()
           Returns the binary encoded public key reference
 String getCountryCode()
           Returns the 2 character country code
 String getHolder()
           Returns the certificate holder name, which is the concatenation of the country code and the holder mnemonic.
 String getMnemonic()
           Returns the variable length holder mnemonic
 String getSequenceNo()
           Returns the 5 character sequence number
 String toString()
           Returns the string representation of the public key reference
<static> void test()
           Test function

Field Detail

bin

Object bin

Constructor Detail

PublicKeyReference

PublicKeyReference()

Method Detail

equals

boolean equals(other)

getBytes

ByteString getBytes()

getCountryCode

String getCountryCode()

getHolder

String getHolder()

getMnemonic

String getMnemonic()

getSequenceNo

String getSequenceNo()

toString

String toString()

test

<static> void test()


Documentation generated by JSDoc on Tue Sep 3 22:29:38 2013