Hi, a question about pkcs7 decryption:
An encrypted pkcs7 message (enveloped) contains a list of recipient info objects (i.e. the subject name of the issuer and the serial number of the certificates used for encryption). When I pass a certificate and a private key to the library, the library uses that list to find the matching RSA encrypted session key. But to do so I need to know which private key to use. If I don't know yet which key is to be used for decryption, it would be nice to extract this list from a pkcs7 message to check whether I have any of these keys. How would I get this list of recipient_info records from the openssl API? regards Hadmut ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]