Changeset 94082 in vbox for trunk/src/libs/openssl-3.0.1/doc/man3/PKCS7_encrypt.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_encrypt.pod
r91772 r94082 3 3 =head1 NAME 4 4 5 PKCS7_encrypt - create a PKCS#7 envelopedData structure 5 PKCS7_encrypt_ex, PKCS7_encrypt 6 - create a PKCS#7 envelopedData structure 6 7 7 8 =head1 SYNOPSIS … … 9 10 #include <openssl/pkcs7.h> 10 11 12 PKCS7 *PKCS7_encrypt_ex(STACK_OF(X509) *certs, BIO *in, 13 const EVP_CIPHER *cipher, int flags, 14 OSSL_LIB_CTX *libctx, const char *propq); 11 15 PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher, 12 16 int flags); … … 14 18 =head1 DESCRIPTION 15 19 16 PKCS7_encrypt () creates and returns a PKCS#7 envelopedData structure. B<certs>17 is a list of recipient certificates. B<in> is the content to be encrypted. 18 B<cipher> is the symmetric cipher to use. B<flags> is an optional set of flags. 19 20 =head1 NOTES 20 PKCS7_encrypt_ex() creates and returns a PKCS#7 envelopedData structure. 21 I<certs> is a list of recipient certificates. I<in> is the content to be 22 encrypted. I<cipher> is the symmetric cipher to use. I<flags> is an optional set 23 of flags. The library context I<libctx> and the property query I<propq> are used 24 when retrieving algorithms from providers. 21 25 22 26 Only RSA keys are supported in PKCS#7 and envelopedData so the recipient … … 53 57 suitable for streaming I/O: no data is read from the BIO B<in>. 54 58 55 =head1 NOTES56 57 59 If the flag B<PKCS7_STREAM> is set the returned B<PKCS7> structure is B<not> 58 60 complete and outputting its contents via a function that does not … … 65 67 BIO_new_PKCS7(). 66 68 69 PKCS7_encrypt() is similar to PKCS7_encrypt_ex() but uses default 70 values of NULL for the library context I<libctx> and the property query I<propq>. 71 67 72 =head1 RETURN VALUES 68 73 69 PKCS7_encrypt () returns either a PKCS7 structure or NULL if an error occurred.70 The error can be obtained from ERR_get_error(3).74 PKCS7_encrypt_ex() and PKCS7_encrypt() return either a PKCS7 structure 75 or NULL if an error occurred. The error can be obtained from ERR_get_error(3). 71 76 72 77 =head1 SEE ALSO … … 76 81 =head1 HISTORY 77 82 83 The function PKCS7_encrypt_ex() was added in OpenSSL 3.0. 84 78 85 The B<PKCS7_STREAM> flag was added in OpenSSL 1.0.0. 79 86 80 87 =head1 COPYRIGHT 81 88 82 Copyright 2002-20 16The OpenSSL Project Authors. All Rights Reserved.89 Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved. 83 90 84 Licensed under the OpenSSL license(the "License"). You may not use91 Licensed under the Apache License 2.0 (the "License"). You may not use 85 92 this file except in compliance with the License. You can obtain a copy 86 93 in the file LICENSE in the source distribution or at
Note:
See TracChangeset
for help on using the changeset viewer.