简体   繁体   中英

Java ASN.1 validation library

Is there any free open-source java library to validate ASN.1 BER/DER/XER over module definitions file .

If your ASN.1 module definition file is not very big and if you just want to verify definitions are correct, you can use this online tool . To test your definition file you can decode either encoded binary data hexdump or encode using ASN.1 value notation format of your type which is defined in your module definition file.

Yes, there are (Usually it is a part of encoder/decoder library) eg:

JAC (Java Asn.1 Compiler) is a tool for you if you want to (1)parse your asn1 file (2)create.java classes and (3)encode/decode instances of your classes.

I guess you could use some of the BouncyCastle Classes for building this function. Something that also might be usefull: BERViewer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM