x509 certificate parsing libraries for Java

走远了吗. 提交于 2019-12-02 03:19:06

In Java, java.security.cert.CertificateFactory.

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

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...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!