I want to write code that reads Username from other names under the name Alternative name from certificate.
I have X509 certification.
I did (certificate - X509Certificate object):
Collection san = certificate.getSubjectAlternativeNames()
How can I get the UPN?
Thank!
source
to share