aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 4aa9e607759ed7519115a02e81b530a0e28c9070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
asn1kit
=======

asn1kit is an ASN.1 library written for Ruby.

asn1kit parses a subset of the ASN.1:2015 [see below for what is supported] and
supports encoding of the BER (Basic Encoding Rules) and DER (Distinguished
Encoding Rules).

What is supported by ASN1Kit
----------------------------

* Compiling ASN.1 module definition into Ruby objects
* BER/DER decoding and DER encoding
* TBA

The level of support is sufficient to compile and process most of the PKIX
modules.

What is not supported by ASN1Kit
--------------------------------

* Constraints are not supported except the SizeConstraint.
* XML value notation is not supported.
* TBA

How does the compiler work
--------------------------

The most part of the compiler is available in `lib/asn1kit/parse.ry` and
`lib/asn1kit/compile.rb`.

TBA