Class InitializeUpdateAPDU


  • public class InitializeUpdateAPDU
    extends APDU
    • Constructor Detail

      • InitializeUpdateAPDU

        public InitializeUpdateAPDU​(byte key_version,
                                    byte key_index,
                                    TPSBuffer theData)
        Constructs Initialize Update APDU.
    • Method Detail

      • getHostChallenge

        public TPSBuffer getHostChallenge()
      • getEncoding

        public TPSBuffer getEncoding()
        Description copied from class: APDU
        Retrieves APDU's encoding. The encoding of APDU is as follows: CLA 1 byte INS 1 byte P1 1 byte P2 1 byte 1 byte byte(s) 0 1 byte
        Overrides:
        getEncoding in class APDU
        Returns:
        the result buffer which will contain the actual data including the APDU header, data, and pre-calculated mac.