Re: [DEV] OpenSSL and Microsoft Windows

2006-04-27 Thread dsf
I think yes. MS stores certificates in DER format. You can pass it to OpenSSL 
with "-inform DER" key. Or you can convert DER to PEM with OpenSSL.  


> Hello,
> 
> Is there a way to use Microsoft stored certificates with OpenSSL? I can\'t 
> find anything on this.
> I can access to those certificates using CAPICOM, but OpenSSL requires a PEM 
> file.
> 
> Regards,
> 
> -- 
> Matthieu Bonetti
> Mobile. +33 684 957 844 - Portable. 06 84 95 78 44
> 
> __
> OpenSSL Project http://www.openssl.org
> User Support Mailing Listopenssl-users@openssl.org
> Automated List Manager   [EMAIL PROTECTED]
> 


__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: best encryption for large data stream?

2006-03-15 Thread dsf
> Brennan <[EMAIL PROTECTED]>:

> 
> I'm implementing openssl on both the client and
server side.  I've got the
> authentication down and need to start with encrypting
the data.
> 
> First newbie question, do SSLread and SSLwrite
perform encryption?
> 
> If not, I assume I've got to use the EVP library.
> 
> In either case, I'm sending large amounts of data in
~32K chunks.  What
> algorithm would work best in this scenario?
> 
> Thanks,
> Brennan
> 
> 
>

RC4 I think. 
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: calling SSL_library_init multiple times

2006-02-27 Thread dsf
> Jagannadha Bhattu G <[EMAIL PROTECTED]>:

> Hi,
> 
> Can I call SSL_library_init multiple times in my code
under different
> threads? From the documented return values, I
conclude that it should be
> possible. Can some one confirm it?
> 
> Thanks
> JB
> 


Yes it's possible. I'm doing like this for now... , but
I'm not shure whether this is correct...


//wbr - Andrew
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


OBJ_create - a little problem.

2006-02-13 Thread dsf
Hi everybody!

Here is the sample code:

   int nid;
   nid = OBJ_create("1.2.3.4", "MyAlias", "My Test
Alias Extension");
   X509V3_EXT_add_alias(nid, NID_netscape_comment);
   add_ext(x, nid, "Test Extension...");

It works fine :) But I want to change the first
parameter in OBJ_create() and I fail there. As I think,
it have to be in some special format, but I can't found
any info about it.

Thanks a lot!

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


X509 extensions

2006-02-08 Thread dsf
How can I rewrite some field in X509 extension and than
save whole certificate with this change to file?
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]