Class InitializeUpdateAPDU

java.lang.Object
org.dogtagpki.tps.apdu.APDU
org.dogtagpki.tps.apdu.InitializeUpdateAPDU

public class InitializeUpdateAPDU extends APDU
  • Constructor Details

    • InitializeUpdateAPDU

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

    • getHostChallenge

      public TPSBuffer getHostChallenge()
    • getType

      public APDU.Type getType()
      Overrides:
      getType in class APDU
    • 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.