Introduction

What is it?

The BER Runtime is an API for encoding and decoding ASN.1 data structures using Basic Encoding Rules (BER). It implements extentions to the commons-codec API, for building stateful chunking encoder decoder pairs that maintain state between processing calls.

Stateful Codecs

More information on these new codec interfaces are availabled on the stateful codec home page. You might want to read this before you continue since these extentions are the basis to all ASN.1 encoders and decoders.

What is encoded/decoded?

The BER runtime is protocol or ASN.1 module independent. The unit of substrate is a BER TLV (Tag, Length, Value) so any BER based protocol can be decoded and encoded by the BER codec to and from TLV tuples.

BER Codec User Guides and Design Documents

Subject Description
ASN.1 and BER Information Links to various books and specification on ASN.1 and BER
BER Decoder Design Explains how and why the BERDecoder was designed
BER Digester Design Explains how and why the BERDigester was designed
BER Encoder Design Explains how and why the BEREncoder was designed