Package org.dogtagpki.tps.apdu
Class CreateObjectAPDU
- java.lang.Object
-
- org.dogtagpki.tps.apdu.APDU
-
- org.dogtagpki.tps.apdu.CreateObjectAPDU
-
public class CreateObjectAPDU extends APDU
-
-
Constructor Summary
Constructors Constructor Description CreateObjectAPDU(byte[] object_id, byte[] permissions, int len)
Constructs a Create Object APDU.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description APDU.Type
getType()
static void
main(java.lang.String[] args)
-
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
-
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:
APDU
-
-