Hello ,
I leave you an example to create generate the key.
Keep in mind the rules to verify or generate the ARQC, in your notes I see that you want to use the pad to complete and that is not necessary, the API does it.
Table H–4: Example 3: Terminal and Card Input for CVN 18 with ATC '0001'
Terminal Input
|
Tag
|
Name
|
Value
|
'9F02'
|
Amount, Authorized
|
'000000000100'
|
'9F03'
|
Amount, Other
|
'000000000000'
|
'9F1A'
|
Terminal Country Code
|
'0840'
|
'95'
|
Terminal Verification Results
|
'0000000000'
|
'5F2A'
|
Transaction Currency Code
|
'0840'
|
'9A'
|
Transaction Date
|
'181231'
|
'9C'
|
Transaction Type
|
'01'
|
'9F37'
|
Unpredictable Number
|
'ABCDEF10'
|
Card Input
|
'82'
|
Application Interchange Profile
|
'1800'
|
'9F36'
|
Application Transaction Counter
|
'0001'
|
'9F10'
|
Issuer Application Data
|
'06011203000000'
|
Padded String:
'00000000010000000000000008400000000000084018123101ABCDEF101800000106011203000000' NO HACE LA API LO HACE 80000000000000'
LENGTH 80 CHAR 40 HEX
MOVE 3 TO RULE-ARRAY-COUNT
MOVE SPACES TO RULE-ARRAY
MOVE 'EMVMACD ' TO REGLA1
MOVE 'ONLY ' TO REGLA2
MOVE 'MACLEN8 ' TO REGLA3
Slds.,
Gustavo
------------------------------
Gustavo Ramirez
------------------------------
Original Message:
Sent: Fri August 05, 2022 02:20 AM
From: Dipin Jose
Subject: How to generate DKYGENKY - Key access DYL1 using DYL0 Master Derivation Key
This Rexx only works if my MDK DKYGENKY Key is DKYL1; but mine is DKYL0. I guess there is a way I can generate new DKYGENKY - DKYL1, but not sure how.
------------------------------
Dipin Jose
Original Message:
Sent: Thu August 04, 2022 04:19 PM
From: Eleanor Chan
Subject: How to generate DKYGENKY - Key access DYL1 using DYL0 Master Derivation Key
Here is a sample:
https://community.ibm.com/community/user/ibmz-and-linuxone/blogs/anna-deng1/2021/02/09/rexx-sample?CommunityKey=6593e27b-caf6-4f6c-a8a8-10b62a02509c
------------------------------
Eleanor Chan
Original Message:
Sent: Thu August 04, 2022 02:19 PM
From: Dipin Jose
Subject: How to generate DKYGENKY - Key access DYL1 using DYL0 Master Derivation Key
Hi All,
Can any one help me on how to generate DKYGENKY - Key access DYL1 using DYL0 Master Derivation Key/Token (CSNBKTB). and Using this new DKYGENKY - DYL1 how can use it to generate ARQC for CVN18.
Thanks
DJ
------------------------------
Dipin Jose
------------------------------