Re: Extra : read and write RSA keys, help

2000-12-02 Thread Dr S N Henson
Geoff Thorpe wrote: > > Hi there, > > I think I follow your question. An RSA private key implicitly contains the > public key already[1]. So if you have generated a key-pair and saved them > to disk - you're already most of the way there. If you don't still have > the private key in memory, load

Re: Extra : read and write RSA keys, help

2000-12-02 Thread Geoff Thorpe
Hi there, I think I follow your question. An RSA private key implicitly contains the public key already[1]. So if you have generated a key-pair and saved them to disk - you're already most of the way there. If you don't still have the private key in memory, load the private key back up. Either wa

Extra : read and write RSA keys, help

2000-12-02 Thread Thijs Volders
Hi, I recently posted a question about reading and writing RSA keys. I want to write the public key to a seperate file because that file needs to be distributed. But when i read it, I first of all get "expecting public key" error from PEM_read_bio_PUBKEY(). Won't the original RSA structure be