Re: Decrypting pkcs7 messages

2005-08-18 Thread Tan Eng Ten
Hi, U can loop through every PKCS7_RECIP_INFO object in P7->d.enveloped->recipientinfo stack and print the issuer and serial like: X509_NAME_print(bio, recp_info->issuer_and_serial->issuer, ) i2a_ASN1_INTEGER(bio, recp_info->issuer_and_serial->serial, .) Hadmut Danisch wrote: Hi, a q

Decrypting pkcs7 messages

2005-08-18 Thread Hadmut Danisch
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

pkcs7 messages

2002-11-25 Thread Waitman C. Gobble, II
Hello I am new to this newsgroup, additionally new to openssl. I would like to encrypt messages sent from server to client, after reading through various documents on the Internet I have figured out a process that _appears_ to work. I would appreciate if someone could verify that it is indeed co

Pkcs7 Messages is empty. Why ??

1999-10-08 Thread Peter Naber
Hi, i will encrypt a text message with the pkcs7 "enc" tool. So i encrypt the message: enc -k test.txt Now I convert it into MIME base64 with the Perl Mime Tools "MIME-tools-4.122" After this I send it via sendmail with the headers: Content-Type: application/x-pkcs7-mime; name="smime.p7m" Cont