Verify a PKCS#7 signed content digest against a signer info and certificate store.
Declared in <openssl/pkcs7.h>
int
PKCS7_dataVerify(
X509_STORE* cert_store,
X509_STORE_CTX* ctx,
BIO* bio,
PKCS7* p7,
PKCS7_SIGNER_INFO* si);
1 if verification succeeds, or 0 / a negative value on failure.
| Name | Description |
|---|---|
| cert_store | Trusted store used to locate and validate the signer certificate. |
| ctx | Verification context reused or initialized for the signer certificate check. |
| bio | BIO supplying the signed content octets (digest input). |
| p7 | Signed PKCS#7 structure containing certificates and signer infos. |
| si | Signer info whose signature and digest are verified. |