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:
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:
/
> 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/