Question about bio pairs

2005-03-19 Thread Edward Chan
Title: Question about bio pairs I know it's been talked about many times before, and I've read thru the archives, but I still don't quite get it.  If I want to use I/O completion ports on Windows, I can perform the I/O as I normally would.  But after reading the encrypted data off the socket,

Re: Key generation

2005-03-19 Thread Michael D'Errico
It turns out what I needed was EVP_SealInit, so I don't need to generate my own key. Thanks for the responses though. Mike Richard Levitte - VMS Whacker wrote: In message <[EMAIL PROTECTED]> on Wed, 16 Mar 2005 14:32:03 -0800, Michael D'Errico <[EMAIL PROTECTED]> said: mike-mlm> I read somewhere

asn.1 choice decoding problem

2005-03-19 Thread Eric Alata
Hello everyone. I would like to implement these types with openssl/asn.1: 1 H ::= [APPLICATION 0] INTEGER 2 3 I ::= [APPLICATION 1] OCTET STRING 4 5 G ::= CHOICE { 6 g_1 H, 7 g_2 I } To do so, I have created a test program (at the end of this message). Now, all functions but d2

Re: proxy certificate support in openssl 0.9.8

2005-03-19 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Tue, 15 Mar 2005 14:36:57 -0800, Matt Rodriguez <[EMAIL PROTECTED]> said: MKRodriguez> I've looking at the tests in the snapshots for 0.9.8. I MKRodriguez> am trying to figure out what functionality regarding MKRodriguez> proxy certificates has been implemented.

Re: Key generation

2005-03-19 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Wed, 16 Mar 2005 14:32:03 -0800, Michael D'Errico <[EMAIL PROTECTED]> said: mike-mlm> I read somewhere that it is a good idea to mike-mlm> cryptographically hash your key material to mike-mlm> generate a key, so I wrote a function to do mike-mlm> that. I'm not e

Re: error

2005-03-19 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Fri, 18 Mar 2005 12:20:12 -0500, "Plantier, Spencer" <[EMAIL PROTECTED]> said: spencer.plantier> How do I fix this error? spencer.plantier> spencer.plantier> spencer.plantier> Enter pass phrase: spencer.plantier> Verifying - Enter pass phrase: spencer.plantier>

Re: Converting private key to Netscape's key3.db

2005-03-19 Thread Dr. Stephen Henson
On Sat, Mar 19, 2005, Ricardo M. Stella wrote: > > I found most info on how to extract a certificate (certutil) and possibly > how to extract the private key from Netscape's format. > > But I'm trying to do the opposite. > > We have some certificate and keys already established (openssl) and wa

Re: asn.1 recursive type and choice

2005-03-19 Thread Dr. Stephen Henson
On Sat, Mar 19, 2005, Eric Alata wrote: > Thank you Stephen for your reply. > > As expected in your answer, I have used > ASN1_DECLARE_ITEM(TA) just before > ASN1_CHOICE(TA). Now, it compiles. > > I believe to understant why this structure > is ambiguous. Only, I need this field f2. > If I write

Re: asn.1 recursive type and choice

2005-03-19 Thread Eric Alata
Thank you Stephen for your reply. As expected in your answer, I have used ASN1_DECLARE_ITEM(TA) just before ASN1_CHOICE(TA). Now, it compiles. I believe to understant why this structure is ambiguous. Only, I need this field f2. If I write: TA ::= CHOICE { f1 SET OF TA, f2 [10] TA, f3 INTEG