Package org.dogtagpki.tps.apdu
Class SetPinAPDU
- java.lang.Object
-
- org.dogtagpki.tps.apdu.APDU
-
- org.dogtagpki.tps.apdu.SetPinAPDU
-
public class SetPinAPDU extends APDU
-
-
Constructor Summary
Constructors Constructor Description SetPinAPDU(byte p1, byte p2, TPSBuffer data)
Constructs SetPin APDU.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TPSBuffer
getNewPIN()
APDU.Type
getType()
-
Methods inherited from class org.dogtagpki.tps.apdu.APDU
dump, getCLA, getData, getDataToMAC, getEncoding, getINS, getMAC, getP1, getP2, incrementBuffer, padBuffer80, secureMessage, secureMessageSCP02, secureMessageSCP03, setMAC, setTrailer
-
-
-
-
Constructor Detail
-
SetPinAPDU
public SetPinAPDU(byte p1, byte p2, TPSBuffer data)
Constructs SetPin APDU. SecureSetPIN APDU format: CLA 0x80 INS 0x04 P1P2 0x00 lc DATA Connection requirement: Secure Channel Possible error Status Codes: 9C 06 - unauthorized - Parameters:
p1
- Pin number: 0x00 - 0x07p2
- always 0x00data
- pin- See Also:
APDU
-
-