Package org.dogtagpki.tps.apdu
Class GetDataAPDU
- java.lang.Object
-
- org.dogtagpki.tps.apdu.APDU
-
- org.dogtagpki.tps.apdu.GetDataAPDU
-
public class GetDataAPDU extends APDU
-
-
Constructor Summary
Constructors Constructor Description GetDataAPDU()
GetDataAPDU(byte[] identifier)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TPSBuffer
getEncoding()
Retrieves APDU's encoding.APDU.Type
getType()
static void
main(java.lang.String[] args)
-
Methods inherited from class org.dogtagpki.tps.apdu.APDU
dump, getCLA, getData, getDataToMAC, getINS, getMAC, getP1, getP2, incrementBuffer, padBuffer80, secureMessage, secureMessageSCP02, secureMessageSCP03, setMAC, setTrailer
-
-
-
-
Method Detail
-
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.
-
main
public static void main(java.lang.String[] args)
-
-