Re: RSA read and write to and from file

2000-11-30 Thread Jim Grimmett
From: "A. Konigsdorfer" <[EMAIL PROTECTED]> > > Would it be possible to use the i2d_RSAPublicKey(...) code the RSA > public key to DER and write the result out to a binary file? > > After that, d2i_RSAPrivateKey(...) could be used to restore the RSA > structure. I have never done that. I'm doin

RE: RSA read and write to and from file

2000-11-30 Thread A. Konigsdorfer
Title: RE: RSA read and write to and from file   > If you have a private key in an RSA structure and just want > to write out > the public components then you can use > PEM_write_RSAPublicKey() and read > it in with PEM_read_RSAPublicKey(). The key read back will then just &g

Re: RSA read and write to and from file

2000-11-30 Thread Dr S N Henson
[EMAIL PROTECTED] wrote: > > Hi, > > I am having a problem with the RSA functions of the openssl package. > I want to generate an RSA key pair. Write them to disk and use them later > (this all in linux/AIX) > I managed to generate a keypair. But then the problem starts. I cant find > any func

RSA read and write to and from file

2000-11-30 Thread nl89071
Hi, I am having a problem with the RSA functions of the openssl package. I want to generate an RSA key pair. Write them to disk and use them later (this all in linux/AIX) I managed to generate a keypair. But then the problem starts. I can´t find any functions to write the whole key (not just pr