Skip to content

Commit

Permalink
simple text fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
T-eli committed Dec 14, 2023
1 parent b14e893 commit 9003ff1
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 27 deletions.
2 changes: 1 addition & 1 deletion jpos/src/main/java/org/jpos/security/BaseSMAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -2035,7 +2035,7 @@ protected boolean verifyCVC3Impl(T imkcvc3, String accountNo, String acctSeqNo,
* @param atc
* @param upn
* @param txnData
* @return true if ARQC/TC/AAC is falid or false if not
* @return true if ARQC/TC/AAC is valid or false if not
* @throws SMException
*/
protected boolean verifyARQCImpl(MKDMethod mkdm, SKDMethod skdm, T imkac
Expand Down
51 changes: 26 additions & 25 deletions jpos/src/main/java/org/jpos/security/SKDMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,33 +32,34 @@
*/
public enum SKDMethod {

/**
* Visa Smart Debit/Credit or UKIS in England
* <br>
* Described in Visa Integrated Circuit Card
* Specification (VIS) Version 1.5 - May 2009, section B.4
*/
VSDC
/**
* Visa Smart Debit/Credit or UKIS in England
* <br>
* Described in Visa Integrated Circuit Card
* Specification (VIS) Version 1.5 - May 2009, section B.4
*/
VSDC,

/**
* MasterCard Proprietary SKD method
*/
,MCHIP
/**
* American Express
*/
,AEPIS_V40
/**
* MasterCard Proprietary SKD method
*/
MCHIP,

/**
* EMV Common Session Key Derivation Method
* Described in EMV v4.2 Book 2 - June 2008, Annex A1.3
*/
,EMV_CSKD
/**
* American Express
*/
AEPIS_V40,

/**
* EMV2000 Session Key Method
* Described in EMV 2000 v4.0 Book 2 - December 2000, Annex A1.3
*/
,EMV2000_SKM
/**
* EMV Common Session Key Derivation Method
* Described in EMV v4.2 Book 2 - June 2008, Annex A1.3
*/
EMV_CSKD,

/**
* EMV2000 Session Key Method
* Described in EMV 2000 v4.0 Book 2 - December 2000, Annex A1.3
*/
EMV2000_SKM,

}
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ private static byte[] preparePANPSN(String pan, String psn){
* </ul>
* @param pan application primary account number
* @param psn PAN Sequence Number
* @return 8-bytes representing first 16 digits
* @return 8-bytes representing rightmost 16 digits
*/
private static byte[] formatPANPSNOptionA(String pan, String psn){
if ( pan.length() < 14 )
Expand Down

0 comments on commit 9003ff1

Please sign in to comment.