Re: JWE-JWS encryption - java
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
September 2023
September 2023
JWE-JWS encryption - java
hi
I have downloaded JWE-JWS encryption sample code. I am getting compilation error in CertificateUtils.java class. there is no DatatypeConverter class available. Can you please guide me how to use this sample code? I have to use this code in Token inquiry by pan API.
byte[] encodedPrivateKey = DatatypeConverter.parseBase64Binary(privateKey);
return (RSAPrivateKey) KeyFactory.getInstance("RSA").generatePrivate(ne
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
September 2023
September 2023
Re: JWE-JWS encryption - java
Hi, @rajni. Thank you for reaching out! An agent will look into this and get back to you as soon as possible. If any community member knows a solution, please reply here.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
January 2024
January 2024
Re: JWE-JWS encryption - java
Hi @rajni,
You can try using the Visa Developer Playground tool guide to test the API. Make sure to download the certificates and create a client keystore. Here's the link to the guide. Try the test again and let us know if you need further assistance.