[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Forward: BER encoding

This page is part of the web mail archives of SRFI 56 from before July 7th, 2015. The new archives for SRFI 56 contain all messages, not just those from before July 7th, 2015.

A rather old message that didn't make it to the list - I replied to it
but forgot to forward the original.


--- Begin Message ---

	I'd like to second the proposal to support the BER encoding of
integers. Granted, more efficient encodings could be devised
(especially if we have some idea about the distribution of integers in
our domain). An Appendix to Witten et al book "Text compression" lists
quite a numbers of various encodings of arbitrary integers, some of
which are quite nifty. However, the BER encoding mentioned in SRFI-56
is the ISO standard. Furthermore, the BER encoding of integers is used
in many other BER/DER rules for more complex ASN.1 objects. ASN.1
(which some say is a better version of XML) is still wildly used,
e.g., in SNMP and LDAP and CMS (cryptographic message syntax, aka
the "new" S/MIME). In fact, BER appears almost in any RFC that
contains the word 'crypto'. See, for example, Section 3 of
as well

The best guide on BER/DER and ASN.1 is 
	Burton S. Kaliski Jr. A Layman's Guide to a Subset of ASN.1, BER,
and DER. An RSA Laboratories Technical Note. Revised November 1, 1993.

Available online:
and very many other places: just Google for 
	"Burton S. Kaliski Jr. Layman's Guide"

--- End Message ---