Package org.dogtagpki.tps.apdu
Class InitializeUpdateAPDU
- java.lang.Object
-
- org.dogtagpki.tps.apdu.APDU
-
- org.dogtagpki.tps.apdu.InitializeUpdateAPDU
-
public class InitializeUpdateAPDU extends APDU
-
-
Constructor Summary
Constructors Constructor Description InitializeUpdateAPDU(byte key_version, byte key_index, TPSBuffer theData)
Constructs Initialize Update APDU.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TPSBuffer
getEncoding()
Retrieves APDU's encoding.TPSBuffer
getHostChallenge()
APDU.Type
getType()
-
Methods inherited from class org.dogtagpki.tps.apdu.APDU
dump, getCLA, getData, getDataToMAC, getINS, getMAC, getP1, getP2, incrementBuffer, padBuffer80, secureMessage, secureMessageSCP02, secureMessageSCP03, setMAC, setTrailer
-
-
-
-
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 classAPDU
- Returns:
- the result buffer which will contain the actual data including the APDU header, data, and pre-calculated mac.
-
-