PKCS12_parse

2008-07-23 Thread Olivia Hudson
Hello, Is there a way to create a PKCS7 certificate from the cert and ca arguments returned from this function: int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, STACK_OF(X509) **ca); Given a PKCS12 credential, I need to create a PKCS7 file which includes the CA certi

Re: ECC DH

2008-07-23 Thread Bodo Moeller
On Wed, Jul 23, 2008 at 7:06 PM, Keith Ellul <[EMAIL PROTECTED]> wrote: > Basically, I see that ECDH is part of openSSL. I have an ECC keypair, and I > have someone else's ECC public key. I want to use ECDH to agree on some key > material. Can I do this from the command line (ie, using the op

ECC DH

2008-07-23 Thread Keith Ellul
Hi, I'm new to this list -- I hope that this is the right place for this question! Basically, I see that ECDH is part of openSSL. I have an ECC keypair, and I have someone else's ECC public key. I want to use ECDH to agree on some key material. Can I do this from the command line (ie, using

OpenSsl Private Key Reverse Engineering question

2008-07-23 Thread Abhishek Kabra
Hi All, This question is related with Reverse Engg of private key. I have build my application, which encrypt a fie based on pre defined private key. The private key is in text file & it start with 0x30,0x82,0x04 ... . My application converts private key in text format to EVP_KEY format using d2i

Re: Re: hello everyone

2008-07-23 Thread abc_123_ok
Dear , the data is client receive application data containing the 24 bytes and the 32 bytes from server. 00 50 c2 0f 5f fe 00 15 58 18 1a 53 08 00 45 00 .P.._... X..S..E. 0010 00 6a 5d 93 40 00 80 06 08 7b c0 0a 0a 68 c0 0a [EMAIL PROTECTED] .{...h.. 0020 0a 03 01 bb c3 8a e7 47

Re: Re: hello everyone

2008-07-23 Thread abc_123_ok
Dear Alan Wolfe & All, I send some data to server, no problem server can receive the data normally. but when I send some data to client with openssl s_server. for exmple, I enter "aa" on server with openssl s_server, it is 10 'a'. but I receive the data from client, I found the data have

Re: Re: hello everyone

2008-07-23 Thread abc_123_ok
Dear Kyle Hamilton and All, The client receive the data properly and The server receive the data properly. I have added padding at the behind of the data. len of the data mode 8 equal 0. code is as following: static void packApplicationData(DBUF_T *msgptr) { BYTE *ptr = dbuf_top(msgptr); DWOR

Re: problems

2008-07-23 Thread MichaƂ Trojnara
Kelly Phinney wrote: > I downloaded OPENSSL because I was getting an error message: > stunnel-4.10.exe-ordinal not found > I am not getting that message anymore but now I am getting > this message upon startup: > stunnel-4.10.exe.-application error > the application failed to initialize properly (

problems

2008-07-23 Thread kellyphinney
hello I downloaded OPENSSL because I was getting an error message: stunnel-4.10.exe-ordinal not found I am not getting that message anymore but now I am getting this message upon startup: stunnel-4.10.exe.-application error the application failed to initialize properly (0xc0150002). click to term