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.
証明書のSubject Alternative nameの下にあるOther namesからUser Principal Nameを読み取るコードを書きたいと思います。
X509証明書を持っています。
私はしました(証明書はX509Certificateオブジェクトです):
Collection san = certificate.getSubjectAlternativeNames()
ユーザー プリンシパル名を取得するにはどうすればよいですか?
ありがとう!
それを見つけた http://svn.eparapher.com/trunk/org.eparapher.core/src/main/java/org/eparapher/core/crypto/cert/CertificateInfo.java