弹跳城堡示例编码CDR [英] Bouncy Castle example for encoding CDR

查看:207
本文介绍了弹跳城堡示例编码CDR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用 ASN.1 符号编码 PGWRecord CDR ,从第89页起,在此3GPP TS文档



我一直在寻找一些例子,我可以如何做到这一点,但无济于事。有没有例子可以告诉我如何使用 Bouncy Castle ?或者有一个比 Bouncy Castle 更好的替代方案来编码这个CDR?



一步一步的说明我可以这样做会非常好!



任何帮助将不胜感激。感谢所有!

解决方案

Ya,只是两个月后,我已经在Bouncy城​​堡工作来解码CDRS哪个3GPP绞合的编码文件。目前,我很好的解码,如果任何解码问题,我可以提供更多的例子,我可以解决它很容易解决它。



但对于你的问题,我可以建议一些点如果您有任何问题请求添加评论。它不仅有助于您,它可以帮助从编码/解码过程开始的新蜜蜂。



a)您做了正确的API选择(Bouncy Castle)编码CDRS文件b / b

b)你可以去付费版本的编码/解码API,但是太宽泛了



c)我找到了3个付费API,它们提供了良好的预期结果,那些是

  1)[OSS Nokalva] [1] 
2)Obj-Sys
3)unigone

d)对我来说,Bouncy城​​堡给了然后100%的结果即使他们工作良好和良好的支付API。如果你想使用Bouncy城​​堡,那么你需要更多的努力去编码,所以Bouncy城​​堡是一个API,它支持基本的和一些高级的解析器,做任何编码/解码你需要编写java类,根据你的ASN.1语法规范等等..我可以写步骤,但它会太长,所以这个答案结束,我给你一个链接,更好地解释它。点击此链接并下载 bcprov-jdk15on-154.tar.gz 文件。



e)解压缩您下载的软件包,并转到 bcprov-jdk15on-154\bcprov-jdk15on -154\src\org\bouncycastle\asn1\test 您会发现N个编码/解码CDR的示例根据ASN.1语法规范



f)如果你想用非常简单的例子来理解,那么通过这个链接你可以轻松地做你的工作



仍然如果你发现很难理解,然后写评论,我会尝试帮助我最好的


I am trying to encode PGWRecord CDR using ASN.1 notation, starting on page 89 in this 3GPP TS Document

I've been looking for awhile for examples how I can do this, but to no avail. Are there any examples that can show me how to do this using Bouncy Castle? Or is there a better alternative than Bouncy Castle to encode this CDR?

Step by step instructions on how I can do this would be very nice!

Any help would be very appreciated. Thanks all!

解决方案

Ya, just two months back i have worked on Bouncy castle to decode CDRS which of 3GPP stranded encoded file. Currently i am good in decoding and if any issues on decoding i can give more example and i can solve it easily solve it.

But for your question i can suggest some points and if you have any question pleas add comment. It not only help for you it can help for new bees who start with encode / decode process.

a) You did right API choice (Bouncy Castle) for encoding CDRS files

b) You can go for paid version of encode / decode APIs but it is too expansive

c) I have found 3 paid APIs which gives good and expected results, those are

1) [OSS Nokalva][1]
2) Obj-Sys
3) unigone

d) For me Bouncy castle gave 100% result then paid APIs even though they work well and good. If you want to use Bouncy castle then you need to put some more effort to work on encoding, So Bouncy castle is an API which support basic and some advanced parser, to do any encoding / decoding you need to write the java classes as per your ASN.1 syntax specification and so on.. I can write the steps but it will be too long so end of this answer i am giving you a link which explain it better. click on this link and download bcprov-jdk15on-154.tar.gz file.

e) Unzip the package you downloaded and go to bcprov-jdk15on-154\bcprov-jdk15on-154\src\org\bouncycastle\asn1\test you will find N number of examples to encode/decode CDRs according to the ASN.1 syntax specification

f) If you want to understand with very simple example then go through this link you can easily do your job

Still if you find difficult to understand then write a comment i will try to help my best.

这篇关于弹跳城堡示例编码CDR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆