TOC PREV NEXT INDEX



TABLE OF CONTENTS

Index

Overview of ASN1C for Java

Using the Compiler

Running ASN1C
ASN1C Java Command Line Options
Compiler Configuration File
Compiler Error Reporting

Generated Java Source Code

General Form of a Generated Java Source File
Package Specification
Class Declaration
Tag Constant
Public Member Variables
Constructors
Decode Method
Encode Method
Other Methods
Inner Classes
ASN.1 Type to Java Class Mappings
BOOLEAN
INTEGER
Large Integer Support
BIT STRING
Named Bits
OCTET STRING
Character String Types
ENUMERATED
NULL
OBJECT IDENTIFIER
RELATIVE-OID
REAL
SEQUENCE
Creation of Temporary Types
OPTIONAL keyword
DEFAULT keyword
Extension Elements
SET
SEQUENCE OF
Generation of Temporary Types for SEQUENCE OF Elements
SEQUENCE OF Type Elements in Other Constructed Types
SET OF
CHOICE
Creation of Temporary Types
Populating Generated Choice Structures for Encoding
Accessing the Choice Element Value after Decoding
Open Type
External Type
Parameterized Types
Information Objects
Value Specifications
INTEGER Value Specification
BOOLEAN Value Specification
Binary String Value Specification
Hexadecimal String Value Specification
Character String Value Specification
Object Identifier Value Specification
Generated BER/DER Encode Methods
Generated Java Method Format and Calling Parameters
Populating Generated Variables for Encoding
Procedure for Calling Java BER Encode Methods
Reuse of Java Encoding Objects
Generated BER/DER Decode Methods
Generated Java Method Format and Calling Parameters
Procedure for Calling Java BER Decode Methods
Reuse of Java Decoding Objects
Generated BER Stream-Oriented Encode Methods
Generated Java Method Format and Calling Parameters
Procedure for Calling Java BER Stream-Oriented Encode Methods
Generated PER Encode Methods
Generated Java Method Format and Calling Parameters
Procedure for Calling Java PER Encode Methods
Reuse of Java Encoding Objects
Generated PER Decode Methods
Generated Java Method Format and Calling Parameters
Procedure for Calling Java PER Decode Methods
Reuse of Java Decoding Objects
Generated XER Encode Methods
Generated Java Method Format and Calling Parameters
Procedure for Calling Java XER Encode Methods
Generated XER Decode Methods
Generated Print Methods
Generated Java Method Format and Calling Parameters
Event Handler Interface
How It Works
How to Use It
Example 1: A Formatted Print Handler
Example 2: An XML Converter Class
IMPORT/EXPORT of Types
Compact Code Generation
ASN1C90
ROSE OPERATION and ERROR
SNMP OBJECT-TYPE

Objective Systems, Inc.

102 Pickering Way, Suite #506
Exton, Pennsylvania 19341
http://www.obj-sys.com
Phone: (484) 875-9841
Toll-free: (877) 307-6855 (US only)
Fax: (484) 875-9830
info@obj-sys.com
TOC PREV NEXT INDEX