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
If I have to call my java code from golang application , how can I
integrate it ?
On Wednesday, April 3, 2024 at 5:21:28 PM UTC+5:30 Shivli Srivastava wrote:
> I tried with pkcs7, but for the same canonical input the digest is
> matching but the signature format is not similar to the one gener
I tried with pkcs7, but for the same canonical input the digest is matching
but the signature format is not similar to the one generated by Java Bouncy
Castle
On Tuesday, April 2, 2024 at 8:17:52 PM UTC+5:30 Tamás Gulácsi wrote:
> Earlier questions bubbled up
> https://pkg.go.dev/github.com/fu
Earlier questions bubbled up
https://pkg.go.dev/github.com/fullsailor/pkcs7?utm_source=godoc#SignedData
(https://github.com/smallstep/pkcs7)
For the XML canonicalization, you may try
https://pkg.go.dev/github.com/lafriks/go-xmldsig/v2#Canonicalizer
Shivli Srivastava a következőt írta (2024. á