Package org.dogtagpki.tps.apdu
Class CreateObjectAPDU
java.lang.Object
org.dogtagpki.tps.apdu.APDU
org.dogtagpki.tps.apdu.CreateObjectAPDU
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCreateObjectAPDU
(byte[] object_id, byte[] permissions, int len) Constructs a Create Object APDU. -
Method Summary
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 Details
-
CreateObjectAPDU
public CreateObjectAPDU(byte[] object_id, byte[] permissions, int len) Constructs a Create Object APDU. This APDU is usually sent right before Write_Buffer_APDU is sent. This APDU only creates an Object on token, but does not actually writes object content until Write_Buffer_APDU is sent. CreateObject APDU format: CLA 0x84 INS 0x5a P1 0x00 P2 0x00 lc 0x0e DATA- Parameters:
object_id
- as defined in APDUlen
- length of object- See Also:
-
-
Method Details