OSS Nokalva Home Page
>
Resources
>
ASN1.IO
> ASN.1 Python Compiler, Encoder, Decoder
×
The following license will be emailed to you
No promo exists.
×
Ask a question or suggest a feature:
Buy
Sign Up for FREE
•
FREE promo license
questionnaire
One minute
ASN.1 Schema
Enter manually
Upload .asn file
World-Schema DEFINITIONS AUTOMATIC TAGS ::= BEGIN Rocket ::= SEQUENCE { range INTEGER, name UTF8String (SIZE(1..16)), message UTF8String DEFAULT "Hello World" , fuel ENUMERATED {solid, liquid, gas}, speed CHOICE { mph INTEGER, kmph INTEGER } OPTIONAL, payload SEQUENCE OF UTF8String } END
Options:
Encoding rule:
DER
BER
CER
OER
COER
PER
UPER
CPER
CUPER
Encoding rule family, e.g. DER
Codec name:
File name for the codec.
Generate codec for schema type(s) (also known as PDU):
specific
Specified type name(s).
top level only
Unreferenced, constructed types.
all types
All schema types.
Syntax: ModuleName.TypeName
Module.Type name(s), comma separated.
Bindings:
native types based
Composed by the application at runtime.
class based
New - Class bindings (beta)
Generated during schema compilation, offers autocomplete and rich behavior.
Samples with random values
Useful for testing with random data.
Output
Python quick start with ASN.1