Uses of Class
org.dogtagpki.tps.main.TPSBuffer
Packages that use TPSBuffer
-
Uses of TPSBuffer in org.dogtagpki.tps.apdu
Fields in org.dogtagpki.tps.apdu declared as TPSBufferModifier and TypeFieldDescriptionprotected TPSBufferAPDU.dataprotected TPSBufferAPDU.macprotected TPSBufferAPDU.plainTextprotected TPSBufferAPDU.trailerMethods in org.dogtagpki.tps.apdu that return TPSBufferModifier and TypeMethodDescriptionAPDU.getData()APDU.getDataToMAC()APDU.getEncoding()Retrieves APDU's encoding.GetDataAPDU.getEncoding()GetIssuerInfoAPDU.getEncoding()GetLifecycleAPDU.getEncoding()GetStatusAPDU.getEncoding()GetVersionAPDU.getEncoding()InitializeUpdateAPDU.getEncoding()ListObjectsAPDU.getEncoding()ListPinsAPDU.getEncoding()InitializeUpdateAPDU.getHostChallenge()ExternalAuthenticateAPDU.getHostCryptogram()ExternalAuthenticateAPDUGP211.getHostCryptogram()SetIssuerInfoAPDU.getIssuerInfo()APDU.getMAC()SetPinAPDU.getNewPIN()APDUResponse.getResultDataNoCode()Methods in org.dogtagpki.tps.apdu with parameters of type TPSBufferModifier and TypeMethodDescriptionvoidAPDU.incrementBuffer(TPSBuffer buffer) voidAPDU.padBuffer80(TPSBuffer buffer, int blockSize) voidAPDU.secureMessageSCP03(org.mozilla.jss.pkcs11.PK11SymKey encKey, TPSBuffer encryptionCounter) voidvoidAPDU.setTrailer(TPSBuffer theTrailer) Constructors in org.dogtagpki.tps.apdu with parameters of type TPSBufferModifierConstructorDescriptionAPDUResponse(TPSBuffer theData) CreatePinAPDU(byte theP1, byte theP2, TPSBuffer theData) DeleteFileAPDU(TPSBuffer aid) ExternalAuthenticateAPDU(TPSBuffer theData, ExternalAuthenticateAPDU.SecurityLevel securityLevel) ExternalAuthenticateAPDUGP211(TPSBuffer theData, ExternalAuthenticateAPDUGP211.SecurityLevel securityLevel) FormatMuscleAppletAPDU(short memSize, TPSBuffer PIN0, byte pin0Tries, TPSBuffer unblockPIN0, byte unblock0Tries, TPSBuffer PIN1, byte pin1Tries, TPSBuffer unblockPIN1, byte unblock1Tries, short objCreationPermissions, short keyCreationPermissions, short pinCreationPermissions) GenerateKeyAPDU(byte theP1, byte theP2, byte alg, int keysize, byte option, byte type, TPSBuffer wrapped_challenge, TPSBuffer key_check) GenerateKeyECCAPDU(byte theP1, byte theP2, byte alg, int keysize, byte option, byte type, TPSBuffer wrapped_challenge, TPSBuffer key_check) ImportKeyEncAPDU(byte p1, byte p2, TPSBuffer theData) Constructs Import Key Encrypted APDU.InitializeUpdateAPDU(byte key_version, byte key_index, TPSBuffer theData) Constructs Initialize Update APDU.InstallAppletAPDU(TPSBuffer theData) Constructs Install Applet APDU.InstallAppletAPDU(TPSBuffer packageAID, TPSBuffer appletAID, byte appPrivileges, int instanceSize, int appletMemorySize) InstallAppletAPDUGP211(TPSBuffer theData) Constructs Install Applet APDU.InstallAppletAPDUGP211(TPSBuffer packageAID, TPSBuffer appletAID, byte appPrivileges, int instanceSize, int appletMemorySize) InstallLoadAPDU(TPSBuffer theData) Constructs Install Load APDU.InstallLoadAPDU(TPSBuffer packageAID, TPSBuffer sdAID, int fileLen) InstallLoadGP211APDU(TPSBuffer packageAID, TPSBuffer sdAID, int fileLen) LoadFileAPDU(byte refControl, byte blockNum, TPSBuffer theData) Constructs Load File APDU.LoadFileAPDUGP211(byte refControl, byte blockNum, TPSBuffer theData) Constructs Load File APDU.PutKeyAPDU(byte p1, byte p2, TPSBuffer theData) Constructs Put Key APDU.SelectAPDU(byte p1, byte p2, TPSBuffer theData) SetIssuerInfoAPDU(byte p1, byte p2, TPSBuffer data) Constructs SetIssuer APDU.SetPinAPDU(byte p1, byte p2, TPSBuffer data) Constructs SetPin APDU.WriteObjectAPDU(byte[] object_id, int offset, TPSBuffer data) Constructs Write Buffer APDU. -
Uses of TPSBuffer in org.dogtagpki.tps.main
Methods in org.dogtagpki.tps.main that return TPSBufferModifier and TypeMethodDescriptionstatic TPSBufferUtil.computeEncEcbDes(org.mozilla.jss.pkcs11.PK11SymKey symKey, TPSBuffer input) static TPSBufferUtil.computeMAC(org.mozilla.jss.pkcs11.PK11SymKey symKey, TPSBuffer input, TPSBuffer icv) static TPSBufferUtil.computeMACdes3des(org.mozilla.jss.pkcs11.PK11SymKey symKey, TPSBuffer input, TPSBuffer initialIcv) static TPSBufferUtil.encryptData(TPSBuffer dataToEnc, org.mozilla.jss.pkcs11.PK11SymKey encKey) static TPSBufferUtil.encryptDataAES(TPSBuffer dataToEnc, org.mozilla.jss.pkcs11.PK11SymKey encKey, TPSBuffer iv) static TPSBufferUtil.specialDecode(String str) TPSBuffer.substr(int start) Get the SubString from start to the endTPSBuffer.substr(int start, int theLen) Returns a new Buffer that is a substring of this Buffer, starting from offset 'start' and continuing for 'len' bytes.Methods in org.dogtagpki.tps.main with parameters of type TPSBufferModifier and TypeMethodDescriptionvoidstatic TPSBufferUtil.computeEncEcbDes(org.mozilla.jss.pkcs11.PK11SymKey symKey, TPSBuffer input) static TPSBufferUtil.computeMAC(org.mozilla.jss.pkcs11.PK11SymKey symKey, TPSBuffer input, TPSBuffer icv) static TPSBufferUtil.computeMACdes3des(org.mozilla.jss.pkcs11.PK11SymKey symKey, TPSBuffer input, TPSBuffer initialIcv) static TPSBufferUtil.encryptData(TPSBuffer dataToEnc, org.mozilla.jss.pkcs11.PK11SymKey encKey) static TPSBufferUtil.encryptDataAES(TPSBuffer dataToEnc, org.mozilla.jss.pkcs11.PK11SymKey encKey, TPSBuffer iv) booleanReturns true if the two buffers are the same length and contain the same byte at each offset.voidvoidstatic StringUtil.specialEncode(TPSBuffer data) static StringUtil.specialURLEncode(TPSBuffer data) Constructors in org.dogtagpki.tps.main with parameters of type TPSBuffer