ASN.1 Specification & Compiled Code
ASN.1?
Why NCBI chose ASN.1
ASN.1 Structure
An ASN.1 Specification
ASN.1 Value Notation
Defining repeated lists of types
NCBI Primitive Data Types
SEQUENCE, SET, OF
CHOICE
ENUMERATED
Modifiers
ASN.1 Development Process
Using ASNTOOL
ASNTOOL Command Line
ASNTOOL is Run Twice To Generate Code!
Example Specification
Generates this code:
Asnlib
Sample Code (Write)
Sample Code (Read)
Other Functions
Key Points
ASN.1 Advanced
Binary Encoding
The Future of ASN.1 at the NCBI
Email: bader@mshri.on.ca
Home Page: Toolkit Course Home
Other information: NCBI Toolkit Tutorials Session 6 Hogue Lab Samuel Lunenfeld Research Institute Mt. Sinai Hospital, Toronto, Canada Mar 17.2000
Download presentation source