Re: accessing certificate from memory

2000-11-13 Thread Stig Venaas
On Mon, Nov 13, 2000 at 10:49:29PM +, Dr S N Henson wrote: > Depends on what you mean by "in memory" if its PEM format in memory you > can use a memory BIO (see BIO_s_mem() manual page) if its in DER form > then you can use the d2i_X509() function directly (see FAQ for info). Ah, I see, BIO_s

Re: accessing certificate from memory

2000-11-13 Thread Dr S N Henson
Stig Venaas wrote: > > Hi > > I've figured how to read certificates from a file using > PEM_read_X509() but how can I access certificates already > in memory? I guess I could borrow code from the internals > of PEM_ASN1_read_bio(), but I'm hoping for a better way, > not depending on too many low

accessing certificate from memory

2000-11-13 Thread Stig Venaas
Hi I've figured how to read certificates from a file using PEM_read_X509() but how can I access certificates already in memory? I guess I could borrow code from the internals of PEM_ASN1_read_bio(), but I'm hoping for a better way, not depending on too many low level internals. Stig