calculate ARQC with method EMV2000_SKM

71 views
Skip to first unread message

hadi asgharnejad

unread,
Aug 4, 2017, 11:30:20 AM8/4/17
to jPOS Users
Hi All
I use JCESecurityModule to calc ARQC but not implememnted emv 200 method because not exist parameter for height and branch factor and when use throw this exception that it is normal because not implemented!!


byte[] calculateARQC(MKDMethod mkdm, SKDMethod skdm, SecureDESKey imkac, String accountNo, String accntSeqNo, byte[] atc, byte[] upn, byte[] transData) throws SMException {
if(mkdm == null) {
mkdm = MKDMethod.OPTION_A;

..........................................

default:
throw new SMException("Session Key Derivation " + skdm + " not supported");
}

return this.calculateMACISO9797Alg3(skac, transData);
}

Alejandro Revilla

unread,
Aug 4, 2017, 12:06:04 PM8/4/17
to jPOS Users
Awesome!!


hadi asgharnejad

unread,
Aug 4, 2017, 12:13:30 PM8/4/17
to jPOS Users
Is it possible to implement?

Alejandro Revilla

unread,
Aug 4, 2017, 12:30:35 PM8/4/17
to jPOS Users
First you need to work, a lot, on your question.


Reply all
Reply to author
Forward
0 new messages