Uses of Class
org.dogtagpki.tps.main.TPSBuffer
-
Packages that use TPSBuffer Package Description org.dogtagpki.tps.apdu org.dogtagpki.tps.main -
-
Uses of TPSBuffer in org.dogtagpki.tps.apdu
Fields in org.dogtagpki.tps.apdu declared as TPSBuffer Modifier and Type Field Description protected TPSBufferAPDU. dataprotected TPSBufferAPDU. macprotected TPSBufferAPDU. plainTextprotected TPSBufferAPDU. trailerMethods in org.dogtagpki.tps.apdu that return TPSBuffer Modifier and Type Method Description TPSBufferAPDU. getData()TPSBufferAPDU. getDataToMAC()TPSBufferAPDU. getEncoding()Retrieves APDU's encoding.TPSBufferGetDataAPDU. getEncoding()TPSBufferGetIssuerInfoAPDU. getEncoding()TPSBufferGetLifecycleAPDU. getEncoding()TPSBufferGetStatusAPDU. getEncoding()TPSBufferGetVersionAPDU. getEncoding()TPSBufferInitializeUpdateAPDU. getEncoding()TPSBufferListObjectsAPDU. getEncoding()TPSBufferListPinsAPDU. getEncoding()TPSBufferInitializeUpdateAPDU. getHostChallenge()TPSBufferExternalAuthenticateAPDU. getHostCryptogram()TPSBufferExternalAuthenticateAPDUGP211. getHostCryptogram()TPSBufferSetIssuerInfoAPDU. getIssuerInfo()TPSBufferAPDU. getMAC()TPSBufferSetPinAPDU. getNewPIN()TPSBufferAPDUResponse. getResultDataNoCode()Methods in org.dogtagpki.tps.apdu with parameters of type TPSBuffer Modifier and Type Method Description voidAPDU. incrementBuffer(TPSBuffer buffer)voidAPDU. padBuffer80(TPSBuffer buffer, int blockSize)voidAPDU. secureMessageSCP03(org.mozilla.jss.pkcs11.PK11SymKey encKey, TPSBuffer encryptionCounter)voidAPDU. setMAC(TPSBuffer theMac)voidAPDU. setTrailer(TPSBuffer theTrailer)Constructors in org.dogtagpki.tps.apdu with parameters of type TPSBuffer Constructor Description APDUResponse(TPSBuffer theData)CreatePinAPDU(byte theP1, byte theP2, TPSBuffer theData)DeleteFileAPDU(TPSBuffer aid)DeleteFileGP211APDU(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 TPSBuffer Modifier and Type Method Description static 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(java.lang.String str)TPSBufferTPSBuffer. substr(int start)Get the SubString from start to the endTPSBufferTPSBuffer. 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 TPSBuffer Modifier and Type Method Description voidTPSBuffer. add(TPSBuffer addend)static 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)booleanTPSBuffer. equals(TPSBuffer cmp)Returns true if the two buffers are the same length and contain the same byte at each offset.voidTPSBuffer. prepend(TPSBuffer prepend)voidTPSBuffer. set(TPSBuffer newContents)static java.lang.StringUtil. specialEncode(TPSBuffer data)static java.lang.StringUtil. specialURLEncode(TPSBuffer data)Constructors in org.dogtagpki.tps.main with parameters of type TPSBuffer Constructor Description TPSBuffer(TPSBuffer cpy)
-