Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASN 1 UPER encoder/decoder [closed]

I wanted to encode and decode a message in a JAVA project according to UPER standard of ASN 1. Apparently JAC (Java Asn.1 Compiler) and BouncyCastle doesn't support PER and UPER encoder and decoder. Is there any other tools for JAVA? I appreciate any help

like image 516
Questioner Avatar asked Dec 30 '25 22:12

Questioner


1 Answers

ITU-T maintains a list of applications online, although I'm not sure that any of the free ones support Java and PER/UPER. Almost all of the commercial products do, however, and you should be able to find free evaluations online for them.

If you're willing to use C instead of Java (and possibly expose the APIs using JNI), there is an open source compiler by Lev Walkin available. I'm not sure how good the PER support is (he doesn't say he supports canonical PER encoding, for example—just basic). He also qualifies the support for Information Objects (a common feature in many 3GPP specifications) as "basic," which is a bit vague.

All in all, the open-source applications are a bit of a mixed bag by comparison to the commercial applications. This is no real surprise (ASN.1 is complicated!), but it makes it hard to get by on a null budget.

like image 86
Ethan Avatar answered Jan 01 '26 12:01

Ethan