On Wed, 8 Apr 1998, Eric Young wrote:

> 
> On Wed, 8 Apr 1998 [EMAIL PROTECTED] wrote:
> > Somewhere within SSLeay is a way to get object IDs.  For example, for RSA
> > signed MD5 uses the following set of bytes:
> >   {0x30, 0x20, 0x30, 12, 6, 8,
> >    0x2a, 0x86, 0x48, 0x86, 0xF7, 0x0D, 2, 5, 5, 0, 4, 16},
> > How do I get this stream using an SSLeay call.  I know it is somewhere in
> > the asn1 and/or objects area, but I don't know where to start.

Ahh.

Sequence, Len=32 ( 
        Sequence Len=12 (
                Object:md5,
                Null
                )
        )
        Octets Len=16 (
...

Now to translate that into M_ASN1... stuff.

> anyway, there is a quick summery of the current SSLeay ASN.1 Object Identifer
> stuff.  I'm not sure how much of this is in SSLeay 0.8.1, but SSLeay 0.9.0
> should be out in a few days, so worst case, you can wait :-).
> 
> eric
> 
> PS    I talk about the ASN1. Object identifier bytes and the DER header
>       as seperate things because they are.  Internally, when stored
>       in ASN1_STRING or ASN1_OBJECT, the header is missing.

Does this explain the length problem?

--- reply to tzeruch - at - ceddec - dot - com ---
+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/  |
+-------------------------------------------------------------------------+

Reply via email to