Package | Description |
---|---|
org.dogtagpki.tps.apdu | |
org.dogtagpki.tps.main |
Modifier and Type | Field and Description |
---|---|
protected TPSBuffer |
APDU.data |
protected TPSBuffer |
APDU.mac |
protected TPSBuffer |
APDU.plainText |
protected TPSBuffer |
APDU.trailer |
Modifier and Type | Method and Description |
---|---|
TPSBuffer |
APDU.getData() |
TPSBuffer |
APDU.getDataToMAC() |
TPSBuffer |
ListPinsAPDU.getEncoding() |
TPSBuffer |
ListObjectsAPDU.getEncoding() |
TPSBuffer |
InitializeUpdateAPDU.getEncoding() |
TPSBuffer |
GetVersionAPDU.getEncoding() |
TPSBuffer |
GetStatusAPDU.getEncoding() |
TPSBuffer |
GetLifecycleAPDU.getEncoding() |
TPSBuffer |
GetIssuerInfoAPDU.getEncoding() |
TPSBuffer |
GetDataAPDU.getEncoding() |
TPSBuffer |
APDU.getEncoding()
Retrieves APDU's encoding.
|
TPSBuffer |
InitializeUpdateAPDU.getHostChallenge() |
TPSBuffer |
ExternalAuthenticateAPDUGP211.getHostCryptogram() |
TPSBuffer |
ExternalAuthenticateAPDU.getHostCryptogram() |
TPSBuffer |
SetIssuerInfoAPDU.getIssuerInfo() |
TPSBuffer |
APDU.getMAC() |
TPSBuffer |
SetPinAPDU.getNewPIN() |
TPSBuffer |
APDUResponse.getResultDataNoCode() |
Modifier and Type | Method and Description |
---|---|
void |
APDU.incrementBuffer(TPSBuffer buffer) |
void |
APDU.padBuffer80(TPSBuffer buffer,
int blockSize) |
void |
APDU.secureMessageSCP03(org.mozilla.jss.pkcs11.PK11SymKey encKey,
TPSBuffer encryptionCounter) |
void |
APDU.setMAC(TPSBuffer theMac) |
void |
APDU.setTrailer(TPSBuffer theTrailer) |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static TPSBuffer |
Util.computeEncEcbDes(org.mozilla.jss.pkcs11.PK11SymKey symKey,
TPSBuffer input) |
static TPSBuffer |
Util.computeMAC(org.mozilla.jss.pkcs11.PK11SymKey symKey,
TPSBuffer input,
TPSBuffer icv) |
static TPSBuffer |
Util.computeMACdes3des(org.mozilla.jss.pkcs11.PK11SymKey symKey,
TPSBuffer input,
TPSBuffer initialIcv) |
static TPSBuffer |
Util.encryptData(TPSBuffer dataToEnc,
org.mozilla.jss.pkcs11.PK11SymKey encKey) |
static TPSBuffer |
Util.encryptDataAES(TPSBuffer dataToEnc,
org.mozilla.jss.pkcs11.PK11SymKey encKey,
TPSBuffer iv) |
static TPSBuffer |
Util.specialDecode(java.lang.String str) |
TPSBuffer |
TPSBuffer.substr(int start)
Get the SubString from start to the end
|
TPSBuffer |
TPSBuffer.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.
|
Modifier and Type | Method and Description |
---|---|
void |
TPSBuffer.add(TPSBuffer addend) |
static TPSBuffer |
Util.computeEncEcbDes(org.mozilla.jss.pkcs11.PK11SymKey symKey,
TPSBuffer input) |
static TPSBuffer |
Util.computeMAC(org.mozilla.jss.pkcs11.PK11SymKey symKey,
TPSBuffer input,
TPSBuffer icv) |
static TPSBuffer |
Util.computeMACdes3des(org.mozilla.jss.pkcs11.PK11SymKey symKey,
TPSBuffer input,
TPSBuffer initialIcv) |
static TPSBuffer |
Util.encryptData(TPSBuffer dataToEnc,
org.mozilla.jss.pkcs11.PK11SymKey encKey) |
static TPSBuffer |
Util.encryptDataAES(TPSBuffer dataToEnc,
org.mozilla.jss.pkcs11.PK11SymKey encKey,
TPSBuffer iv) |
boolean |
TPSBuffer.equals(TPSBuffer cmp)
Returns true if the two buffers are the same length and contain
the same byte at each offset.
|
void |
TPSBuffer.prepend(TPSBuffer prepend) |
void |
TPSBuffer.set(TPSBuffer newContents) |
static java.lang.String |
Util.specialEncode(TPSBuffer data) |
static java.lang.String |
Util.specialURLEncode(TPSBuffer data) |
Constructor and Description |
---|
TPSBuffer(TPSBuffer cpy) |