AW: DER public key file structure

2004-12-15 Thread thomas . beckmann
Andrus, as Stephen explains the key is represented in an ASN.1 structure called SubjectPublicKeyInfo and is coded in DER (Distinguished Encoding Rules). The structure consits of an ObjectIdentifier ([06 09] 2A...01 01 01) and the parameter NULL ([05 00]) followed by the public modulus of your

Re: DER public key file structure

2004-12-15 Thread Dr. Stephen Henson
On Wed, Dec 15, 2004, Andrus wrote: Stephen, thank you. The command openssl rsautl -verify -in signature.bin -inkey public.der -pubin -keyform DER -out signout.bin Causes error: RSA operation error 4294560507:error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type

Re: pkcs7_sign function

2004-12-15 Thread Dr. Stephen Henson
On Wed, Dec 15, 2004, Aparna Nandyal wrote: Hi Im using pkcs7_sign method. One of the input parameters to this function is EVP_PKEY private key. But private keys are password protected and there is no parameter in the function to take the password for the private key. So can anyone let

Re: SSL on MS Exchange 2003 Enterprise Edition.

2004-12-15 Thread JLeMay
go to control panel-add/remove-add/remove windows components, and install certificate services I'm not sure if Windows server 2003 has a way for you to be your own CA or not, but there's probably a way. I'm not an expert here either, but there is plenty of good help in Windows Help Center.

pkcs7_sign function

2004-12-15 Thread Aparna Nandyal
Hi Im using pkcs7_sign method. One of the input parameters to this function is EVP_PKEY private key. But private keys are password protected and there is no parameter in the function to take the password for the private key. So can anyone let me know how pkcs7_sign method can be used with

Re: pkcs7_sign function

2004-12-15 Thread Dr. Stephen Henson
On Wed, Dec 15, 2004, Aparna Nandyal wrote: Hi, Thank you for your response. But I have a file in which private key is available. Smime -sign command prompts me for a pass word which I enter and internally private key is passed to pkcs7_sign () in EVP_PKEY without pass word. But I

Openssl in java

2004-12-15 Thread suresh . kumar
Hi, I am developing server application in java and client in vc++. How to use openssl from java. Thanks in abvance S.Suresh __ OpenSSL Project http://www.openssl.org User Support Mailing List

Custom engine, OBJ_cleanup

2004-12-15 Thread Dmitry Belyavsky
Hello! We implement custom engine registering some NIDs via OBJ_create(). We have problems using this engine in openssl commands calling OBJ_cleanup() before apps_shutdown() such as req, ca, x509. It causes a segfault inside EVP_cleanup() function. Now we use 20041207 snapshot. -- SY, Dmitry

PEM_write_X509

2004-12-15 Thread Aparna Nandyal
Hi, I am unable to write to a file using PEM_write_X509. Im running my program on linux. The functions works when the file pointer is stdout. It fails when any other valid file pointer is used. This is the same problem with BIO_printf. If the output BIO is stdout it works but doesnt

RE: pkcs7_sign function

2004-12-15 Thread Aparna Nandyal
Hi, Thank you for your response. But I have a file in which private key is available. Smime -sign command prompts me for a pass word which I enter and internally private key is passed to pkcs7_sign () in EVP_PKEY without pass word. But I have a password protected private key in a file which I

Re: Openssl in java

2004-12-15 Thread Lawrence Bowie
Try the native implementation bundled with Sun else you will have to use some JNI methods ... http://java.sun.com/products/jsse/ LDB [EMAIL PROTECTED] wrote: Hi, I am developing server application in java and client in vc++. How to use openssl from java. Thanks in abvance S.Suresh

Re: Openssl in java

2004-12-15 Thread suresh . kumar
Hi, Thanks for your reply. can i use openssl to encrypt in c++ and bouncy castle to decrypt in java. Thanks S.Suresh - Original Message - From: Lawrence Bowie [EMAIL PROTECTED] Date: Thursday, December 16, 2004 10:38 am Subject: Re: Openssl in java Try the native implementation