Sponsored Content
Full Discussion: libcrypto.so.0.9.7
Operating Systems Solaris libcrypto.so.0.9.7 Post 302444107 by hergp on Wednesday 11th of August 2010 01:27:20 AM
Old 08-11-2010
With
Code:
/usr/ccs/bin/nm libcrypto.so.0.9.7

you can get the symbol table of the shared library. Look at the entries with type FUNC and binding GLOB, these are the functions defined in the library.
 

2 More Discussions You Might Find Interesting

1. Programming

Linking in OpenSSL libcrypto Statically

I have a C++ program which includes lots of libraries, including openssl libcrypto. In fact, the g++ switches are: -lxml2 -lcrypto -lcurl etc. The problem is that when I try to run it on a different flavor of Linux, it complains that it cannot load libcrypto.so.8. I did some research and... (20 Replies)
Discussion started by: BrandonShw
20 Replies

2. UNIX for Advanced & Expert Users

Curl: fatal: libcrypto.so.1.0.0

Hi, I've installed curl with all despondency but when I try to start it I get: root@xxx> curl ld.so.1: curl: fatal: libcrypto.so.1.0.0: open failed: No such file or directory Killed Looks like I have to change/make symlinks but I don't know how/where. Any idia? ---------- Post... (3 Replies)
Discussion started by: mehrdad68
3 Replies
PKCS7_decrypt(3)						      OpenSSL							  PKCS7_decrypt(3)

NAME
PKCS7_decrypt - decrypt content from a PKCS#7 envelopedData structure LIBRARY
libcrypto, -lcrypto SYNOPSIS
#include <openssl/pkcs7.h> int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags); DESCRIPTION
PKCS7_decrypt() extracts and decrypts the content from a PKCS#7 envelopedData structure. pkey is the private key of the recipient, cert is the recipients certificate, data is a BIO to write the content to and flags is an optional set of flags. 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 flags parameter. If the PKCS7_TEXT flag is set MIME headers for type text/plain are deleted from the content. If the content is not of type text/plain then an error is returned. RETURN VALUES
PKCS7_decrypt() returns either 1 for success or 0 for failure. The error can be obtained from ERR_get_error(3) 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(). SEE ALSO
ERR_get_error(3), PKCS7_encrypt(3) HISTORY
PKCS7_decrypt() was added to OpenSSL 0.9.5 1.0.1i 2009-07-20 PKCS7_decrypt(3)
All times are GMT -4. The time now is 12:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy