OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: ASN.1

[ Lists Home | Date Index | Thread Index ]
  • From: David Brownell <david-b@pacbell.net>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 16 Apr 1999 01:02:08 -0700

> > >Third, BER is not the only standardized encoding ... there's also DER, which
> > >is a bit more widely used.  (X.509 certs use BER, but most everything else
> > >uses DER ... think of BER as "canonical DER".)  Choices, choices.
> I would have thought DER was "canonical BER".  DER stands for
> Definitive Encoding Rules, doesn't it?

"Definite", not "Definitive" ... but right, X.509 uses DER so there
is only one way to encode, and DER subsets BER by removing options.

Switching those two was a test to see who else knows their stuff!  :-)

> > Never heard of DER.  X.500, SSL, LDAP and SNMP all use BER. 

X.509 and various other systems (including SSL) use DER.  Those of
us who've implemented them know it all too well.

> >	 BER is really
> > quite simple (or at least the subset needed by the above protocols).  Open
> > Source libs to encode/decode BER abound.

I've seen many of them, and have been amused at how inconsistent their
bug sets are.  If you want "simple" look at XDR, which has many more
such open source libs, generally without any bugs.  (Of course in both
cases you need to like binary data formats.)

- Dave

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)

  • References:
    • Re: ASN.1
      • From: Charles Reitzel <creitzel@mediaone.net>
    • Re: ASN.1
      • From: Marcelo Cantos <marcelo@mds.rmit.edu.au>


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS