PKCS12_parse

2008-07-23 Thread Olivia Hudson
Hello, Is there a way to create a PKCS7 certificate from the cert and ca arguments returned from this function: int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, STACK_OF(X509) **ca); Given a PKCS12 credential, I need to create a PKCS7 file which includes the CA certi

Re: Extracting a certificate from a credential

2008-06-26 Thread Olivia Hudson
Thanks! Olivia On 6/26/08, Dr. Stephen Henson <[EMAIL PROTECTED]> wrote: > > On Thu, Jun 26, 2008, Olivia Hudson wrote: > > > Hello All, > > > > I'm new to openssl and was wondering if anyone knows what open ssl API to > > call to > > ex

Extracting a certificate from a credential

2008-06-26 Thread Olivia Hudson
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

Given a certificate (PKC#7 format) how can you determine the root certificate file name

2008-06-19 Thread Olivia Hudson
I'm writing code in C++ and to validate a certificate I need to verify it's chain back to the root certificate. The method that validates the certificate also needs the root certificate file name. How can I determine the root certificate file name for a given certificate? I know the directory where