Printing value stored in ASN1_TYPE

2007-07-16 Thread Chaz.
I needed to have a routine to convert the data stored in an ASN1_TYPE structure to an ASCII string. After finding that no one on the net seemed to have the answer I went and did some research. This is what I came up with for an answer. If any one sees anything wrong with it I would love to know

Converting ASN1_TYPE to printable string...

2007-07-11 Thread Chaz.
I was wondering if anyone knows how to convert an ASN1_TYPE to a printable string? Any help would be greatly appreciated. Peace, Chaz __ OpenSSL Project http://www.openssl.org User Support Mailing

Question about the data stored in a General Name structure.

2007-07-01 Thread Chaz.
. What I would like to do is get the data associated with the item (and not have to decode the union myself). Is there a convenient openSSL function that will do that for me? Peace, and thanks in advance, Chaz __ OpenSSL Project

Question about subjectAltName

2007-06-29 Thread Chaz.
original string). I know I can use CN to store it, but don't like the idea of storing a string like A.B.C.D... in it. I'd prefer to use the subject field to store the name of the real subject. I was wondering if anyone had any possible ways around this? I am using x509v3 as the standard. Peace, Chaz

Re: Question about subjectAltName

2007-06-29 Thread Chaz.
Thanks for the information. How do I go about getting the field programmatically? I saw how to get the data in...I just don't see how to get it out. Chaz. Dr. Stephen Henson wrote: On Fri, Jun 29, 2007, Chaz. wrote: I need to store an alternate string that will identify the subject. I had

Re: Question about subjectAltName

2007-06-29 Thread Chaz.
Steve, Thanks so much for the guidance. I was going to build openssl and use the command openssl -in client.pem -text and debug my way to that knowledge! Chuck Wegrzyn Dr. Stephen Henson wrote: On Fri, Jun 29, 2007, Chaz. wrote: Thanks for the information. How do I go about getting

Server not getting client's certificate...

2007-06-22 Thread Chaz.
()) ctx.set_allow_unknown_ca(False) ctx.set_verify(SSL.verify_peer+SSL.verify_fail_if_no_peer_cert,9) ssl_ctx_use_x509(ctx.ctx,CA.TSRootCertificate._ptr()) ssl_ctx_use_pkey_privkey(ctx.ctx,CA.TSRootPKey._ptr()) I was wondering if any one can see anything obvious that I am doing wrong. Thanks in advance, Chaz

X509 Request - Do I have to sign it?

2007-06-06 Thread Chaz.
and display it I can see the extension. After I sign it the subjectAltName extension doesn't show up again. Is this to be expected? Peace, Chaz __ OpenSSL Project http://www.openssl.org User Support Mailing

Re: X509 Request - Do I have to sign it?

2007-06-06 Thread Chaz.
stored. I have to store a string that would rightly be called an 'otherName' but noticed it doesn't work and tells me it is unsupported. Can you tell me how I would use DirName? Peace, Chuck Wegrzyn Dr. Stephen Henson wrote: On Wed, Jun 06, 2007, Chaz. wrote: I have a need to create X509 Requests

programmatically creating a v3 CA certificate

2007-06-04 Thread Chaz.
the Basic Constraint/cA:TRUE/pathLenConstraint:1 extension and the KeyUsage/keyCertSign extension. Any help would be greatly appreciated. Chaz __ OpenSSL Project http://www.openssl.org User

Re: programmatically creating a v3 CA certificate

2007-06-04 Thread Chaz.
wrote: On Mon, Jun 04, 2007, Chaz. wrote: I need to be able to create a v3 CA certificate via programming. I don't have the ability to fork a shell and invoke openssl to do the work. I was wondering if any one has a small program that will create the needed certificate. The problem that I

Re: Encrypt the big file with symmetric algorithm

2007-05-19 Thread Chaz.
files are missing (or not included in MacOS, Linux and openSSL distribution): - portable.h - exception.h - ltscrypto.h - logger.h Can you tell me where to find these? Thank you! Regards, Harald Am 18.05.2007 um 22:51 schrieb Chaz.: Here are examples, from my code, of both 3DES and AES. Any

Re: Encrypt the big file with symmetric algorithm

2007-05-18 Thread Chaz.
Here are examples, from my code, of both 3DES and AES. Any questions, ask away. Chaz. Harald Latzko wrote: Hi! Do you have a solution for deryption of big files using des3 and/or aes256, too? The openSSL command line smime utility eats up all my memory and crashes after a while

Re: Encrypt the big file with symmetric algorithm

2007-05-16 Thread Chaz.
[EMAIL PROTECTED] wrote: Hi, all I have encrypted the file with the manpage example (blowfish), and then decrypt it. It will be fine if I try some small files, however, when I test some big files (e.g.: 100M), the decryption will not work. Is there anybody can suggest me an available way to do

Doing smime sign...need signature...

2007-05-04 Thread Chaz.
, and it seems to give me what I want. The problem is that some of the files I deal with are in the ranges of 100's of megabytes. My question is: Is there a way in one operation (PKCS7_sign, for example) to produce the SMIME part of the document as well as get the signature? Peace, Chaz