Thanks for your help. With this I have solved the problem.
Dr. Stephen Henson wrote:
On Thu, Feb 19, 2004, Manuel Sánchez Cuenca wrote:
But, how can I do it in a C program.
Unfortunately there isn't a function to do this so you'll have to do it the
"ugly way" which involves accessing th
On Thu, Feb 19, 2004, Manuel Sánchez Cuenca wrote:
> But, how can I do it in a C program.
>
Unfortunately there isn't a function to do this so you'll have to do it the
"ugly way" which involves accessing the structures directly.
Have a look at the print_certs code in apps/pkcs7.c
Steve.
--
Dr
But, how can I do it in a C program.
Dr. Stephen Henson wrote:
On Thu, Feb 19, 2004, Manuel Sánchez Cuenca wrote:
Hello all,
Anybody can tell me how can I get all the certificates enclosed in a
PKCS#7 structure.
I may have misread your query. If you want to *pack* certificates into a
How can I get additional certificates?
Dr. Stephen Henson wrote:
On Thu, Feb 19, 2004, Andrzej Posiadala wrote:
When you've already read a PKCS#7 message into memory and you have it
under
PKCS7 * p7 pointer , try this:
STACK_OF(X509) *certs;
X509 * tmpCert;
certs = PKCS7_get0_signers(p7,
But I want to get all the certificates that I have put in the certs
param of PKCS7_sign, not only the signers.
Andrzej Posiadala wrote:
When you've already read a PKCS#7 message into memory and you have it
under
PKCS7 * p7 pointer , try this:
STACK_OF(X509) *certs;
X509 * tmpCert;
certs = PK