svn commit: samba r20251 - in branches/SAMBA_4_0/source: libnet librpc/idl torture/rpc

Love Hörnquist Åstrand lha at kth.se
Tue Dec 19 14:49:31 GMT 2006


>> if someone knows how the encoding works, please tell me:-)
>> I assume some ASN.1 encoding...
>
> ok, I found the encoding of the first byte, which represents the  
> first 2
> numbers of the oid string.

int
der_get_oid (const unsigned char *p, size_t len,
	     heim_oid *data, size_t *size);

in heimdal/lib/asn1/der_get.c will parse it for you.


Love




More information about the samba-technical mailing list