Question

Any recommended crypto libraries for Java. What I need is the ability to parse X.509 Certificates to extract the information contained in them.

Thanks

Was it helpful?

Solution

In Java, java.security.cert.CertificateFactory.

"A certificate factory for X.509 must return certificates that are an instance of java.security.cert.X509Certificate"

OTHER TIPS

There's a lot more in most certificates than what's handled by java.security.cert.X509Certificate. If you need to parse extension values, check out the Bouncy Castle Crypto API. (C# version is offered too.)

Java doesn't need crypto libraries, it ships with that functionality already. In particular, java.security.cert.X509Certificate.

You might also have a look at Keyczar, developed by google. This library tries to make security as simple as possible and might be easier to use than the standard java libraries...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top