Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想编写一个代码,从证书的主题备用名称下的其他名称中读取用户主体名称。
我有一个 X509Certificate。
我做了(证书是 X509Certificate 对象):
Collection san = certificate.getSubjectAlternativeNames()
如何获取用户主体名称?
谢谢!
找到它 http://svn.eparapher.com/trunk/org.eparapher.core/src/main/java/org/eparapher/core/crypto/cert/CertificateInfo.java