You can wrap your java BC code in http server and access it with golang
http client, also, you can wrap your BC code in CLI tool and exec java
process with os.exec.
But, as I can understand you need CMS signature for xml content, with
golang you can do CMS signatures with https://github.com/fullsa
It's a strange task, because for xml there is a XMLDSIG standard for
signing XML documents. I recommend trying
https://github.com/russellhaering/goxmldsig for this.
If XMLDSig is not suitable and you definitely want to create a digital
signature of an xml - you should think about xml normalization
You can use CMS encryption (part of
https://datatracker.ietf.org/doc/html/rfc5652)
For example you can try https://github.com/mozilla-services/pkcs7
In CMS you use a public key to encrypt the generated intermediate
symmetric key (content encryption key) and the receiver can decrypt
this key and the
used for random key generation randomKeyStore
> := dsig.RandomKeyStoreForTest()
>
> want to use previously generated .pfx file, key password .
>
> Anu suggestion to implement.
>
>
>
> On Thu, Dec 22, 2022 at 4:26 PM Karlovsky Alexey
> wrote:
>
>> Hi,
/BAIwADANBgkqhkiG9w0BAQsFAAOBgQBmLMDfozjxxG2Scrj/p9IwQS8hLL8HXQZ9BgeoG8MW1c0ZOmo/9ElFlQhih0YspzgKKYozNN6X8WkuKPJtTRJk5uCaQqOLkGn1+0HLBbnaWW3v+2Ca7MLIZihlq6xwf25aRwYGiEoBgJ9PyaLaR/vYd0+N7Z6yQbNxh5D4zzEm/A==
>
>
>
>
>
>
> But i am getting http://www.w3.org/2006/12/xml-c14n11"/>
&g
Hi, I can recommend to start with this library
https://github.com/russellhaering/goxmldsig
On Tue, 20 Dec 2022, 19:03 Reeturaj Sahoo,
wrote:
> Hello Golang Team,
>
> I want to implement Signed XML to my XML Data .
> If anyone have reference document .Kindly share
>
> --
> You received this mess
Hi, I had the same problem in the Firefox browser.
Actually, there are 2 errors in the browser console:
Content Security Policy: The page’s settings blocked the loading of a
resource at inline (“script-src”). 3 script.js:587:30117
Content Security Policy: The page’s settings blocked the loading of
Hi,
I find very interesting and helpful this book:
https://go101.org/article/101.html
>From it's description:
*Go 101 is a book focusing on Go syntax/semantics and all kinds of runtime
related things (Go 1.17 ready) and tries to help gophers gain a deep and
thorough understanding of Go. This book
Also i can recommend this book:
https://go101.org/article/101.html
On Wed, Sep 16, 2020 at 1:15 PM Vladimir Varankin
wrote:
> Hey!
>
> My peaks, that helped me a lot, back when I started with Go (depending on
> what's your prefered way to learn and how fast do you have to learn it,
> some might