From: Dr S N Henson <[EMAIL PROTECTED]> Subject: Re: Object identifiers and ASN.1 syntax Date: Tue, 03 Oct 2000 21:31:40 +0100 Message-ID: <[EMAIL PROTECTED]> drh> Richard Levitte - VMS Whacker wrote: drh> > drh> > drh> > I'm trying to make a simple perl script that is capable of parsing drh> > through an ASN.1 module embedded in any document an extracting the drh> > OIDs from it. When I'm done with that, I'll extend it to be able to drh> > parse LDAP schemas entries as in RFC2256. Then we will perhaps drh> > finally clear the mess that's currently present in drh> > crypto/objects/objects.txt... drh> > drh> drh> Well if you feel like making it a bit more complex so it can yank out drh> field names and ultimate types then that would probably be enough to be drh> fairly easily convertible into an ASN1 compiler that my stuff could drh> support. Well... I'm trying to make it general enough to be extensible ni that direction (or any direction). Right now, it's built to recognise what a module starts (word [OID] DEFINITIONS (EXPLICIT|IMPLICIT|AUTOMATIC) TAGS ::=), some parts of the header (IMPORTS :-)), where the body of that module starts (BEGIN) and where it ends (END). It is capable of recognising any definition ('whatever ::= whatever', basically :-)) within the body and parse past them. It gives IMPORTS and any 'whatever OBJECT IDENTIFIER ::= OID' special treatment, for obvious reasons. That's basically it. It can probably be extended to recognise any definition and treat them appropriately, if one awnts to hack it enough. Just let me concentrate on OIDs for now, OK? :-) -- Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED] Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 Redakteur@Stacken \ SWEDEN \ or +46-709-50 36 10 Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Software Engineer, Celo Communications: http://www.celocom.com/ Unsolicited commercial email is subject to an archival fee of $400. See <http://www.stacken.kth.se/~levitte/mail/> for more info. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: Object identifiers and ASN.1 syntax
Richard Levitte - VMS Whacker Tue, 03 Oct 2000 14:08:43 -0700
- Object identifiers and ASN.1 syntax Richard Levitte - VMS Whacker
- Re: Object identifiers and ASN.1 syntax Rich Salz
- Re: Object identifiers and ASN.1 syntax Dr S N Henson
- Re: Object identifiers and ASN.1 syntax Richard Levitte - VMS Whacker
- Re: Object identifiers and ASN.1 syntax Ben Laurie
- Re: Object identifiers and ASN.1 syntax Ben Laurie
- Re: Object identifiers and ASN.1 sy... Richard Levitte - VMS Whacker
- Re: Object identifiers and ASN.1 syntax Ben Laurie
- Re: Object identifiers and ASN.1 sy... Richard Levitte - VMS Whacker
- Re: Object identifiers and ASN.1 syntax Richard Levitte - VMS Whacker
- Re: Object identifiers and ASN.1 sy... Kevin Blanchard
- Re: Object identifiers and ASN.1 syntax rsalz
- Re: Object identifiers and ASN.1 syntax rsalz
