Thank u Dr. Henson for the reply...

My specific question is as follows...

I want to set the public key in the certificate request (X509_REQ)
structure.  The draft for SCEP says that the public key has to be encoded to
BER form and set it in the request...

Can u help me in solving this puzzle of BER encoding and setting it to the
request...

If u can provide me with small piece of code to do the above task I will be
very much greatful to u...

Regards
Suram
----- Original Message -----
From: Dr S N Henson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 03, 2001 7:56 PM
Subject: Re: Doubt regarding BER encode


> chandu wrote:
>
> Hi everybody,
>
> I have a doubt regarding BER encoding...  I want to BER encode a piece
> of data.
>
> Can any one help me with the functions that must be used to BER encode
> and decode...
>

It depends on the data you want to encode and decode. If there's already
a structure and functions to handle it then this is relatively easy. If
however you want to write customised encoding and decoding routines then
this is much harder, at least with current releases of OpenSSL. OpenSSL
0.9.7 will have completely rewritten ASN1 routines which should make the
task much easier.

Steve.
--
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to