diff options
Diffstat (limited to 'src/lib/libcrypto/doc/PKCS7_decrypt.pod')
| -rw-r--r-- | src/lib/libcrypto/doc/PKCS7_decrypt.pod | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libcrypto/doc/PKCS7_decrypt.pod b/src/lib/libcrypto/doc/PKCS7_decrypt.pod index 325699d0b6..78919998ce 100644 --- a/src/lib/libcrypto/doc/PKCS7_decrypt.pod +++ b/src/lib/libcrypto/doc/PKCS7_decrypt.pod | |||
| @@ -22,8 +22,9 @@ B<flags> is an optional set of flags. | |||
| 22 | OpenSSL_add_all_algorithms() (or equivalent) should be called before using this | 22 | OpenSSL_add_all_algorithms() (or equivalent) should be called before using this |
| 23 | function or errors about unknown algorithms will occur. | 23 | function or errors about unknown algorithms will occur. |
| 24 | 24 | ||
| 25 | Although the recipients certificate is not needed to decrypt the data it is needed | 25 | Although the recipients certificate is not needed to decrypt the data it is |
| 26 | to locate the appropriate (of possible several) recipients in the PKCS#7 structure. | 26 | needed to locate the appropriate (of possible several) recipients in the PKCS#7 |
| 27 | structure. | ||
| 27 | 28 | ||
| 28 | The following flags can be passed in the B<flags> parameter. | 29 | The following flags can be passed in the B<flags> parameter. |
| 29 | 30 | ||
| @@ -38,8 +39,9 @@ The error can be obtained from ERR_get_error(3) | |||
| 38 | 39 | ||
| 39 | =head1 BUGS | 40 | =head1 BUGS |
| 40 | 41 | ||
| 41 | PKCS7_decrypt() must be passed the correct recipient key and certificate. It would | 42 | PKCS7_decrypt() must be passed the correct recipient key and certificate. It |
| 42 | be better if it could look up the correct key and certificate from a database. | 43 | would be better if it could look up the correct key and certificate from a |
| 44 | database. | ||
| 43 | 45 | ||
| 44 | The lack of single pass processing and need to hold all data in memory as | 46 | The lack of single pass processing and need to hold all data in memory as |
| 45 | mentioned in PKCS7_sign() also applies to PKCS7_verify(). | 47 | mentioned in PKCS7_sign() also applies to PKCS7_verify(). |
