0

I installed this ASN.1 editor plugin to in my Eclipse and i wrote this code

Editor http://asneditor.sourceforge.net

-- Created: Mon May 06 19:38:15 CEST 2013 ASN-Module DEFINITIONS AUTOMATIC TAGS ::= BEGIN

Client ::= SEQUENCE { lientNumber INTEGER}

Server ::= SEQUENCE { lientNumber INTEGER, serverString String } END

But I don't found how to use this Editor to generate the java Classes corresponding to my ASN.1 description

2 Answers2

0

A glance at the website suggests this plugin does not have the functionality you desire. It appears to be designed to make it easier to write ASN.1 grammars, but not to generate Java code for them.

I would suggest you Google for "asn1 java compiler" and try some of the current popular options.

Duncan Jones
  • 67,400
  • 29
  • 193
  • 254
  • The "Legion of the Bouncy Castle" library has ASN.1 encoding and decoding classes, but it has no annotation-based binding scheme. Look at http://www.bitpapers.com/2012/04/bouncy-castle-asn1-api.html . – Eric Jablow May 09 '13 at 13:24
0

You need to use an ASN compiler for that. You can try this one:

http://sourceforge.net/projects/jac-asn1/

Duncan Jones
  • 67,400
  • 29
  • 193
  • 254
Juned Ahsan
  • 67,789
  • 12
  • 98
  • 136