RE: how to extract an RSA public key

2012-09-03 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Carolin Latze > Sent: Monday, 03 September, 2012 10:48 > I guess I just got it if the only way is to use the PEM API? > > > Hi all, > > > > is there an API call that allows to extract an RSA public key (out of an > > RSA structure) or should I

Re: how to extract an RSA public key

2012-09-03 Thread Carolin Latze
I guess I just got it if the only way is to use the PEM API? > Hi all, > > is there an API call that allows to extract an RSA public key (out of an > RSA structure) or should I just access rsa->n and rsa->e directly? I > cannot find an API call RSA_* that gives me the public key, but the > documen

how to extract an RSA public key

2012-09-03 Thread Carolin Latze
Hi all, is there an API call that allows to extract an RSA public key (out of an RSA structure) or should I just access rsa->n and rsa->e directly? I cannot find an API call RSA_* that gives me the public key, but the documentation (http://www.openssl.org/docs/crypto/rsa.html) says one should not