On Tue, May 17, 2005, pana wrote:

> Hi,
> 
> how can I obtain a word in the DER-encoding form?
> I need it represented in octets to use it in custom extensions definition. 
> for example: 1e:08:00:55:00:73:00:65:00:72
> 

If you are using OpenSSL 0.9.8-dev you don't need to because the mini-ASN1
compiler handles that. If you are using 0.9.7X then you can use the asn1parse
utility from 0.9.8-dev to generate the extension in DER form and then hexdump
it to get the encoding.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to