RE: How to convert a buffer to an intern structure???

2004-08-02 Thread sakthi.subramaniam
Title: Message Hi.,  Use d2i interfaces For any object... d2i_OBJNAME(OBJTYPE *obj, char *pp, long length) for example to get RSA key from buffer   RSA *rsa rsa = d2i_RSAPublicKey(NULL, &buf, len).. Hope it helps.. -Original Message-From: [EMAIL PROTECTED] [mailto:[

remove

2004-08-02 Thread Dan Hestand
remove Dan Hestand --- Senior Consultant IONA Technologies, Inc 200 West Street Waltham, MA 02451 781.902.8305 __ OpenSSL Project http://www.openssl.org User Support Mailing List

Re: RSA key generation error

2004-08-02 Thread Joe smith
Sorry for the stupid question, I have figured it out. Thanks JoeJoe smith <[EMAIL PROTECTED]> wrote: Hi, I have the following code   #include #include int main() { OpenSSL_add_all_algorithms(); ERR_load_crypto_strings(); ERR_print_errors_fp(stderr);   RSA *rsa; BIO *publickey; ERR_load_crypto

Re: What binary data format is used by openssl enc?

2004-08-02 Thread Charles B Cranston
Technically this is true, as DER requires the determinate length encoding options and disallows the indeterminate length ones... Alicia da Conceicao wrote: Hi Steve: Its not ASN1 because the OpenSSL ASN1 code isn't fully streaming and to do so would be a massive undertaking which has so far not at

Re: What binary data format is used by openssl enc?

2004-08-02 Thread Alicia da Conceicao
Hi Steve: > Its not ASN1 because the OpenSSL ASN1 code isn't fully streaming and to do so > would be a massive undertaking which has so far not attracted any interest. > The data following the salt is the raw encrypted data using standard block > padding. This isn't conformant with any public stan

remove

2004-08-02 Thread Robert_Hildebrand
remove __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]

Re: What binary data format is used by openssl enc?

2004-08-02 Thread Dr. Stephen Henson
On Sun, Aug 01, 2004, Alicia da Conceicao wrote: > Greetings: > > I was wondering what type of data format is used by "openssl enc"? > > Specifically, when I type: > > openssl enc -des-ede3-cbc -e < fileName > fileName.3des > > The resulting binary output file from "openssl enc", which i

How to convert a buffer to an intern structure???

2004-08-02 Thread Carlos Roberto Zainos H
Hi guys!!! I'm working in a Crypto-OpenSSL based Project generating and mannaging X509 cert's. I have a little problem because I'm using an Oracle DB like repository. The cert's are stored in PEM format in the DB (-BEGIN . END-),  the connection between my app and the server is ODBC bas

SSL connection via proxy server

2004-08-02 Thread vdandapani
Hi, I am new to open ssl. Till now I have connected to a Web service from my server using OpenSSL library. (Currently, I am using BIO_write to send the request.) Now I need to go via a proxy to reach the webservice. How do I achieve this? I could see a function BIO_set_proxies(), but really do

RSA key generation error

2004-08-02 Thread Joe smith
Hi, I have the following code   #include #include int main() { OpenSSL_add_all_algorithms(); ERR_load_crypto_strings(); ERR_print_errors_fp(stderr);   RSA *rsa; BIO *publickey; ERR_load_crypto_strings(); rsa = RSA_generate_key(1024, 65537, NULL, NULL); char *passwd = "123456"; FILE *F1 = fopen

Re: Storing keys and certs on USB tokens using openssl(1)

2004-08-02 Thread Kevin Stefanik
Keys at least: there's an openssl engine for opensc aKeys at least: there's an openssl engine for opensc and one for pkcs11 libraries at www.opensc.org Kevin On Monday 02 August 2004 10:42 am, you wrote: > Hi openssl users, > > Is it possible to generate keys on USB tokens using openssl(1) an

Storing keys and certs on USB tokens using openssl(1)

2004-08-02 Thread Ralf Hornik Mailings
Hi openssl users, Is it possible to generate keys on USB tokens using openssl(1) and pkcs11 engine? I cannot find any dokumentation about it. Can anybody point me to the right direction, or knows some links/howtos? Thanks for your help Ralf

AW: ErrorMessage on certificate generation

2004-08-02 Thread thomas . beckmann
Okay, this is for all having the same problem... Obviously OpenSSL will only work using an empty index.txt. What you have to do is - concatenate the content of index.txt with YOUR database file (e. g. database.txt). So database.txt will contain the information index.txt should originally keep. - r

AW: ErrorMessage on certificate generation

2004-08-02 Thread thomas . beckmann
Well, that lead me to some other error messages. But it seems to be the right way ;-) Regards Thomas > -Ursprüngliche Nachricht- > Von: Antoine Latter [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 30. Juli 2004 16:06 > An: [EMAIL PROTECTED] > Betreff: Re: ErrorMessage on certificate gen

RE: openssl newbie HELP!

2004-08-02 Thread Liam Escario
Thanks for all your help guys. Those links were great! I liked Areg's the best: very detailed and complete (and good for beginners). =) Just a question or two to clarify: 1) I noticed the certificates created in the tutorial had a *.pem extension. The ones I'm used to dealing with had a *.cer on

Re: openssl newbie HELP!

2004-08-02 Thread Oliver Welter
Hi Joseph, It's been awhile since I've looked at OpenCA. The manual was almost impossible to read and seemed to be quite a rough translation from German. Do you know if any work has been done on cleaning that up in the past 12 months or so? Yes, a lot - I am member of the dev team so I know wha

remove

2004-08-02 Thread Lars-Erik Englund
remove __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]

Re: openssl newbie HELP!

2004-08-02 Thread Joseph Bruni
It's been awhile since I've looked at OpenCA. The manual was almost impossible to read and seemed to be quite a rough translation from German. Do you know if any work has been done on cleaning that up in the past 12 months or so? On Aug 1, 2004, at 11:42 PM, Oliver Welter wrote: If you need rev

Re: openssl newbie HELP!

2004-08-02 Thread Michael Spivak
Try this one: http://www.dswilson.com/spring2004/javasecurity/openssl-instructions.html - Original Message - From: "Liam Escario" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 02, 2004 7:32 AM Subject: openssl newbie HELP! > Hi! > > Can anybody direct me to an Openss