Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidmoten/as-none-before
ASN.1 java compiler
https://github.com/davidmoten/as-none-before
Last synced: about 1 month ago
JSON representation
ASN.1 java compiler
- Host: GitHub
- URL: https://github.com/davidmoten/as-none-before
- Owner: davidmoten
- License: apache-2.0
- Created: 2013-09-28T12:40:08.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-07-21T02:37:57.000Z (over 8 years ago)
- Last Synced: 2023-03-11T13:53:18.782Z (over 1 year ago)
- Language: GAP
- Size: 441 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
as-none-before
==============ASN.1 java compiler using ANTLR to parse ASN.1 notation and BouncyCastle for runtime decode and encode.
Status: *pre-alpha*
**Aim**: To generate java classes that can decode and encode P1 files which are defined by the x420 specification from the ITU.
Found an ANTLR grammar [here](from https://github.com/ttsiodras/asn1scc/blob/master/Antlr/asn1.g) that fails on half of the x420 asn.1 definition files so I'm working on fixing the grammar.
Apparently ANTLR is not a great fit for the full ASN.1 spec (see [here](https://sites.google.com/site/ramaswamyr/article/parsing-asn-1)) but to generate java classes for decoding and encoding P1 files it does not appear to be necessary to support all the particulars of the ASN.1 format (noticed this by looking at java code generated by asn1c from Objective Systems).
I doubt this project will go anywhere much as I'm not familiar enough with ASN.1. Still fun to have a look at.
My fifty cents about x420 is that it's pretty over the top compared to say SMTP but is pretty thorough. Given how long it's been around you'd think that the full gamut of open source tools (many languages and platforms) would be out there to implement it. Certainly would have been an obstacle to adoption. Old thinking eh.