[Fwd: Need help on NonBlock SSL Renegotiation]

2005-06-09 Thread Gayathri Sundar
Original Message Subject: Need help on NonBlock SSL Renegotiation From:Gayathri Sundar [EMAIL PROTECTED] Date:Thu, June 9, 2005 1:39 am To: 'openssl-users@openssl.org'

Re: Read a Bignum from file

2005-06-09 Thread stvv
Citation from the letter of Ludovic FLAMENT [EMAIL PROTECTED]: Angel Martinez Gonzalez wrote: Hello: I wrote a BIGNUM into a file using the function: int BN_print_fp(FILE *fp, const BIGNUM *a); But, How I can read this bignum from this file?. I don?t know a openssl function

Re: SMIME decrypt: header too long (-- ASN1 structure problem?)

2005-06-09 Thread Beat Jucker
On Wed, Jun 01, 2005 at 12:19:11PM +0100, Peter Cope wrote: Try using the asn1parser (an option with openssl). no problem: asn1parse tells me 0:d=0 hl=2 l=inf cons: SEQUENCE 2:d=1 hl=2 l= 9 prim: OBJECT:pkcs7-envelopedData ... When I parse the encoded

Re: SMIME decrypt: header too long (-- ASN1 structure problem?)

2005-06-09 Thread Peter Cope
This looks very much like the problem I had. Ifthe sender is using Chilkat software (I think they produce a plugin for Visual Studio) ... then this had (has) a feature that produced wrong ASN.1. If you look at the raw SMTP message you can sometimes see what mail client of software was used to

Question regarding certificate requests !

2005-06-09 Thread Nabil Ghadiali
Title: Question regarding certificate requests ! I've generated a public exponent and the modulus for an RSA key pair and my final goal is to create a certificate. Does openssl allow me a way to create a certificate request from these two hex values that i have? Thanks, Nabil

RE: Question regarding certificate requests !

2005-06-09 Thread David C. Partridge
Howsabout using openssl req ? That does what U want I think you will find. Dave __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org

using openssl and sunjce, encrypt same text,get different result

2005-06-09 Thread cellecial
Hi, I need to encrypt data using C+openssl,then decrypt data using JAVA+SUNJCE. When I encrypt the same plaintext using openssl and sunjce, I found the two ciphertexts are different. I tried two algorithms:EVP_des_ede() / DES ,EVP_rc4() / RC4, but the results are all depressing. I googled a post

RE: Question regarding certificate requests !

2005-06-09 Thread Nabil Ghadiali
Openssl req seems to output those components...however I am not able to find a way to input these as command line parameters. -Nabil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David C. Partridge Sent: Thursday, June 09, 2005 11:16 AM To:

Re: using openssl and sunjce, encrypt same text,get different result

2005-06-09 Thread Bear Giles
I don't know about the RC4 problem, but EVP_des_ede is triple DES. I thought JCE DES is single DES. (Single DES is depreciated now, BTW. I thought there were also questions about RC4.) I also wonder if you're generating the same key, but I'll leave the nuances of the key generation

Generating HMAC keys

2005-06-09 Thread Julien ALLANOS
Hello, I'm new to OpenSSL, and I want to generate a key to use with HMAC(). What function can I use to generate such a key, and how many bytes must it be? Can I also store the key to a file and are there functions to store and retrieve the fey from a file? Thanks for your help. -- Julien ALLANOS