AES encryption/decryption sample code needed

2005-01-21 Thread Lule Chen
Title: Message Hi, can someone show me the sample code that how to call the openssl library to do AES(Rijndael) encryption/decryption? Another thing doe anyone know if I can use openssl to do the AES encryption and use JCE to do the decryption or vise verse?   Thanks     Louis

Re: openssl smime signing and corrupt message (own code)

2005-01-21 Thread michal wodzinski
On Fri, 21 Jan 2005, Victor B. Wagner wrote: > > The ^@ sign is right above the second mime boundary. > > ^@ is an indication of the ASCII NUL (symbol with code zero), Ahh, thanks... I was really wondering what it meant :) > So, anything wrong can happen if program, which treates in input as te

RE: SSL error: no cipher list

2005-01-21 Thread Henry Su
No sure if you have set it or not. If not, you can try following example: #define CIPHER_LIST "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH" SSL_CTX_set_cipher_list(ctx, CIPHER_LIST) ; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Yuriy Synov Sent: Friday, January 2

Re: openssl smime signing and corrupt message (own code)

2005-01-21 Thread Victor B. Wagner
On 2005.01.21 at 15:46:01 +0100, michal wodzinski wrote: > > signedmail is verified ok. > signedmail2 is NOT verified, and gives the following error: > > Error reading S/MIME message > 21336:error:2107A088:PKCS7 routines:SMIME_read_PKCS7:no multipart body > failure:pk7_mime.c:255: > > > When o

openssl smime signing and corrupt message (own code)

2005-01-21 Thread michal wodzinski
Hi all I've written a small program that signs a message ./smime-sign < newmail > signedmail2 it works pretty much like openssl smime -sign -in newmail \ -signer ../certs/aba-test-cert.pem \ -inkey ../certs/aba-test-key.pem > signedmail using roughly the following code: p7 = PKCS

SSL error: no cipher list

2005-01-21 Thread Yuriy Synov
Dear All, I get this error with one POP3 server when I call function SSL_connect: error:1406D0B8:SSL routines:GET_SERVER_HELLO:no cipher list Could someone tell me what it means and how I can get rid of it? TIA Best regards, Yuriy Synov. ___