Marben Products
  |       
Company  
Products  
News  
Customer Area  
You are here :   Products >  ASN.1 Data Processing >  ASNSDK TCE
 
ASN.1 Data Processing
ASNSDK TCE-Java
Highly powerful ASN.1 Tools for Java



MARBEN™ ASNSDK TCE-Java encompasses an ASN.1 Compiler together with pure Java ASN.1 BER, DER, PER (both aligned and unaligned), XER, CXER runtimes providing a Java API. The Java API is a set of Java classes generated by the ASN.1 Compiler and depending on the input ASN.1 abstract syntax (a Java class is generated for each ASN.1 type).

The TCE-JAVA runtimes also offer a Generic and a SAX-like Java API to handle ASN.1 data in a generic way. The Generic Java API provides Java classes that are independent of the ASN.1 description to process. You can access an ASN.1 value by providing the name of its ASN.1 type or the numeric identifier generated by the ASN.1 compiler. You can also access any field of an ASN.1 complex type (SEQUENCE, SET) by providing the field name or the numeric identifier generated by the ASN.1 compiler. The SAX-like API works exactly like an XML SAX API. Each decoded ASN.1 peace of data is given back to the user in an XML format.

All TCE ASN.1 Java runtimes are fully re-entrant in order to run on multi-threads system.


Fig.1: ASNSDK TCE-Java Architecture Overview



Using the ASN.1 Compiler to generate the Java API

The ASN.1 Compiler takes in input an ASN.1 description, performs syntax and semantic checks and produces, if needed, the corresponding error messages. It generates Java classes, associated with the ASN.1 types, and an information table that the runtimes will use to encode/decode data. The ASN.1 Compiler supports the latest ASN.1 standards.

Based on the input ASN.1 description, the ASN.1 Compiler can also generate an XML schema (XSD) that conforms to XER (XML Encoding Rules) together with default XML Style sheet (XSL). Used in conjunction with the ASNSDK TCE-C++ XER runtime, these features enable you to:

  • Encode any XML value, that conforms to the XML Schema generated, in BER, DER or PER encoding (and vice-versa), thus providing an "XML Interface" to ASN.1 BER, DER and PER runtimes,

  • Use off-the-shelf XML tools to edit or modify ASN.1 values,

  • Use off-the-shelf XSL processors and the default XML style sheet generated to translate, convert or process ASN.1 values, as for instance, to display ASN.1 values using common HTML browsers.

Developing your application over the generated Java API

The ASN.1 Runtimes provide encoding/decoding services as well as constraints check and traces services. The user application has access to the Java BER, DER, PER, XER and CXER encoding/decoding services through the Java API generated by the ASN.1 Compiler.

The Java API is user-friendly. To each type of the input ASN.1 description corresponds a Java class. An ASN.1 value is an instance of a Java class. To encode or decode a value, the PER, BER, DER, XER and CXER encoding or decoding method has simply to be called. The TCE run-times reduce the complexity of your application programs by being able to automatically encode or decode open type values.



The TCE-JAVA runtimes also offer a Generic Java API to handle ASN.1 data in a generic way. The Generic Java API provides Java classes that are independent of the ASN.1 description to process. You can access an ASN.1 value by providing the name of its ASN.1 type or the numeric identifier generated by the ASN.1 compiler. You can also access any field of an ASN.1 complex type (SEQUENCE, SET) by providing the field name or the numeric identifier generated by the ASN.1 compiler.



Building your application

Once you have developed your application code above the Java API generated by the ASN.1 Compiler, your application shall be compiled and then linked with the encoding/decoding run-time library to build up your final executable file.



System Requirements

TCE-Java ASN.1 Compiler:

  • Is available on Windows (2000, XP), Linux and UNIX Operating Systems.
  • Requires a Java Runtime Environment 1.2 or higher.

TCE-Java ASN.1 runtimes:

  • Are delivered as Java byte code compatible with all Java run-time environment from J2ME CLDC 1.0 up to J2EE.


Standards Conformance

X.680: ITU-T Recommendation X.680 | ISO/IEC 8824-1,
Information Technology - Abstract Syntax Notation One (ASN.1):
Specification of Basic Notation

X.681: ITU-T Recommendation X.681 | ISO/IEC 8824-2,
Information Technology - Abstract Syntax Notation One (ASN.1):
Information Object Specification

X.682: ITU-T Recommendation X.682 | ISO/IEC 8824-3,
Information Technology - Abstract Syntax Notation One (ASN.1):
Constraint Specification

X.683: ITU-T Recommendation X.683 | ISO/IEC 8824-4,
Information Technology - Abstract Syntax Notation One (ASN.1):
Parameterization of ASN.1 Specifications

X.690: ITU-T Recommendation X.690 | ISO/IEC 8825-1,
Information Technology - ASN.1 Encoding Rules: Specification of Basic Encoding Rules (BER),
Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)

X.691: ITU-T Recommendation X.691 | ISO/IEC 8825-2,
Information Technology - ASN.1 Encoding Rules:
Specification of Packed Encoding Rules (PER)

X.693: ITU-T Recommendation X.693 | ISO/IEC 8825-4,
Information Technology - ASN.1 Encoding Rules:
XML Encoding Rules (XER)

  ASNSDK
         TCE-Java
"ASN.1 tools for Java
to speed up the development and the validation of your ASN.1 based application"


Available Now
ASNSDK TCE-Java v3.0



Download      
      Free Trial



Technical Data Sheet
  ASNSDK TCE
© Marben Products 2007 all rights reserved Sitemap  |  Add to favorites  |  Email this link  |  Webmasters  |  Terms of Use  |  Privacy