Re: Creating signature p7s file using openssl

2005-04-29 Thread Andrus
pt.out and myscript.out.p7s files to the device I received file authentication failure error. Original mycert.crt and myscript.out.p7s files are authenticated OK. Files created by OPENSSL cause authentication error. Why ? Andrus. PS. I can mail original and openssl cre

Creating signature p7s file using openssl

2005-04-29 Thread Andrus
03 55 04 ? 2D 03 09 00 02 01 00 00 00 D4 BD 4B 02 06 30 30 ? 30 30 30 30 30 09 06 05 2B 0E 03 02 1A 05 00 A2 ? 42 30 40 30 19 06 09 2A Andrus. __ OpenSSL Project http://www.openssl.org User Support

Implement openssl.exe as dll

2004-12-18 Thread Andrus Moor
I'm running openssl.exe from my GUI application nad passing a parameters to in in command line. This causes a flashing DOS window to appear and I cannot get back error messages. How to avoid this ? How to to create a dll file (wrapper to main()) which accepts same arguments (argv array) as openssl.

OpenSSLrsautl -verify fails to calculate S**e mod n

2004-12-16 Thread Andrus
1F 5A 92 6C 81 97 50 40 B7 2D BE 9A B7 03 99 F5 CD 89 63 2C BD 4C A7 BB C9 66 F9 DE 7A FE 6A 1C 1A 0B 7F CC 23 F0348AEC4E7C821671BF766BAA7754FBF5AED58B 9A BF and 9A are somewhat similar to expected 6A and BC Any idea why the signature decryption fails ? Andrus signature.bin Description: Binary

Re: DER public key file structure

2004-12-14 Thread Andrus
IL PROTECTED]> Sent: Tuesday, December 14, 2004 11:20 PM Subject: Re: DER public key file structure > On Tue, Dec 14, 2004, Andrus wrote: > > > I need to decrypt RSA signature using RSA public key. > > Thanks to Nils Larsch reply I discovered that the following command can be &

Re: DER public key file structure

2004-12-14 Thread Andrus
x at the end of .der file. What is the meaning of the file header bytes ? Where the modulus length is stored ? Where is the publix exponent (03) stored ? Can you point me any documentation of the openssl source code file where I can find information about this format ? Thanks, Andrus. - Or

DER public key file structure

2004-12-14 Thread Andrus
create a public.der file (160 bytes) from this data to be passed to openssl using not a C language. I looked into openssl sources but havent yet found DER file structure description. Where I can found the DER public file structure description which this command accepts ? Andrus

How to Decrypt RSA signature using public key

2004-12-13 Thread Andrus
RSAPubkey.pem -pubin -decrypt but got an error A private key is need for this operation Any idea how to decrypt this key ? Andrus. __ OpenSSL Project http://www.openssl.org User Support Mailing

Re: Cert Extension conversition

2002-10-25 Thread Richard Andrus
use the command : openssl pkcs12 -in xxx.pfx -out xxx.pem By default, this will encrypt the private key with triple DES inside the PEM file. It will first prompt you for the password used to protect the pfx back when it was created, then it will prompt you for the password used to encrypt it in

automatic password entry with the dgst command

2002-10-25 Thread Richard Andrus
I've used openssl off and on for about a 18 months now, but I'm definitely an OpenSSL beginner. I'm digitally signing some documents like this : openssl dgst -md5 -binary -sign privkey.pem -out sig.bin testdoc.txt or alternatively openssl md5 -binary -sign privkey.pem -out sig.bin testdoc.tx