Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a padding option to cryptogram builder #577

Merged
merged 6 commits into from
Dec 24, 2023

Conversation

T-eli
Copy link
Contributor

@T-eli T-eli commented Dec 21, 2023

changes:

  • added Padding Method interface

  • added a buildARQCRequest method with PaddingMethod paramater to return Cryptograms data with specified padding

  • added CPA or Common Payment Application Cryptogram Specs

  • added fix for IssuerApplicationData does not match if iad is lowercase

  • added tests

  • fix typos/text

note:

i am not entirely sure about the getDefaultARPCRequest return for CPA CryptogramSpecs so i set it to Ascii Hex String 3030 for approved and 3031 for declined.

@T-eli
Copy link
Contributor Author

T-eli commented Dec 21, 2023

I have also added ISO9797 Padding Method 3 in the Latest commit

@ar ar merged commit 41cd7e0 into jpos:master Dec 24, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants