Skip to content
Advertisement

Validating a Signature of a SOAP Message

Everybody, Hello!

This is my request message:

JavaScript

I try to validate the <ds:DigestValue>RJhc1ZVjXdUQEIwLTH356p7H0QY=</ds:DigestValue> which is related to the body tag. There are tags like ds:CanonicalizationMethod and ds:Transformswhich are really confusing for me. My question is how to validate the body part? Firstly, what tag should I get to begin validation

JavaScript

or just

JavaScript

??? What operations (canonicalization / transformation / encryption) must I perform???

Any help is appreciate. Thanks in advance.

Advertisement

Answer

The solution is:

JavaScript

where

JavaScript

and give to the X509KeySelector a public key you need to validate the signature.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement