Populate a PKCS#7 signer info with certificate, key, and digest algorithm.
Synopsis
Declared in <openssl/pkcs7.h>
int
PKCS7_SIGNER_INFO_set(
PKCS7_SIGNER_INFO* p7i,
X509* x509,
EVP_PKEY* pkey,
EVP_MD const* dgst);
Return Value
1 on success, or 0 on error.
Parameters
Name |
Description |
p7i |
SignerInfo to configure. |
x509 |
Signer's certificate (sets issuer/serial). |
pkey |
Signer's private key. |
dgst |
Digest algorithm used for the signature. |
Created with MrDocs