HomeSolutionsFrameworkIEC 61850IEC 60870-5-104DLMS/COSEMM-BusIEC 62056-21ASN.1OverviewDownloadSMLFAQPublicationsContact
Partner site:
OGEMA Alliance


jASN1 is an LGPL licensed Java ASN.1 BER encoding/decoding library. It consists of a compiler (jasn-compiler) that creates Java classes from ASN.1 syntax. These generated classes can then be used together with the jasn-ber library to efficiently encode and decode messages using the Basic Encoding Rules (BER). The compiler uses the excellent ASN.1 to XML converter from the BinaryNotes ASN.1 Framework.

Much effort has been made to make encoding and decoding BER messages using this library very efficient. Profiling jASN1 suggested that it is faster than the Binary Notes Framework by about a factor of five.

We are thankful for any code contributions.

The easiest way to learn how to use jASN1 is to take a look at the sample program which is packed with the distribution.

Author: Stefan Feuerhahn