Re: Extracting a certificate from a credential
On Thu, Jun 26, 2008, Olivia Hudson wrote:
[color=blue]
> Hello All,
>
> I'm new to openssl and was wondering if anyone knows what open ssl API to
> call to
> extract a PKCS7 certificate from a credential(PKCS12).
>[/color]
I'm not sure what you mean by "PKCS7 certificate". PKCS7 is (among other
things) a format for packaging certificates but not a certificate format
itself.
You can extract a certificate from a PKCS#12 file using PKCS12_parse() and
convert it to PKCS#7 format using the PKCS7 APIs (see crl2pkcs7 for an
example).
Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: [url]http://www.drh-consultancy.demon.co.uk[/url]
______________________________________________________________________
OpenSSL Project [url]http://www.openssl.org[/url]
User Support Mailing List [email]openssl-users@openssl.org[/email]
Automated List Manager [email]majordomo@openssl.org[/email]
Extracting a certificate from a credential
Hello All,
I'm new to openssl and was wondering if anyone knows what open ssl API to
call to
extract a PKCS7 certificate from a credential(PKCS12).
thanks,
Olivia
Re: Extracting a certificate from a credential
Thanks!
Olivia
On 6/26/08, Dr. Stephen Henson <steve@openssl.org> wrote:[color=blue]
>
> On Thu, Jun 26, 2008, Olivia Hudson wrote:
>[color=green]
> > Hello All,
> >
> > I'm new to openssl and was wondering if anyone knows what open ssl API to
> > call to
> > extract a PKCS7 certificate from a credential(PKCS12).
> >[/color]
>
> I'm not sure what you mean by "PKCS7 certificate". PKCS7 is (among other
> things) a format for packaging certificates but not a certificate format
> itself.
>
> You can extract a certificate from a PKCS#12 file using PKCS12_parse() and
> convert it to PKCS#7 format using the PKCS7 APIs (see crl2pkcs7 for an
> example).
>
> Steve.
> --
> Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
> OpenSSL project core developer and freelance consultant.
> Homepage: [url]http://www.drh-consultancy.demon.co.uk[/url]
> ______________________________________________________________________
> OpenSSL Project [url]http://www.openssl.org[/url]
> User Support Mailing List [email]openssl-users@openssl.org[/email]
> Automated List Manager [email]majordomo@openssl.org[/email]
>[/color]