Re: Importing RSA Public Key generated by JRE

2006-09-14 Thread Marek Marcola
Hello, > I am attempting to import a RSA Public Key file generated by JRE 5.0 using > OpenSSL. > > As I understand it, JRE's RSA Public Key is in X.509's SubjectPublicKeyInfo > structure. Then you should try d2i_RSA_PUBKEY(). Best regards, -- Marek Marcola <[EMAIL PROTECTED]>

Importing RSA Public Key generated by JRE

2006-09-13 Thread Hon.Hwang
Hi all, I am attempting to import a RSA Public Key file generated by JRE 5.0 using OpenSSL. As I understand it, JRE's RSA Public Key is in X.509's SubjectPublicKeyInfo structure. I saved the byte array returned by JRE's RSAPublicKey.getEncoded() into a file. Now I like to import this byte a