Hello Karlovsky,
Thank you for the update .
After using this library I was able to generate Signed XML .
Output is :
http://www.w3.org/2000/09/xmldsig#";>
http://www.w3.org/2006/12/xml-c14n11
"/>
http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
http://www.w3.org/2000/09/xmldsig#envelop
Hello Alexey,
It's working now , now able to set configuration as per requirement.
I believe this function is 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,
I would try to load key and cert from pfx using this library
https://github.com/SSLMate/go-pkcs12
On Thu, Dec 22, 2022 at 1:13 PM Reeturaj Sahoo
wrote:
> Hello Alexey,
>
> It's working now , now able to set configuration as per requirement.
>
> I believe this function is used for random key gene
Hi, I believe you have used the default SigningContext with the
NewDefaultSigningContext method with default MakeC14N11Canonicalizer:
func NewDefaultSigningContext(ks X509KeyStore) *SigningContext {
return &SigningContext{
Hash: crypto.SHA256,
KeyStore: ks,
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
Hello Golang Team,
I want to implement Signed XML to my XML Data .
If anyone have reference document .Kindly share
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email