Verify one PKCS#7 signer info's signature against content digested from bio.

Synopsis

Declared in <openssl/pkcs7.h>

int
PKCS7_signatureVerify(
    BIO* bio,
    PKCS7* p7,
    PKCS7_SIGNER_INFO* si,
    X509* signer);

Return Value

1 if the signature is valid, or 0 / a negative value on failure.

Parameters

Name

Description

bio

BIO supplying the signed content octets (digest input).

p7

Signed PKCS#7 structure containing the signer infos / certificates.

si

Signer info whose signature is verified.

signer

Certificate whose public key verifies si (may be from p7).

Created with MrDocs