From 1604a259e64964daea3d9fde3efb0acfb6fda3d4 Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Wed, 3 Aug 2011 21:43:06 +0000 Subject: This commit was manufactured by cvs2git to create tag 'OPENBSD_5_0_BASE'. --- src/lib/libcrypto/doc/PKCS7_decrypt.pod | 55 --------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 src/lib/libcrypto/doc/PKCS7_decrypt.pod (limited to 'src/lib/libcrypto/doc/PKCS7_decrypt.pod') diff --git a/src/lib/libcrypto/doc/PKCS7_decrypt.pod b/src/lib/libcrypto/doc/PKCS7_decrypt.pod deleted file mode 100644 index 325699d0b6..0000000000 --- a/src/lib/libcrypto/doc/PKCS7_decrypt.pod +++ /dev/null @@ -1,55 +0,0 @@ -=pod - -=head1 NAME - -PKCS7_decrypt - decrypt content from a PKCS#7 envelopedData structure - -=head1 SYNOPSIS - - #include - - int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags); - -=head1 DESCRIPTION - -PKCS7_decrypt() extracts and decrypts the content from a PKCS#7 envelopedData -structure. B is the private key of the recipient, B is the -recipients certificate, B is a BIO to write the content to and -B is an optional set of flags. - -=head1 NOTES - -OpenSSL_add_all_algorithms() (or equivalent) should be called before using this -function or errors about unknown algorithms will occur. - -Although the recipients certificate is not needed to decrypt the data it is needed -to locate the appropriate (of possible several) recipients in the PKCS#7 structure. - -The following flags can be passed in the B parameter. - -If the B flag is set MIME headers for type B are deleted -from the content. If the content is not of type B then an error is -returned. - -=head1 RETURN VALUES - -PKCS7_decrypt() returns either 1 for success or 0 for failure. -The error can be obtained from ERR_get_error(3) - -=head1 BUGS - -PKCS7_decrypt() must be passed the correct recipient key and certificate. It would -be better if it could look up the correct key and certificate from a database. - -The lack of single pass processing and need to hold all data in memory as -mentioned in PKCS7_sign() also applies to PKCS7_verify(). - -=head1 SEE ALSO - -L, L - -=head1 HISTORY - -PKCS7_decrypt() was added to OpenSSL 0.9.5 - -=cut -- cgit v1.2.3-55-g6feb