Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to extract / read email value (RFC822) from X509Certificate

843811Apr 17 2006 — edited May 3 2006
Hello

Simply want to read the email of a certificate (X.509) attached to a digital signature of pdf files.

I am using BouncyCastleProvider as scurtiy provider, and profit to obtain certificates, but I cannot obtain the email.

IssueDN:
C=ES,O=FNMT,OU=FNMT Clase 2 CA
SubjectDN returns:
C=ES, o=fnmt, ou=fnmt Class 2 CA, ou=508479905, cn=FRANCESCOLLI ENZO FERRERO - NIF 788211366X
don't have email in subject or issue.
If open pdf with acrobat, and see singnature and certificates properties, can see email, it exist and have rigth value.

Any idea?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 31 2006
Added on Apr 17 2006
6 comments
1,177 views