OPENSSL_cleanse()

2014-10-23 Thread Vladimir Zatsepin
Hi, Does somebody know how OPENSSL_cleanse() works? I don't understand what this [17, 63, 0xF] values means. Why such values were chosen?

Re: How to decrypt smime.p7m file in DER format using OpenSSL in C code.

2014-06-05 Thread Vladimir Zatsepin
Hi, To load a DER-encoded PKCS7 structure from the file you have to use d2i_PKCS7_bio() function. 2014-06-05 15:51 GMT+04:00 Yash Dosi yashd...@gmail.com: Hi All, I am trying to decrypt emails using openssl. I am getting smime.p7m file from the server. But it is in DER format. I can

Re: PKCS7_sign PKCS7_verify

2014-05-27 Thread Vladimir Zatsepin
Dave, As I know the PKCS7_BINARY flag is used to prevent a binary data from translation to MIME format. It always leads to data corruption. I advise to use this flag when a binary data is to be signed. 2014-05-28 2:39 GMT+04:00 Dave Thompson dthomp...@prinpay.com: The third arg of

Re: overview of server certificate mechanism with open ssl

2014-04-14 Thread Vladimir Zatsepin
Hi, A certificate is not secret information itself. It may be distributed over LAN or Internet as free. A certificate doesn't contain a private key. A certificate can not be stolen. Every certificate has a special field inside it - fingerprint. This field contain sha-1 or md5 digest value which

STORE support

2014-04-09 Thread Vladimir Zatsepin
Hi all, Since 1.0.0 version the STORE functionallity has been removed from openssl distirbutive by default. We may see in CHANGES *) Removed effectively defunct crypto/store from the build. [Ben Laurie] Does anybody know why the STORE support has been disabled?