Search code examples
javakeystorepkcs#12

How to parse a PKCS12 file programmatically in Java?


How to parse a PKCS12 file programmatically in Java?

When I tried to use KeyStore APIs in the my program, I got an "No Such Algorithm Exception" while decrypting Authsafe.

But, apart from using KeyStore, is there any other way to parse PKCS12 in Java?


Solution

  • Take a look at Bouncy Castle JAVA Api.

    Here's an example for PKCS 12