Re: PKCS12 question

2002-11-22 Thread Mark W. Webb
associated with a friendly name. If you PKCS12 file contains only one container, then it should return one friendly name. Regards, Murali -Original Message- From: Mark W. Webb [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 8:44 PM To: [EMAIL PROTECTED] Subject: PKCS12 question I

PKCS12 question

2002-11-21 Thread Mark W. Webb
I am working on a java program that parses PKCS12 Certificates. I am able to pull out my public and private key with no problem. When I use the command : openssl pkcs12 -in test.p12 -info I am shown 3 certificates; mine, and 2 from verisign. I am assuming that these verisign certificates ar

problem running examples

2002-10-18 Thread Mark W. Webb
I compiled your C examples from the book and I get an error running them. The error is : client - Certificate doesn't verify server - SSL read problem I am using RedHat 8, with gcc 3.2 and openssl 0.9.6b-29. Any help would be greatly appreciated. I am not sure if it because I am not using a CA

compiling ssl demo problem

2002-10-18 Thread Mark W. Webb
I am trying to compile the demo/ssl files with gcc 3.2 on RedHat 8 and running into the following error: gcc serv.cpp -o serv -lssl /tmp/cc5JLIgx.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status Not sure what this means. Is it a gcc or openssl

Re: rsa encryption and decryption

2002-09-26 Thread Mark W. Webb
s. (i.e < modulo n). > > -Prasanth > > > ----- Original Message - > From: "Mark W. Webb" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, September 26, 2002 1:51 AM > Subject: rsa encryption and decryption > I am working on a prog

rsa encryption and decryption

2002-09-26 Thread Mark W. Webb
I am working on a program that I use to encrypt and decrypt data. I am was not sure if I can encrypt and decrypt data, or just keys using the functions RSA_private_encrypt and RSA_public_decrypt. thanks... signature.asc Description: This is a digitally signed message part

java app connecting to openssl CA

2002-08-01 Thread Mark W. Webb
Where can I find information on connecting a java based application to an OpenSSL based Certificate Authority? Thank you. -- Mark Webb Software Engineer Dolphin Technology 1300B Floyd Ave Rome, NY 13440 Phone: (315) 334-4892 x222 Fax: (315) 339-4846 Email: [EMAIL PROTECTED] __

PKI and sockets

2002-04-09 Thread Mark W. Webb
I am working on an application that will implement PKI between a server and a client. Can someone tell me where I might get some sample code (C) or a tutorial on how to do it. I have looked at Eric Rescorla's but I am not sure how to create my own certificates to get that tutorial work, I c

Re: ?????????

2001-11-28 Thread Mark W. Webb
On Wednesday 28 November 2001 01:50 pm, you wrote: will this ever stop ?!? > ;;; > >

Re: question on DSA_verify vs EVP_VerifyFinal

2001-09-04 Thread Mark W. Webb
On Saturday 01 September 2001 07:49 am, you wrote: Thanks for getting back to me. What you are saying makes sense, I just do not know why EVP_VerifyFinal passes a signature coming from Java, and DSA_verify fails it? There must be some difference between the two. > "Mark W. Web

question on DSA_verify vs EVP_VerifyFinal

2001-08-31 Thread Mark W. Webb
I have two programs that sign information. One written in C, and one in Java. The signature is verified on another program written in C. The C based apps are using openssl 0.9.6a. The Java program is using standard JDK functions. The signature that is created by the C based app is verified

Re: reading in PKCS8 DSA priv key to java

2001-08-30 Thread Mark W. Webb
odedKeySpec(encodedKey); > KeyFactory keyFactory = KeyFactory.getInstance("DSA"); > DSAPrivateKey privKey = > (DSAPrivateKey)keyFactory.generatePrivate(keySpec); > > Regards, > > Steven > > -Original Message- > From: [EMAIL PROTECTED

reading in PKCS8 DSA priv key to java

2001-08-29 Thread Mark W. Webb
I know this may be off topic, but I wrote some code to create a DSA key pair, and matching certificate. The private key is stored in a file with PKCS8 encoding. I want to be able to read the private key file into my java program. The certificate is used by a C based program. Can someone gi

RE: How to use POST method to send a request to a server from client?

2001-08-28 Thread Mark W. Webb
how nice we all are :( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Greg Stark Sent: Tuesday, August 28, 2001 9:33 AM To: [EMAIL PROTECTED] Subject: Re: How to use POST method to send a request to a server from client? That's an easy one. There's a b

Re: what is max size of a DSA signature on a SHA-1 hash?

2001-07-31 Thread Mark W. Webb
file. If I know what the max size of the signature is, I can pad it and then place the signature in the file and send it so that the recieving application can always expect the same size signature. > "Mark W. Webb" wrote: > > I have a 1024 bit DSA key that I am using to si

what is max size of a DSA signature on a SHA-1 hash?

2001-07-31 Thread Mark W. Webb
I have a 1024 bit DSA key that I am using to sign a SHA-1 hash. I need to know what the maximum size of that signature that is generated. Thank you for your help. -- Mark Webb Software Engineer Dolphin Technology 1300B Floyd Ave Rome, NY 13440 Phone: (315) 334-4892 x222 Fax: (315)

getting certificate information entered by user during certificate creation

2001-07-25 Thread Mark W. Webb
When the openssl program asks a user for information to place into the certificate, such as Name, City...etc. Is there a way to get this information? I want to take the Name that the user enters to build the filename that the certificate gets written to. thank you. -- Mark Webb Software

Re: change the certificate parameters

2001-07-16 Thread Mark W. Webb
icate. The server will hold the list of valid applications. I will only be using the following fields : Unit Name Application Name I will look into the ability to not ask the user for any information, and read it all out of a file. Thank you. > "Mark W. Webb" wrote: > &

change the certificate parameters

2001-07-13 Thread Mark W. Webb
I want to change the questions that a users is prompted to answer when a certificate is created. Do I need to change the crypto/objects/objects.txt file, or the crypto/objects/objects.h, or which one?? Thanks for the help -- Mark Webb Software Engineer Dolphin Technology 1300B Floyd Av

generating DSA key pair in executable

2001-07-13 Thread Mark W. Webb
I am writing a program that will, from scratch, generate a DSA key pair. The public key will be placed into an x509 certificate and written to disk, and the private key will be written to a file with DER encoding. Is this possible? I know that I could do this in steps using the following co

Seg fault on i2d_DSAPrivateKey_bio

2001-07-12 Thread Mark W. Webb
I am trying to write a DSA private key to a file in DER format. When I make a call to i2d_DSAPrivateKey_bio passing in a BIO pointer, and a DSA pointer, I get a Segmentation fault. I am not sure what I am doing wrong. The command openssl dsa -inform PEM -outform DER in priv.key -modulus s

Re: reading in DSA private key problems....

2001-07-11 Thread Mark W. Webb
On Wednesday 11 July 2001 12:11 pm, you wrote: Thanks for the information How do I read in a public and private DSA key pair from separate files when they are DER encoded ??? thanks in advance > On Wed, Jul 11, 2001 at 10:59:03AM -0400, Mark W. Webb wrote: > > when I run thi

Re: reading in DSA private key problems....

2001-07-11 Thread Mark W. Webb
On Wednesday 11 July 2001 12:11 pm, you wrote: Lutz -- That does help, thank you. Do you have any insight as to how and read in public and private DSA keys from files that are DER encoded? thanks again. > On Wed, Jul 11, 2001 at 10:59:03AM -0400, Mark W. Webb wrote: > > when I

Re: reading in DSA private key problems....

2001-07-11 Thread Mark W. Webb
On Wednesday 11 July 2001 10:59 am, you wrote: oops, I think when I pasted the file marktest to the mail message, I fat-fingered it. There should just be the one marktest pasting... here it is : more marktest -BEGIN RSA PRIVATE KEY- MIICXAIBAAKBgQDTw7JwZZ/7/F1ffDSyt1e5OPRlXxCWmWHZf4Gn

reading in DSA private key problems....

2001-07-11 Thread Mark W. Webb
when I run this command, why does the private key file say that it is a RSA private key? This is the command that I am using. openssl req -inform DER -outform DER -out marktest.cert -keyout marktest -newkey dsa:deleteme.param -keyform DER -new -x509 -nodes The file deleteme.param is a DSA