Changeset 94082 in vbox for trunk/src/libs/openssl-3.0.1/doc/man3/PKCS7_sign.pod
- Timestamp:
- Mar 3, 2022 7:17:34 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150325
- Location:
- trunk/src/libs/openssl-3.0.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.1
- Property svn:mergeinfo
-
old new 12 12 /vendor/openssl/1.1.1c:131722-131725 13 13 /vendor/openssl/1.1.1k:145841-145843 14 /vendor/openssl/3.0.1:150323-150324 15 /vendor/openssl/current:147554-150322
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.1/doc/man3/PKCS7_sign.pod
r91772 r94082 3 3 =head1 NAME 4 4 5 PKCS7_sign - create a PKCS#7 signedData structure 5 PKCS7_sign_ex, PKCS7_sign 6 - create a PKCS#7 signedData structure 6 7 7 8 =head1 SYNOPSIS … … 9 10 #include <openssl/pkcs7.h> 10 11 12 PKCS7 *PKCS7_sign_ex(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, 13 BIO *data, int flags, OSSL_LIB_CTX *libctx, 14 const char *propq); 11 15 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, 12 16 BIO *data, int flags); … … 14 18 =head1 DESCRIPTION 15 19 16 PKCS7_sign() creates and returns a PKCS#7 signedData structure. B<signcert> is 17 the certificate to sign with, B<pkey> is the corresponding private key. 18 B<certs> is an optional additional set of certificates to include in the PKCS#7 19 structure (for example any intermediate CAs in the chain). 20 PKCS7_sign_ex() creates and returns a PKCS#7 signedData structure. 21 I<igncert> is the certificate to sign with, Ipkey> is the corresponding 22 private key. I<certs> is an optional additional set of certificates to include 23 in the PKCS#7 structure (for example any intermediate CAs in the chain). The 24 library context I<libctx> and property query I<propq> are used when 25 retrieving algorithms from providers. 20 26 21 27 The data to be signed is read from BIO B<data>. 22 28 23 29 B<flags> is an optional set of flags. 24 25 =head1 NOTES26 30 27 31 Any of the following flags (ored together) can be passed in the B<flags> … … 67 71 which additional signers and capabilities can be added before finalization. 68 72 69 =head1 NOTES70 71 73 If the flag B<PKCS7_STREAM> is set the returned B<PKCS7> structure is B<not> 72 74 complete and outputting its contents via a function that does not properly … … 93 95 B<NOT> be NULL. 94 96 97 PKCS7_sign() is similar to PKCS7_sign_ex() but uses default values of 98 NULL for the library context I<libctx> and the property query I<propq>. 99 95 100 =head1 BUGS 96 101 … … 99 104 =head1 RETURN VALUES 100 105 101 PKCS7_sign () returns either a valid PKCS7 structure or NULL if an error102 o ccurred. The error can be obtained from ERR_get_error(3).106 PKCS7_sign_ex() and PKCS7_sign() return either a valid PKCS7 structure 107 or NULL if an error occurred. The error can be obtained from ERR_get_error(3). 103 108 104 109 =head1 SEE ALSO … … 107 112 108 113 =head1 HISTORY 114 115 The function PKCS7_sign_ex() was added in OpenSSL 3.0. 109 116 110 117 The B<PKCS7_PARTIAL> flag, and the ability for B<certs>, B<signcert>, … … 115 122 =head1 COPYRIGHT 116 123 117 Copyright 2002-20 16The OpenSSL Project Authors. All Rights Reserved.124 Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved. 118 125 119 Licensed under the OpenSSL license(the "License"). You may not use126 Licensed under the Apache License 2.0 (the "License"). You may not use 120 127 this file except in compliance with the License. You can obtain a copy 121 128 in the file LICENSE in the source distribution or at
Note:
See TracChangeset
for help on using the changeset viewer.