sign,verify function problem???

2007-09-05 Thread xor exor
Hi i'm trying to sign some data with PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, BIO *data, int flags); that function.Therefore the problem is i want to include into pkcs7 document the cert chain. I use that function in python so i'm not very good at C :). The thing i

Certification Chain-Help

2007-08-27 Thread xor exor
Hi i have 3 certs 1.root self signed CA 2.intermediate CA-signed with root CA 3.client cert -signed with intermediate CA So i want with them to create a cert chain and sign a pkcs7 document.(By including them into the pkcs 7 document a detached one) And after that to verify the pkcs 7 document by