On Fri, May 30, 2008, Massimiliano Ziccardi wrote:

> Hi all.
> The attached file is the PEM encoding of a file structured this way:
> 
> SIGNATURE 1
>    COUNTER SIGNATURE 1 of SIGNATURE 1
>        COUNTER SIGNATURE 1 of COUNTER SIGNATURE 1 of SIGNATURE 1
> 
> each signer has a different signature certificate (3 certificate total).
> 
> Why the
>     STACK_OF(X509) *pSigners = PKCS7_get0_signers(m_pP7, NULL, 0);
> 
> retruns only 1 certificate?
> 

OpenSSL doesn't have automatic support for counter signatures. It only returns
the signer for SIGNATURE 1 in your example.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to