aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. David von Oheimb <[email protected]>2022-07-29 11:32:50 +0200
committerTomas Mraz <[email protected]>2026-09-03 11:26:53 +0200
commitafa68ed2e00d560f4c71a5e7a8ef2046b49bdd83 (patch)
treeab1aa8642ea3eede96136e8fbca020bcf9616a6a /include
parent{CMS,PKCS7}_verify.pod: add hint how to override the default 'smime_sign' pur... (diff)
downloadopenssl-afa68ed2e00d560f4c71a5e7a8ef2046b49bdd83.tar.gz
openssl-afa68ed2e00d560f4c71a5e7a8ef2046b49bdd83.zip
PKCS7 and SMIME: improve documentation w.r.t. untrusted and signer certificates
Reviewed-by: Mounir Idrassi <[email protected]> Reviewed-by: Dmitry Belyavskiy <[email protected]> Reviewed-by: Eugene Syromiatnikov <[email protected]> Merge-date: Thu Sep 3 09:26:56 2026 Merged-from: https://github.com/openssl/openssl/pull/22285
Diffstat (limited to 'include')
-rw-r--r--include/openssl/pkcs7.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/pkcs7.h.in b/include/openssl/pkcs7.h.in
index f0b1c13de95..c9edcdd7acb 100644
--- a/include/openssl/pkcs7.h.in
+++ b/include/openssl/pkcs7.h.in
@@ -91,6 +91,7 @@ typedef struct pkcs7_recip_info_st {
typedef struct pkcs7_signed_st {
ASN1_INTEGER *version; /* version 1 */
STACK_OF(X509_ALGOR) *md_algs; /* md used */
+ /* untrusted certificates for chain building, may include signer certs: */
STACK_OF(X509) *cert; /* [ 0 ] */ /* name should be 'certificates' */
STACK_OF(X509_CRL) *crl; /* [ 1 ] */ /* name should be 'crls' */
STACK_OF(PKCS7_SIGNER_INFO) *signer_info;
@@ -118,6 +119,7 @@ typedef struct pkcs7_enveloped_st {
typedef struct pkcs7_signedandenveloped_st {
ASN1_INTEGER *version; /* version 1 */
STACK_OF(X509_ALGOR) *md_algs; /* md used */
+ /* untrusted certificates for chain building, may include signer certs: */
STACK_OF(X509) *cert; /* [ 0 ] */ /* name should be 'certificates' */
STACK_OF(X509_CRL) *crl; /* [ 1 ] */ /* name should be 'crls' */
STACK_OF(PKCS7_SIGNER_INFO) *signer_info;