实例介绍
开源的windows平台的采用C++语言的ASN.1编译器,实现ASN.1描述到C++类型转换,方便开发
【实例截图】
【核心代码】
ASN1.7.tar
└── SNACC
├── acconfig.h
├── aclocal.m4
├── asn1specs
│ ├── any.asn1
│ ├── asn1module.asn1
│ ├── asn-useful.asn1
│ ├── asn-usefulVDA.asn1
│ ├── authenticationframework.asn1
│ ├── certificateextensions.asn1
│ ├── err-test.asn1
│ ├── ex1.asn1
│ ├── informationframework.asn1
│ ├── makefile
│ ├── oraddress.asn1
│ ├── pkcs8.asn1
│ ├── p-rec.asn1
│ ├── rfc1155-smi.asn1
│ ├── rfc1157-snmp.asn1
│ ├── rfc1213-mib2.asn1
│ ├── selectedattributetypes.asn1
│ ├── tbl.asn1
│ ├── upperbounds.asn1
│ └── usefuldefinitions.asn1
├── buildall.dsp
├── buildall_vc71.vcproj
├── buildall.vcproj
├── buildall.vcproj7
├── c++-examples
│ ├── constraints_test
│ │ ├── constraints_test.cpp
│ │ ├── constraints_test.dsp
│ │ ├── constraints_test.vcproj
│ │ ├── constraintTest.asn1
│ │ ├── constraintTest_main.cpp
│ │ ├── constraintTest_mainRWC.cpp
│ │ ├── makefile
│ │ ├── new-types.asn1
│ │ ├── perTest.asn1
│ │ ├── perTestSet.asn1
│ │ └── ReadMe.txt
│ ├── makefile
│ ├── snacctest.dsp
│ ├── snacctest_vc71.vcproj
│ ├── snacctest.vcproj
│ ├── snacctest.vcproj7
│ ├── snmpv1_tests
│ │ └── readme.txt
│ └── src
│ ├── asnutil.cpp
│ ├── asnutil.h
│ ├── bitstest.cpp
│ ├── gfsi.cpp
│ ├── inttest.cpp
│ ├── main.cpp
│ ├── makefile
│ ├── per_tests.cpp
│ ├── readme.txt
│ ├── rfc1155-smi.asn1
│ ├── rfc1157-snmp.asn1
│ ├── snmp.cpp
│ ├── testbuf.cpp
│ ├── testsetsorting.cpp
│ ├── vdatest_asn2.asn1
│ ├── vdatest_asn.asn1
│ ├── vdatest.cpp
│ ├── vda_threads.cpp
│ └── vda_threads.h
├── c-examples
│ ├── any
│ │ ├── any.asn1
│ │ ├── any.c
│ │ ├── any.dsw
│ │ ├── any.h
│ │ ├── ctest_any
│ │ │ └── ctest_any.dsp
│ │ ├── def
│ │ │ └── def.dsp
│ │ ├── example.c
│ │ ├── genber
│ │ │ └── genber.dsp
│ │ ├── genber.c
│ │ ├── makefile
│ │ ├── readme
│ │ ├── test_any
│ │ │ └── test_any.dsp
│ │ └── test any c
│ │ ├── test any c.dsp
│ │ └── vssver.scc
│ ├── makefile
│ ├── simple
│ │ ├── example.c
│ │ ├── expbuf-ex.c
│ │ ├── genber.c
│ │ ├── good-pr.ber
│ │ ├── makefile
│ │ ├── minbuf-ex.c
│ │ ├── readme
│ │ └── sbuf-ex.c
│ ├── snmp
│ │ ├── makefile
│ │ └── readme
│ ├── test-lib
│ │ ├── makefile
│ │ ├── readme
│ │ └── test-lib.c
│ └── vdatestC
│ ├── gfsi.c
│ ├── gfsi.h
│ ├── makefile
│ ├── rfc1155-smi.asn1
│ ├── rfc1157-snmp.asn1
│ ├── snmp.c
│ ├── vdatest_asn2C.asn1
│ ├── vdatestC_asn.asn1
│ ├── vdatestC.c
│ ├── vdatestC.dsp
│ ├── vdatestC_vc71.vcproj
│ ├── vdatestC.vcproj
│ └── vdatestC.vcproj7
├── changelog
├── c++-lib
│ ├── asn-useful.asn1
│ ├── cppasn1
│ │ ├── cppasn1.dsp
│ │ ├── cppasn1_vc71.vcproj
│ │ ├── cppasn1.vcproj
│ │ ├── cppasn1.vcproj7
│ │ ├── cppasn1.vcproj.vspscc
│ │ ├── stdafx.cpp
│ │ └── stdafx.h
│ ├── cppasn1_static
│ │ ├── cppasn1_static.dsp
│ │ ├── cppasn1_static_vc71.vcproj
│ │ ├── cppasn1_static.vcproj
│ │ └── cppasn1_static.vcproj7
│ ├── inc
│ │ ├── asn-buf.h
│ │ ├── asn-chartraits.h
│ │ ├── asn-config.h
│ │ ├── asn-incl.h
│ │ ├── asn-list.h
│ │ ├── asn-listset.h
│ │ ├── asn-usefultypes.h
│ │ ├── init.h
│ │ ├── meta.h
│ │ ├── snaccdll.h
│ │ ├── snaccexcept.h
│ │ └── tcl-if.h
│ ├── makefile
│ ├── readme
│ └── src
│ ├── asn-any.cpp
│ ├── asn-bits.cpp
│ ├── asn-bool.cpp
│ ├── asn-bufbits.cpp
│ ├── asn-buf.cpp
│ ├── asn-enum.cpp
│ ├── asn-extension.cpp
│ ├── asn-fileseg.cpp
│ ├── asn-int.cpp
│ ├── asn-len.cpp
│ ├── asn-null.cpp
│ ├── asn-octs.cpp
│ ├── asn-oid.cpp
│ ├── asn-PERGeneral.cpp
│ ├── asn-real.cpp
│ ├── asn-RelativeOid.cpp
│ ├── asn-rvsbuf.cpp
│ ├── asn-stringtype.cpp
│ ├── asn-tag.cpp
│ ├── asn-type.cpp
│ ├── asn-usefultypes.cpp
│ ├── hash.cpp
│ ├── meta.cpp
│ ├── print.cpp
│ ├── snaccdll.cpp
│ ├── snaccexcept.cpp
│ ├── tcl-if.cpp
│ ├── tkAppInit.c
│ └── vda_threads2.cpp
├── c-lib
│ ├── boot
│ │ ├── tbl.c
│ │ └── tbl.h
│ ├── ebuf_lib
│ │ ├── casn1_vc71.vcproj
│ │ ├── ebuf_lib.dsp
│ │ ├── ebuf_lib.vcproj
│ │ ├── ebuf_lib.vcproj7
│ │ └── snaccc.def
│ ├── ebuf_lib_static
│ │ ├── casn1_static_vc71.vcproj
│ │ ├── ebuf_lib_static.dsp
│ │ ├── ebuf_lib_static.vcproj
│ │ └── ebuf_lib_static.vcproj7
│ ├── inc
│ │ ├── asn-any.h
│ │ ├── asn-bits.h
│ │ ├── asn-BMPString.h
│ │ ├── asn-bool.h
│ │ ├── asn-config.h
│ │ ├── asn-der.h
│ │ ├── asn-enum.h
│ │ ├── asn-IA5String.h
│ │ ├── asn-incl.h
│ │ ├── asn-int.h
│ │ ├── asn-len.h
│ │ ├── asn-list.h
│ │ ├── asn-null.h
│ │ ├── asn-NumericString.h
│ │ ├── asn-octs.h
│ │ ├── asn-oid.h
│ │ ├── asn-PrintableStr.h
│ │ ├── asn-real.h
│ │ ├── asn-relative-oid.h
│ │ ├── asn-tag.h
│ │ ├── asn-TeletexString.h
│ │ ├── asn-UniversalString.h
│ │ ├── asn-useful.h
│ │ ├── asn-UTF8String.h
│ │ ├── asn-VisibleString.h
│ │ ├── exp-buf.h
│ │ ├── gen-buf.h
│ │ ├── hash.h
│ │ ├── junk.h
│ │ ├── mem.h
│ │ ├── min-buf.h
│ │ ├── nibble-alloc.h
│ │ ├── print.h
│ │ ├── sbuf.h
│ │ ├── snaccCder.h
│ │ ├── str-stk.h
│ │ ├── tbl-dbg.h
│ │ ├── tbl-dec.h
│ │ ├── tbl-enc.h
│ │ ├── tbl-free.h
│ │ ├── tbl-gen-c-hdr.h
│ │ ├── tbl-gen.h
│ │ ├── tbl-incl.h
│ │ ├── tbl-print.h
│ │ └── tbl-util.h
│ ├── makefile
│ ├── readme
│ ├── src
│ │ ├── asn1init.c
│ │ ├── asn-any.c
│ │ ├── asn-bits.c
│ │ ├── asn-BMPString.c
│ │ ├── asn-bool.c
│ │ ├── asn-der.c
│ │ ├── asn-enum.c
│ │ ├── asn-IA5String.c
│ │ ├── asn-int.c
│ │ ├── asn-len.c
│ │ ├── asn-list.c
│ │ ├── asn-null.c
│ │ ├── asn-NumericString.c
│ │ ├── asn-octs.c
│ │ ├── asn-oid.c
│ │ ├── asn-PrintableStr.c
│ │ ├── asn-real.c
│ │ ├── asn-relative-oid.c
│ │ ├── asn-tag.c
│ │ ├── asn-TeletexString.c
│ │ ├── asn-UniversalString.c
│ │ ├── asn-useful.c
│ │ ├── asn-UTF8String.c
│ │ ├── asn-VisibleString.c
│ │ ├── exp-buf.c
│ │ ├── hash.c
│ │ ├── mem.c
│ │ ├── nibble-alloc.c
│ │ ├── print.c
│ │ ├── sbuf.c
│ │ ├── str-stk.c
│ │ ├── tbl-dbg.c
│ │ ├── tbl-dec.c
│ │ ├── tbl-enc.c
│ │ ├── tbl-free.c
│ │ ├── tbl-gen.c
│ │ ├── tbl-print.c
│ │ └── tbl-util.c
│ └── tbl.h.patch
├── cmasn.def
├── compiler
│ ├── back-ends
│ │ ├── c++-gen
│ │ │ ├── cxxconstraints.c
│ │ │ ├── cxxconstraints.h
│ │ │ ├── cxxmultipleconstraints.c
│ │ │ ├── cxxmultipleconstraints.h
│ │ │ ├── gen-any.c
│ │ │ ├── gen-code.c
│ │ │ ├── gen-vals.c
│ │ │ ├── kwd.c
│ │ │ ├── rules.c
│ │ │ ├── rules.h
│ │ │ └── types.c
│ │ ├── c-gen
│ │ │ ├── gen-any.c
│ │ │ ├── gen-code.c
│ │ │ ├── gen-dec.c
│ │ │ ├── gen-enc.c
│ │ │ ├── gen-free.c
│ │ │ ├── gen-print.c
│ │ │ ├── gen-type.c
│ │ │ ├── gen-vals.c
│ │ │ ├── kwd.c
│ │ │ ├── rules.c
│ │ │ ├── rules.h
│ │ │ ├── type-info.c
│ │ │ ├── type-info.h
│ │ │ ├── util.c
│ │ │ └── util.h
│ │ ├── cond.c
│ │ ├── idl-gen
│ │ │ ├── gen-any.c
│ │ │ ├── gen-code.c
│ │ │ ├── gen-vals.c
│ │ │ ├── rules.c
│ │ │ ├── rules.h
│ │ │ └── types.c
│ │ ├── str-util.c
│ │ ├── str-util.h
│ │ ├── tag-util.c
│ │ └── tag-util.h
│ ├── bison.simple
│ ├── compiler.dsp
│ ├── compiler_vc71.vcproj
│ ├── compiler.vcproj
│ ├── compiler.vcproj7
│ ├── core
│ │ ├── asn1module.h
│ │ ├── define.c
│ │ ├── define.h
│ │ ├── dependency.c
│ │ ├── do-macros.c
│ │ ├── enc-rules.c
│ │ ├── enc-rules.h
│ │ ├── err-chk.c
│ │ ├── exports.c
│ │ ├── exports.h
│ │ ├── gen-tbls.c
│ │ ├── gfsi.c
│ │ ├── lex-asn1.c
│ │ ├── lex-asn1.l
│ │ ├── lex-stuff.h
│ │ ├── lib-types.c
│ │ ├── lib-types.h
│ │ ├── link-types.c
│ │ ├── link-values.c
│ │ ├── mem.c
│ │ ├── mem.h
│ │ ├── meta.c
│ │ ├── meta.h
│ │ ├── normalize.c
│ │ ├── oid.c
│ │ ├── parse-asn1.c
│ │ ├── parse-asn1.h
│ │ ├── parse-asn1.y
│ │ ├── print.c
│ │ ├── print.h
│ │ ├── recursive.c
│ │ ├── snacc.c
│ │ ├── snacc-util.c
│ │ ├── snacc-util.h
│ │ ├── tbl.c
│ │ ├── tbl.cOK
│ │ ├── tbl.h
│ │ ├── tbl.hOK
│ │ └── val-parser.c
│ ├── makefile
│ └── readme
├── config.h.in
├── configure
├── configure.in
├── config_Used.h
├── config_win32.h
├── copying
├── doc
│ ├── eSNACCManuals.zip
│ └── PERCompilerRequirementsMatrix.doc
├── install
├── install-sh
├── install.txt
├── makefile
├── makehead.in
├── maketail
├── mkinstalldirs
├── news
├── policy.h
├── readme.txt
├── snacc_builds.dsw
├── snacc_builds.sln
├── snacc_builds.sln7
├── snacc_builds_vc71.sln
├── snacc.h
├── stamp-h.in
├── tbl-example
│ ├── example.c
│ ├── makefile
│ ├── p-rec.ber
│ └── readme
├── tbl-tools
│ ├── berdecode
│ │ ├── berdecode.c
│ │ ├── makefile
│ │ └── readme
│ ├── makefile
│ ├── mkchdr
│ │ ├── makefile
│ │ ├── mkchdr.c
│ │ ├── readme
│ │ └── tbl-gen-c-hdr.c
│ ├── ptbl
│ │ ├── makefile
│ │ ├── pasn1.c
│ │ ├── pasn1.h
│ │ ├── ptbl.c
│ │ └── readme
│ └── pval
│ ├── makefile
│ ├── pval.c
│ └── readme
├── tcl-asn
│ ├── asnwish.c
│ ├── beredit
│ ├── makefile
│ ├── readme
│ └── tclasn.c
├── tcl-example
│ ├── edex0.asn1
│ ├── edex1.asn1
│ └── makefile
├── tcl-lib
│ ├── bindings.tcl
│ ├── help.tcl
│ ├── makefile
│ ├── make-snacced
│ ├── selbox.tcl
│ ├── snacced.tcl
│ ├── tkuti.tcl
│ └── uti.tcl
├── tcl-p
├── tcl-p.c
└── version.h
44 directories, 403 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论