Is there any lib like CMSSignedData in GOLANG?

562 views
Skip to first unread message

18126...@163.com

unread,
Jun 7, 2016, 4:21:44 AM6/7/16
to golang-nuts
I don't know the server how to encrypt and signed data, but i have the CMSSignedData class in Java to decode data, the CMSSignedData class is from org.bouncycastle.cms.*, it's contained in the jar "bcpkix-jdk15on-1.52.jar". 
Is there similar lib in GOLANG, then i can use it to decode the server data easily.

Konstantin Khomoutov

unread,
Jun 7, 2016, 1:59:10 PM6/7/16
to 18126...@163.com, golang-nuts
Out of curiosity, I have googled for you, and judging from [1],
[2] might be a way to go.

1. https://www.bouncycastle.org/docs/pkixdocs1.4/org/bouncycastle/cms/CMSSignedData.html
2. https://godoc.org/github.com/fullsailor/pkcs7

18126...@163.com

unread,
Jun 7, 2016, 8:51:40 PM6/7/16
to golang-nuts, 18126...@163.com
It's great. 

In fact , I have found some code using pkcs7 to decode,  and it works very well now.

Thank you very much.

在 2016年6月8日星期三 UTC+8上午1:59:10,Konstantin Khomoutov写道:

Somporn pongpan

unread,
Sep 9, 2020, 2:00:14 PM9/9/20
to golang-nuts
Can you share the code or any info for decryption with pkcs7?

liuhanlin

unread,
Sep 10, 2020, 10:47:14 AM9/10/20
to Somporn pongpan, golang-nuts
https://github.com/jack0liu/pbkdf2

if it works,thanks for giving a star

发自我的iPhone

在 2020年9月10日,上午2:00,Somporn pongpan <b41...@gmail.com> 写道:

Can you share the code or any info for decryption with pkcs7?
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/nacJKaX_THw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/97a53860-5580-4b8f-a12f-120e8882fd6fn%40googlegroups.com.

liuhanlin

unread,
Sep 10, 2020, 11:02:37 AM9/10/20
to Somporn pongpan, golang-nuts

发自我的iPhone

在 2020年9月10日,上午2:00,Somporn pongpan <b41...@gmail.com> 写道:

Can you share the code or any info for decryption with pkcs7?
--
Reply all
Reply to author
Forward
0 new messages