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!

get Modulus and exp from public key

843811Dec 10 2005 — edited Dec 14 2005
Hi friends,
I'm extracting the public key from the X.509 certificate .Is there
any way i can extract modulus and exponent from the public
key. i'm using bouncy castle api . Any suggestions are greatly appreciated.

//Generate Certificate
//Extract public key
PublicKey merchKey = cert.getPublicKey();
//Pls suggest the way to extract mod and exp from public key
Regards
Jag
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 11 2006
Added on Dec 10 2005
2 comments
698 views