Re: Certificate, encoding and signing questions.

2003-09-18 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Wed, 17 Sep 2003 15:36:12 -0500, Ashutosh Jaiswal <[EMAIL PROTECTED]> said: ashutosh> I seem to be working on a similar problem. Here's my small function ashutosh> (with the help from the man pages). Please correct me if I'm wrong: ashutosh> ashutosh> int PKCS2D

Re: Certificate, encoding and signing questions.

2003-09-18 Thread Ashutosh Jaiswal
well I was thinking of calling the function in a fashion like this: PKCS2DER(p7, &DER) Ashu Dr. Stephen Henson wrote: On Wed, Sep 17, 2003, Ashutosh Jaiswal wrote: I guess I switched uchar *DER and uchar *buf? It is actually the code from the man pages of i2d_X509 (since there d

Re: Certificate, encoding and signing questions.

2003-09-17 Thread Henrik Nordstrom
On Wed, 17 Sep 2003, Frank wrote: > Encoding - Now from some testing I did with PKCS7 structures before if > you DER encode instead of PEM encode the data it appears to be much > smaller. Is that correct? >From what I have understood PEM is simply BASE64 encoded DER plus headers which clearly in

Re: RE : Certificate, encoding and signing questions.

2003-09-17 Thread Frank
better working with PEM format and converting later when needed with > openssl x509 -inform PEM -outform DER -in ... -out ... > > Barbara Post > > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] De la part de Frank > Envoyé : mercredi 17

RE : Certificate, encoding and signing questions.

2003-09-17 Thread BP
e Frank Envoyé : mercredi 17 septembre 2003 19:58 À : Openssl user grp Objet : Certificate, encoding and signing questions. Well I have a few questions here so hopefully I can get this straight, if I'm lucky. Certificates - Now I have worked with RSA certificates, but if I wish to do DSA in

Certificate, encoding and signing questions.

2003-09-17 Thread Frank
Well I have a few questions here so hopefully I can get this straight, if I'm lucky. Certificates - Now I have worked with RSA certificates, but if I wish to do DSA instead of RSA signatures I need to create DSA certificates right? If so anyone have examples laying around? Encoding - Now from som