Re: Reading in memory DER using BIO

2006-09-14 Thread Marek Marcola
Hello, > Is there a way that i can get an X509 cert from an array holding a cert in > DER format. > So my question is How do i read a DER using a BIO cause the cert in is > memory and not in a file (for file i know there are d2i functions that > return X509). You may use something like that:

Re: Reading in memory DER using BIO

2006-09-14 Thread Marek Marcola
Hello, > Is there a way that i can get an X509 cert from an array holding a cert in > DER format. > So my question is How do i read a DER using a BIO cause the cert in is > memory and not in a file (for file i know there are d2i functions that > return X509). You may use something like that: /

RE: Reading in memory DER using BIO

2006-09-13 Thread David Schwartz
> So my question is How do i read a DER using a BIO cause the cert in is > memory and not in a file (for file i know there are d2i functions that > return X509). There are d2i functions that take memory pointers and there are d2i functions that take a BIO. See http://www.openssl.org/docs/