Does anyone have experience doing ASN.1 encoding and decoding (ASN.1 is
a method of writing machine-independent stuctured data into a byte
stream, such as a socket)?  I'm doing a simple program that will speak
native LDAP wire protocol (a very simple protocol, really) and I need
some pointers on a good library (although I found a nice gnu one), how
to do the syntax file, etc.  Shot in the dark, I know.  I found a good
gnu library to do it, but I need to supply a syntax file to describe the
structure.  I've build one by cutting and pasting from the RFC, and it
seems to compile but there are a few things I didn't know, so I just put
in some dummy stuff (headers, mainly, that have nothing to do with the
stucture itself).  The ASN file processor likes the file, so I'll have
to see if it works.  Probably greek to most of you.  The nice thing
about ASN.1 encoding is that once you process your message, you have a
nice structured way of accessing the data (kind of like a compact binary
version of XML) by named attributes.  

Anyway, I've embarked on a simple, yet powerful project that some of you
will be interested in regarding LDAP and giving it more capabilites to
be more of a NDS-type thing (access to non-ldap objects such as the file
system, etc).  Give me a few weeks and I'll post some more cryptic
stuff.  ;)

Michael

PS If nothing I said made any sense at all in this message, I'll blame
that on it being 1 am.

-- 
Michael Torrie <[EMAIL PROTECTED]>

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to