Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-25-2008, 03:22 PM
Member
 
Join Date: Apr 2008
Posts: 1
txntv is on a distinguished road
ASN1C ASN.1 Compiler
Objective System’s ASN1C compiler quickly and reliably translates ASN.1 and/or XML schema (XSD) source specifications into Java source code. Developers can use this code to translate structures/objects to and from finished ASN.1 messages using any of the encoding rules (BER, CER, DER, PER or XER).

The generated Java code consists of a series of Java source files - one for each production (type) defined within an ASN.1 specification. Each of these Java files contains (at a minimum) the following items:
  • A public member data variable (or variables) to hold data of the generated type.
  • A constructor (or constructors) to initialize the variable.
  • An encode method.
  • A decode method.
  • A print method to print the contents of the object to a given output stream.

There is also a run-time library for Java. This consists of a series of classes for encoding and decoding the primitive ASN.1 types. For example, the Asn1Integer class will encode or decode a variable of the ASN.1 INTEGER type. The compiler will extend these base classes to form higher level types derived directly from the base types, or assemble a series of these lower level objects to form constructed types (SEQUENCE, for example).

Generation of C# code is very similar to the Java generation described above. A separate C# class is generated for each production defined in an ASN.1 specification. This contains constructors and methods for encoding and decoding an instance of the class using any of the ASN.1 encoding rules.

Java or C# embedded development kits are available which support the Java MicroEdition (J2ME) or C# compact edition libraries.

ASN1C is a full-featured ASN.1 compiler capable of generating BER/DER/CER, PER (aligned/unaligned), and XML encoders and decoders in C, C++, C#, and Java. ASN.1 / XML Software Tools from Objective Systems
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Compiler API (brief intro) JavaForums Java Blogs 0 04-21-2008 05:40 PM
compiler jidd New To Java 3 01-29-2008 01:40 PM
Compiler Error jeneal New To Java 5 12-13-2007 02:31 PM
The best compiler for java baltimore New To Java 2 08-06-2007 06:10 PM
Asking for the compiler fernando Other IDEs 1 08-06-2007 10:04 AM


All times are GMT +3. The time now is 07:06 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org