TOC PREV NEXT INDEX


Overview of ASN1C for C#

Using the Compiler

ASN1C C# Command Line Options
Using the GUI Wizard to Run ASN1C
Compiler Configuration File
Compiler Error Reporting

Generated C# Source Code Overview

Namespace Specification
Class Declaration
Tag Constant
Public Member Variables
Constructors
Decode Method
Encode Method
Other Methods
Inner Classes

ASN.1 Type to C# Class Mappings

BOOLEAN
INTEGER
BIT STRING
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
EmbeddedPDV Type
Parameterized Types
Value Specifications
INTEGER Value Specification
BOOLEAN Value Specification
Binary String Value Specification
Hexadecimal String Value Specification
Character String Value Specification
Object Identifier Value Specification
ENUMERATED Value Specification
REAL Value Specification
SEQUENCE Value Specification
SET Value Specification
SEQUENCE OF Value Specification
SET OF Value Specification
CHOICE Value Specification

Generated BER/DER/CER Encode Methods

Memory-buffer Based Definite Length Encoders
Generated C# Method Format and Calling Parameters
Populating Generated Variables for Encoding
Procedure for Calling Memory-Buffer Based BER Encode Methods
Reuse of C# Encoding Objects
Stream-Oriented Indefinite Length Encode Methods
Generated C# Method Format and Calling Parameters
Procedure for Calling C# BER Stream-Oriented Encode Methods

Generated BER/DER/CER Decode Methods

Generated C# Method Format and Calling Parameters
Procedure for Calling C# BER Decode Methods
Reuse of C# Decoding Objects

Generated PER Encode Methods

Generated C# Method Format and Calling Parameters
Procedure for Calling C# PER Encode Methods
Reuse of C# Encoding Objects

Generated PER Decode Methods

Generated C# Method Format and Calling Parameters
Procedure for Calling C# PER Decode Methods
Reuse of C# Decoding Objects

Generated XER Encode Methods

Generated C# Method Format and Calling Parameters
Procedure for Calling C# XER Encode Methods

Generated XER Decode Methods

Table Constraint Processing

CLASS Specification
Data Member Generation
Method and Constructor Generation
ABSTRACT-SYNTAX class
TYPE-IDENTIFIER class
Information Object
Information Object Set
Generated Information Object Table Structure
Simple Form Code Generation
Table Form Code Generation
Additional Code Generated for the -tables Option
Populating OpenType Variables for Encoding
Decoding Types with Table Constraints

Generated Print Methods

Generated C# 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