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 APDU
dump, getCLA, getData, getDataToMAC, getEncoding, getINS, getMAC, getP1, getP2, incrementBuffer, padBuffer80, secureMessage, secureMessageSCP02, secureMessageSCP03, setMAC, setTrailerModifier and TypeMethodDescriptionvoiddump()bytegetCLA()getData()Retrieves APDU's encoding.bytegetINS()getMAC()bytegetP1()bytegetP2()voidincrementBuffer(TPSBuffer buffer) voidpadBuffer80(TPSBuffer buffer, int blockSize) voidsecureMessage(org.mozilla.jss.pkcs11.PK11SymKey encKey, byte protocol) voidsecureMessageSCP02(org.mozilla.jss.pkcs11.PK11SymKey encKey) voidsecureMessageSCP03(org.mozilla.jss.pkcs11.PK11SymKey encKey, TPSBuffer encryptionCounter) voidvoidsetTrailer(TPSBuffer theTrailer)
-
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
-
getType
-
main
-