Re: Adding Hash to Application : Static Build - OpenSSL With FIPS

2010-10-26 Thread rajesh kumar
sorry to repost it ... sorry if its annoying anyone.. has anyone faced with same issues ... really need of help here ... Thanks, Rajesh. On Tue, Oct 26, 2010 at 3:54 PM, rajesh kumar wrote: > Hi All, > > According to UserGuide i am trying to add hash to my Project DLL as i am > linking the Open

RE: Certificate chaining

2010-10-26 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Suresh > Sent: Tuesday, 26 October, 2010 10:41 > Probably I was not clear in my question. > When I have several certificates like server cert + key, intermediate > and root and want all them to bundle in

Re: mini project in C using openssl

2010-10-26 Thread Suchindra Chandrahas
Another link: http://code.google.com/p/ssl3fuzzerapi/source/browse/#svn/trunk On Wed, Oct 27, 2010 at 6:34 AM, Anthony Gabrielson < agabriels...@comcast.net> wrote: > Hi, > Check this out, its a nice little C example: > > http://agabrielson.wordpress.com/2010/07/15/openssl-an-example-from-the-co

Re: How can I load a PEM key stored in a string instead from a file?

2010-10-26 Thread Leandro Santiago
Sorry. I don't understand everything. Do you have any code example? I've tried to read the source code of these functions, but PEM_read_PrivateKey is a macro (and I hate read big macros) :-( 2010/10/26 Wim Lewis : > PEM_read_PrivateKey() is a wrapper around PEM_ASN1_read() (which reads an > arbit

Re: mini project in C using openssl

2010-10-26 Thread Anthony Gabrielson
Hi, Check this out, its a nice little C example: http://agabrielson.wordpress.com/2010/07/15/openssl-an-example-from-the-command-line/ Anthony On Oct 26, 2010, at 7:32 AM, g A b R i E L wrote: > Hi. > > My name is Gabriel. I'm "newbie" in openssl and I need to develop a > aplication in C langu

Re: How can I load a PEM key stored in a string instead from a file?

2010-10-26 Thread Wim Lewis
PEM_read_PrivateKey() is a wrapper around PEM_ASN1_read() (which reads an arbitrary ASN.1 object from a PEM-encoded blob) and d2i_PrivateKey() (which knows how to read a private key blob specifically). PEM_ASN1_read() simply creates a BIO from the FILE* that you give it, and calls PEM_ASN1_read

How can I load a PEM key stored in a string instead from a file?

2010-10-26 Thread Leandro Santiago
Hello to all. I'm using the openssl api in a C application. Currently to load a private key (generated by openssl command), I do: _privKeyFile = fopen(filename, "rt"); _privKey = PEM_read_PrivateKey(_privKeyFile, NULL, NULL, NULL); _rsa = EVP_PKEY_get1_RSA(_privKey); The _rsa is the object I

Re: Using OAEP/PSS RSA padding with CMS

2010-10-26 Thread Michael Orlov
> This is not currrently supported. The latest development releases > include support for PSS in certificates and certificate requests but > no OAEP/PSS support for CMS yet. > > Do you know of any examples using these modes? I don't know of any such examples. I thought about using OpenSSL's CMS f

Re: Certificate chaining

2010-10-26 Thread Suresh
Probably I was not clear in my question. When I have several certificates like server cert + key, intermediate and root and want all them to bundle in a single file say, PKCS#12. Is there a specific sequence to bundle them? For example: first option = key + server cert + intermediate + root seco

Re: Using OAEP/PSS RSA padding with CMS

2010-10-26 Thread Dr. Stephen Henson
On Sun, Oct 24, 2010, Michael Orlov wrote: > Hi, > > What is the default RSA padding that is used in CMS when signing and > when encrypting messages? > > Is there any way to influence the choice of padding in CMS? E.g., use > PSS for signing and OAEP for encryption when using RSA, as is possible

mini project in C using openssl

2010-10-26 Thread g A b R i E L
Hi. My name is Gabriel. I'm "newbie" in openssl and I need to develop a aplication in C languaje using openssl. If anyone on this mailing list can help me, and is interested in working in this mini project (for free or not) Please contact me via e-mail. Best regards gabriel

Adding Hash to Application : Static Build - OpenSSL With FIPS

2010-10-26 Thread rajesh kumar
Hi All, According to UserGuide i am trying to add hash to my Project DLL as i am linking the OpenSSL Lib statically. While calling fipslink.pl i do see following link errors.. Dump from the command prompt ... TSPFIPS>nmake -f Add_FipsHash_TSP.mak Microsoft (R) Program Maintenance Utility Vers