|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SecureDESKey | |
|---|---|
| org.jpos.security | Key management, MAC, PIN encryption related classes. |
| org.jpos.security.jceadapter | JCE Security Module and its corresponding adapter (built into the JCE Security Module itself) |
| Uses of SecureDESKey in org.jpos.security |
|---|
| Methods in org.jpos.security that return SecureDESKey | |
|---|---|
SecureDESKey |
BaseSMAdapter.generateKey(short keyLength,
String keyType)
|
SecureDESKey |
SMAdapter.generateKey(short keyLength,
String keyType)
Generates a random DES Key. |
protected SecureDESKey |
BaseSMAdapter.generateKeyImpl(short keyLength,
String keyType)
Your SMAdapter should override this method if it has this functionality |
SecureDESKey |
BaseSMAdapter.importKey(short keyLength,
String keyType,
byte[] encryptedKey,
SecureDESKey kek,
boolean checkParity)
|
SecureDESKey |
SMAdapter.importKey(short keyLength,
String keyType,
byte[] encryptedKey,
SecureDESKey kek,
boolean checkParity)
Imports a key from encryption under a KEK (Key-Encrypting Key) to protection under the security module. |
protected SecureDESKey |
BaseSMAdapter.importKeyImpl(short keyLength,
String keyType,
byte[] encryptedKey,
SecureDESKey kek,
boolean checkParity)
Your SMAdapter should override this method if it has this functionality |
SecureDESKey |
BaseSMAdapter.translateKeyFromOldLMK(SecureDESKey kd)
|
SecureDESKey |
SMAdapter.translateKeyFromOldLMK(SecureDESKey kd)
Translate key from encryption under the LMK held in “key change storage” to encryption under a new LMK. |
protected SecureDESKey |
BaseSMAdapter.translateKeyFromOldLMKImpl(SecureDESKey kd)
Translate key from encryption under the LMK held in “key change storage” to encryption under a new LMK. |
| Methods in org.jpos.security with parameters of type SecureDESKey | |
|---|---|
String |
BaseSMAdapter.calculateCVV(String accountNo,
SecureDESKey cvkA,
SecureDESKey cvkB,
Date expDate,
String serviceCode)
|
String |
SMAdapter.calculateCVV(String accountNo,
SecureDESKey cvkA,
SecureDESKey cvkB,
Date expDate,
String serviceCode)
Calaculate a Card Verification Code/Value NOTE: cvkA and cvkB should be single
length keys but at least one of them may be double length key |
protected String |
BaseSMAdapter.calculateCVVImpl(String accountNo,
SecureDESKey cvkA,
SecureDESKey cvkB,
Date expDate,
String serviceCode)
Your SMAdapter should override this method if it has this functionality |
String |
BaseSMAdapter.calculateIBMPINOffset(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen)
|
String |
SMAdapter.calculateIBMPINOffset(EncryptedPIN pinUnderkd1,
SecureDESKey kd1,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen)
Calculate an PIN Offset using the IBM 3624 method of customer selected PIN Using that method is not recomendated. |
String |
BaseSMAdapter.calculateIBMPINOffset(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen,
List<String> excludes)
|
String |
SMAdapter.calculateIBMPINOffset(EncryptedPIN pinUnderkd1,
SecureDESKey kd1,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen,
List<String> excludes)
Calculate an PIN Offset using the IBM 3624 method of customer selected PIN Using that method is not recomendated. |
String |
BaseSMAdapter.calculateIBMPINOffset(EncryptedPIN pinUnderLmk,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen)
|
String |
SMAdapter.calculateIBMPINOffset(EncryptedPIN pinUnderLmk,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen)
Calculate an PIN Offset using the IBM 3624 method Using that method is not recomendated. |
String |
BaseSMAdapter.calculateIBMPINOffset(EncryptedPIN pinUnderLmk,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen,
List<String> excludes)
|
String |
SMAdapter.calculateIBMPINOffset(EncryptedPIN pinUnderLmk,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen,
List<String> excludes)
Calculate an PIN Offset using the IBM 3624 method Using that method is not recomendated. |
protected String |
BaseSMAdapter.calculateIBMPINOffsetImpl(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen,
List<String> excludes)
Your SMAdapter should override this method if it has this functionality |
protected String |
BaseSMAdapter.calculateIBMPINOffsetImpl(EncryptedPIN pinUnderLmk,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen,
List<String> excludes)
Your SMAdapter should override this method if it has this functionality |
String |
BaseSMAdapter.calculatePVV(EncryptedPIN pinUnderLMK,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvkIdx)
|
String |
SMAdapter.calculatePVV(EncryptedPIN pinUnderLmk,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvkIdx)
Calculate PVV (VISA PIN Verification Value of PIN under LMK) with exclude list NOTE: pvkA and pvkB should be single length keys
but at least one of them may be double length key |
String |
BaseSMAdapter.calculatePVV(EncryptedPIN pinUnderLMK,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvkIdx,
List<String> excludes)
|
String |
SMAdapter.calculatePVV(EncryptedPIN pinUnderLmk,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvkIdx,
List<String> excludes)
Calculate PVV (VISA PIN Verification Value of PIN under LMK) NOTE: pvkA and pvkB should be single length keys
but at least one of them may be double length key |
String |
BaseSMAdapter.calculatePVV(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvkIdx)
|
String |
SMAdapter.calculatePVV(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvkIdx)
Calculate PVV (VISA PIN Verification Value of customer selected PIN) NOTE: pvkA and pvkB should be single length keys
but at least one of them may be double length key |
String |
BaseSMAdapter.calculatePVV(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvkIdx,
List<String> excludes)
|
String |
SMAdapter.calculatePVV(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvkIdx,
List<String> excludes)
Calculate PVV (VISA PIN Verification Value of customer selected PIN) NOTE: pvkA and pvkB should be single length keys
but at least one of them may be double length key |
protected String |
BaseSMAdapter.calculatePVVImpl(EncryptedPIN pinUnderLMK,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvkIdx,
List<String> excludes)
Your SMAdapter should override this method if it has this functionality |
protected String |
BaseSMAdapter.calculatePVVImpl(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvkIdx,
List<String> excludes)
Your SMAdapter should override this method if it has this functionality |
EncryptedPIN |
BaseSMAdapter.deriveIBMPIN(String accountNo,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen,
String offset)
|
EncryptedPIN |
SMAdapter.deriveIBMPIN(String accountNo,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen,
String offset)
Derive a PIN Using the IBM 3624 method That method derive pin from pin offset (not exacly that same but working). |
protected EncryptedPIN |
BaseSMAdapter.deriveIBMPINImpl(String accountNo,
SecureDESKey pvk,
String decTab,
String pinValData,
int minPinLen,
String offset)
Your SMAdapter should override this method if it has this functionality |
byte[] |
BaseSMAdapter.exportKey(SecureDESKey key,
SecureDESKey kek)
|
byte[] |
SMAdapter.exportKey(SecureDESKey key,
SecureDESKey kek)
Exports secure key to encryption under a KEK (Key-Encrypting Key). |
protected byte[] |
BaseSMAdapter.exportKeyImpl(SecureDESKey key,
SecureDESKey kek)
Your SMAdapter should override this method if it has this functionality |
EncryptedPIN |
BaseSMAdapter.exportPIN(EncryptedPIN pinUnderLmk,
SecureDESKey kd2,
byte destinationPINBlockFormat)
|
EncryptedPIN |
SMAdapter.exportPIN(EncryptedPIN pinUnderLmk,
SecureDESKey kd2,
byte destinationPINBlockFormat)
Exports a PIN from encryption under LMK to encryption under a KD (Data Key). |
protected EncryptedPIN |
BaseSMAdapter.exportPINImpl(EncryptedPIN pinUnderLmk,
SecureDESKey kd2,
byte destinationPINBlockFormat)
Your SMAdapter should override this method if it has this functionality |
byte[] |
BaseSMAdapter.generateARPC(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imkac,
String accoutNo,
String acctSeqNo,
byte[] arqc,
byte[] atc,
byte[] upn,
ARPCMethod arpcMethod,
byte[] arc,
byte[] propAuthData)
|
byte[] |
SMAdapter.generateARPC(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imkac,
String accoutNo,
String acctSeqNo,
byte[] arqc,
byte[] atc,
byte[] upn,
ARPCMethod arpcMethod,
byte[] arc,
byte[] propAuthData)
Genarate Authorisation Response Cryptogram (ARPC) |
protected byte[] |
BaseSMAdapter.generateARPCImpl(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imkac,
String accountNo,
String acctSeqNo,
byte[] arqc,
byte[] atc,
byte[] upn,
ARPCMethod arpcMethod,
byte[] arc,
byte[] propAuthData)
Your SMAdapter should override this method if it has this functionality |
byte[] |
BaseSMAdapter.generateCBC_MAC(byte[] data,
SecureDESKey kd)
|
byte[] |
SMAdapter.generateCBC_MAC(byte[] data,
SecureDESKey kd)
Generates CBC-MAC (Cipher Block Chaining Message Authentication Code) for some data. |
protected byte[] |
BaseSMAdapter.generateCBC_MACImpl(byte[] data,
SecureDESKey kd)
Your SMAdapter should override this method if it has this functionality |
byte[] |
BaseSMAdapter.generateEDE_MAC(byte[] data,
SecureDESKey kd)
|
byte[] |
SMAdapter.generateEDE_MAC(byte[] data,
SecureDESKey kd)
Generates EDE-MAC (Encrypt Decrypt Encrypt Message Message Authentication Code) for some data. |
protected byte[] |
BaseSMAdapter.generateEDE_MACImpl(byte[] data,
SecureDESKey kd)
Your SMAdapter should override this method if it has this functionality |
byte[] |
BaseSMAdapter.generateKeyCheckValue(SecureDESKey kd)
|
byte[] |
SMAdapter.generateKeyCheckValue(SecureDESKey kd)
Generates key check value. |
protected byte[] |
BaseSMAdapter.generateKeyCheckValueImpl(SecureDESKey kd)
Your SMAdapter should override this method if it has this functionality |
byte[] |
BaseSMAdapter.generateSM_MAC(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imksmi,
String accountNo,
String acctSeqNo,
byte[] atc,
byte[] arqc,
byte[] data)
|
byte[] |
SMAdapter.generateSM_MAC(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imksmi,
String accountNo,
String acctSeqNo,
byte[] atc,
byte[] arqc,
byte[] data)
Generate Secure Message MAC over suppiled message data This method is used by issuer to generate MAC over message data send from the issuer back to the card |
protected byte[] |
BaseSMAdapter.generateSM_MACImpl(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imksmi,
String accountNo,
String acctSeqNo,
byte[] atc,
byte[] arqc,
byte[] data)
Your SMAdapter should override this method if it has this functionality |
SecureDESKey |
BaseSMAdapter.importKey(short keyLength,
String keyType,
byte[] encryptedKey,
SecureDESKey kek,
boolean checkParity)
|
SecureDESKey |
SMAdapter.importKey(short keyLength,
String keyType,
byte[] encryptedKey,
SecureDESKey kek,
boolean checkParity)
Imports a key from encryption under a KEK (Key-Encrypting Key) to protection under the security module. |
protected SecureDESKey |
BaseSMAdapter.importKeyImpl(short keyLength,
String keyType,
byte[] encryptedKey,
SecureDESKey kek,
boolean checkParity)
Your SMAdapter should override this method if it has this functionality |
EncryptedPIN |
BaseSMAdapter.importPIN(EncryptedPIN pinUnderDuk,
KeySerialNumber ksn,
SecureDESKey bdk)
|
EncryptedPIN |
SMAdapter.importPIN(EncryptedPIN pinUnderDuk,
KeySerialNumber ksn,
SecureDESKey bdk)
Imports a PIN from encryption under a transaction key to encryption under LMK. |
EncryptedPIN |
BaseSMAdapter.importPIN(EncryptedPIN pinUnderKd1,
SecureDESKey kd1)
|
EncryptedPIN |
SMAdapter.importPIN(EncryptedPIN pinUnderKd1,
SecureDESKey kd1)
Imports a PIN from encryption under KD (Data Key) to encryption under LMK. |
protected EncryptedPIN |
BaseSMAdapter.importPINImpl(EncryptedPIN pinUnderDuk,
KeySerialNumber ksn,
SecureDESKey bdk)
Your SMAdapter should override this method if it has this functionality |
protected EncryptedPIN |
BaseSMAdapter.importPINImpl(EncryptedPIN pinUnderKd1,
SecureDESKey kd1)
Your SMAdapter should override this method if it has this functionality |
SecureDESKey |
BaseSMAdapter.translateKeyFromOldLMK(SecureDESKey kd)
|
SecureDESKey |
SMAdapter.translateKeyFromOldLMK(SecureDESKey kd)
Translate key from encryption under the LMK held in “key change storage” to encryption under a new LMK. |
protected SecureDESKey |
BaseSMAdapter.translateKeyFromOldLMKImpl(SecureDESKey kd)
Translate key from encryption under the LMK held in “key change storage” to encryption under a new LMK. |
EncryptedPIN |
BaseSMAdapter.translatePIN(EncryptedPIN pinUnderDuk,
KeySerialNumber ksn,
SecureDESKey bdk,
SecureDESKey kd2,
byte destinationPINBlockFormat)
|
EncryptedPIN |
SMAdapter.translatePIN(EncryptedPIN pinUnderDuk,
KeySerialNumber ksn,
SecureDESKey bdk,
SecureDESKey kd2,
byte destinationPINBlockFormat)
Translates a PIN from encryption under a transaction key to encryption under a KD (Data Key). |
EncryptedPIN |
BaseSMAdapter.translatePIN(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey kd2,
byte destinationPINBlockFormat)
|
EncryptedPIN |
SMAdapter.translatePIN(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey kd2,
byte destinationPINBlockFormat)
Translates a PIN from encrytion under KD1 to encryption under KD2. |
org.javatuples.Pair<EncryptedPIN,byte[]> |
BaseSMAdapter.translatePINGenerateSM_MAC(MKDMethod mkdm,
SKDMethod skdm,
PaddingMethod padm,
SecureDESKey imksmi,
String accountNo,
String acctSeqNo,
byte[] atc,
byte[] arqc,
byte[] data,
EncryptedPIN currentPIN,
EncryptedPIN newPIN,
SecureDESKey kd1,
SecureDESKey imksmc,
SecureDESKey imkac,
byte destinationPINBlockFormat)
|
org.javatuples.Pair<EncryptedPIN,byte[]> |
SMAdapter.translatePINGenerateSM_MAC(MKDMethod mkdm,
SKDMethod skdm,
PaddingMethod padm,
SecureDESKey imksmi,
String accountNo,
String acctSeqNo,
byte[] atc,
byte[] arqc,
byte[] data,
EncryptedPIN currentPIN,
EncryptedPIN newPIN,
SecureDESKey kd1,
SecureDESKey imksmc,
SecureDESKey imkac,
byte destinationPINBlockFormat)
Translate PIN and generate MAC over suppiled message data This method is used by issuer to: translate standard ATM PIN block format encrypted under zone or terminal key kd1 to an application specific PIN block
format, encrypted under a confidentiality session key, derived from
imksmc
generate MAC over suppiled message data and translated
PIN block |
protected org.javatuples.Pair<EncryptedPIN,byte[]> |
BaseSMAdapter.translatePINGenerateSM_MACImpl(MKDMethod mkdm,
SKDMethod skdm,
PaddingMethod padm,
SecureDESKey imksmi,
String accountNo,
String acctSeqNo,
byte[] atc,
byte[] arqc,
byte[] data,
EncryptedPIN currentPIN,
EncryptedPIN newPIN,
SecureDESKey kd1,
SecureDESKey imksmc,
SecureDESKey imkac,
byte destinationPINBlockFormat)
Your SMAdapter should override this method if it has this functionality |
protected EncryptedPIN |
BaseSMAdapter.translatePINImpl(EncryptedPIN pinUnderDuk,
KeySerialNumber ksn,
SecureDESKey bdk,
SecureDESKey kd2,
byte destinationPINBlockFormat)
Your SMAdapter should override this method if it has this functionality |
protected EncryptedPIN |
BaseSMAdapter.translatePINImpl(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey kd2,
byte destinationPINBlockFormat)
Your SMAdapter should override this method if it has this functionality |
boolean |
BaseSMAdapter.verifyARQC(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imkac,
String accoutNo,
String acctSeqNo,
byte[] arqc,
byte[] atc,
byte[] upn,
byte[] transData)
|
boolean |
SMAdapter.verifyARQC(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imkac,
String accountNo,
String acctSeqNo,
byte[] arqc,
byte[] atc,
byte[] upn,
byte[] transData)
Verify Application Cryptogram (ARQC or TC/AAC) Authorization Request Cryptogram (ARQC) - Online authorization Transaction certificate (TC) - Offline approval Application Authentication Cryptogram (AAC) - Offline decline |
byte[] |
BaseSMAdapter.verifyARQCGenerateARPC(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imkac,
String accoutNo,
String acctSeqNo,
byte[] arqc,
byte[] atc,
byte[] upn,
byte[] transData,
ARPCMethod arpcMethod,
byte[] arc,
byte[] propAuthData)
|
byte[] |
SMAdapter.verifyARQCGenerateARPC(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imkac,
String accountNo,
String acctSeqNo,
byte[] arqc,
byte[] atc,
byte[] upn,
byte[] transData,
ARPCMethod arpcMethod,
byte[] arc,
byte[] propAuthData)
Verify Application Cryptogram (ARQC or TC/AAC) and Genarate Authorisation Response Cryptogram (ARPC) Authorization Request Cryptogram (ARQC) - Online authorization Transaction certificate (TC) - Offline approval Application Authentication Cryptogram (AAC) - Offline decline |
protected byte[] |
BaseSMAdapter.verifyARQCGenerateARPCImpl(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imkac,
String accountNo,
String acctSeqNo,
byte[] arqc,
byte[] atc,
byte[] upn,
byte[] transData,
ARPCMethod arpcMethod,
byte[] arc,
byte[] propAuthData)
Your SMAdapter should override this method if it has this functionality |
protected boolean |
BaseSMAdapter.verifyARQCImpl(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imkac,
String accountNo,
String acctSeqNo,
byte[] arqc,
byte[] atc,
byte[] upn,
byte[] transData)
Your SMAdapter should override this method if it has this functionality |
boolean |
BaseSMAdapter.verifyCVC3(SecureDESKey imkcvc3,
String accountNo,
String acctSeqNo,
byte[] atc,
byte[] upn,
byte[] data,
MKDMethod mkdm,
String cvc3)
|
boolean |
SMAdapter.verifyCVC3(SecureDESKey imkcvc3,
String accountNo,
String acctSeqNo,
byte[] atc,
byte[] upn,
byte[] data,
MKDMethod mkdm,
String cvc3)
Verify a Dynamic Card Verification Code 3 (CVC3) |
protected boolean |
BaseSMAdapter.verifyCVC3Impl(SecureDESKey imkcvc3,
String accountNo,
String acctSeqNo,
byte[] atc,
byte[] upn,
byte[] data,
MKDMethod mkdm,
String cvc3)
Your SMAdapter should override this method if it has this functionality |
boolean |
BaseSMAdapter.verifyCVV(String accountNo,
SecureDESKey cvkA,
SecureDESKey cvkB,
String cvv,
Date expDate,
String serviceCode)
|
boolean |
SMAdapter.verifyCVV(String accountNo,
SecureDESKey cvkA,
SecureDESKey cvkB,
String cvv,
Date expDate,
String serviceCode)
Verify a Card Verification Code/Value NOTE: cvkA and cvkB should be single
length keys but at least one of them may be double length key |
protected boolean |
BaseSMAdapter.verifyCVVImpl(String accountNo,
SecureDESKey cvkA,
SecureDESKey cvkB,
String cvv,
Date expDate,
String serviceCode)
Your SMAdapter should override this method if it has this functionality |
boolean |
BaseSMAdapter.verifydCVV(String accountNo,
SecureDESKey imkac,
String dcvv,
Date expDate,
String serviceCode,
byte[] atc,
MKDMethod mkdm)
|
boolean |
SMAdapter.verifydCVV(String accountNo,
SecureDESKey imkac,
String dcvv,
Date expDate,
String serviceCode,
byte[] atc,
MKDMethod mkdm)
Verify a Dynamic Card Verification Value (CVV) The EMV "Track 2 Equivalent Data", provided in the authorisation message and originating from the contactless smart card, is the source for the following data elements used in this function: accountNo
expDate
serviceCode
atc
dCVV |
protected boolean |
BaseSMAdapter.verifydCVVImpl(String accountNo,
SecureDESKey imkac,
String dcvv,
Date expDate,
String serviceCode,
byte[] atc,
MKDMethod mkdm)
Your SMAdapter should override this method if it has this functionality |
boolean |
BaseSMAdapter.verifyIBMPINOffset(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvk,
String offset,
String decTab,
String pinValData,
int minPinLen)
|
boolean |
SMAdapter.verifyIBMPINOffset(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvk,
String offset,
String decTab,
String pinValData,
int minPinLen)
Verify an PIN Offset using the IBM 3624 method |
protected boolean |
BaseSMAdapter.verifyIBMPINOffsetImpl(EncryptedPIN pinUnderKd,
SecureDESKey kd,
SecureDESKey pvk,
String offset,
String decTab,
String pinValData,
int minPinLen)
Your SMAdapter should override this method if it has this functionality |
boolean |
BaseSMAdapter.verifyPVV(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvki,
String pvv)
|
boolean |
SMAdapter.verifyPVV(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvki,
String pvv)
Verify PVV (VISA PIN Verification Value of an LMK encrypted PIN) NOTE: pvkA and pvkB should be single
length keys but at least one of them may be double length key |
protected boolean |
BaseSMAdapter.verifyPVVImpl(EncryptedPIN pinUnderKd,
SecureDESKey kd,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvki,
String pvv)
Your SMAdapter should override this method if it has this functionality |
| Uses of SecureDESKey in org.jpos.security.jceadapter |
|---|
| Methods in org.jpos.security.jceadapter that return SecureDESKey | |
|---|---|
SecureDESKey |
JCESecurityModule.generateKeyImpl(short keyLength,
String keyType)
|
SecureDESKey |
JCESecurityModule.importKeyImpl(short keyLength,
String keyType,
byte[] encryptedKey,
SecureDESKey kek,
boolean checkParity)
|
| Methods in org.jpos.security.jceadapter with parameters of type SecureDESKey | |
|---|---|
protected String |
JCESecurityModule.calculateCVVImpl(String accountNo,
SecureDESKey cvkA,
SecureDESKey cvkB,
Date expDate,
String serviceCode)
|
protected String |
JCESecurityModule.calculatePVVImpl(EncryptedPIN pinUnderLmk,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvkIdx,
List<String> excludes)
|
byte[] |
JCESecurityModule.exportKeyImpl(SecureDESKey key,
SecureDESKey kek)
|
EncryptedPIN |
JCESecurityModule.exportPINImpl(EncryptedPIN pinUnderLmk,
SecureDESKey kd2,
byte destinationPINBlockFormat)
|
protected byte[] |
JCESecurityModule.generateCBC_MACImpl(byte[] data,
SecureDESKey kd)
Generates CBC-MAC (Cipher Block Chaining Message Authentication Code) for some data. |
protected byte[] |
JCESecurityModule.generateEDE_MACImpl(byte[] data,
SecureDESKey kd)
Generates EDE-MAC (Encrypt Decrypt Encrypt Message Authentication Code) for some data. |
protected byte[] |
JCESecurityModule.generateKeyCheckValueImpl(SecureDESKey secureDESKey)
Generates key check value. |
protected byte[] |
JCESecurityModule.generateSM_MACImpl(MKDMethod mkdm,
SKDMethod skdm,
SecureDESKey imksmi,
String accountNo,
String accntSeqNo,
byte[] atc,
byte[] arqc,
byte[] data)
|
SecureDESKey |
JCESecurityModule.importKeyImpl(short keyLength,
String keyType,
byte[] encryptedKey,
SecureDESKey kek,
boolean checkParity)
|
EncryptedPIN |
JCESecurityModule.importPINImpl(EncryptedPIN pinUnderKd1,
SecureDESKey kd1)
|
protected org.javatuples.Pair<EncryptedPIN,byte[]> |
JCESecurityModule.translatePINGenerateSM_MACImpl(MKDMethod mkdm,
SKDMethod skdm,
PaddingMethod padm,
SecureDESKey imksmi,
String accountNo,
String accntSeqNo,
byte[] atc,
byte[] arqc,
byte[] data,
EncryptedPIN currentPIN,
EncryptedPIN newPIN,
SecureDESKey kd1,
SecureDESKey imksmc,
SecureDESKey imkac,
byte destinationPINBlockFormat)
|
EncryptedPIN |
JCESecurityModule.translatePINImpl(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey kd2,
byte destinationPINBlockFormat)
|
protected boolean |
JCESecurityModule.verifyCVC3Impl(SecureDESKey imkcvc3,
String accountNo,
String acctSeqNo,
byte[] atc,
byte[] upn,
byte[] data,
MKDMethod mkdm,
String cvc3)
|
protected boolean |
JCESecurityModule.verifyCVVImpl(String accountNo,
SecureDESKey cvkA,
SecureDESKey cvkB,
String cvv,
Date expDate,
String serviceCode)
|
protected boolean |
JCESecurityModule.verifydCVVImpl(String accountNo,
SecureDESKey imkac,
String dcvv,
Date expDate,
String serviceCode,
byte[] atc,
MKDMethod mkdm)
|
boolean |
JCESecurityModule.verifyPVVImpl(EncryptedPIN pinUnderKd1,
SecureDESKey kd1,
SecureDESKey pvkA,
SecureDESKey pvkB,
int pvki,
String pvv)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||