这是我的要求的一部分。
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference URI="">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>srfthsrfthsth</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>srftjzasrthuust</SignatureValue>
<KeyInfo>
<X509Data>
<X509IssuerSerial>
<X509IssuerName>qwwe</X509IssuerName>
<X509SerialNumber>123</X509SerialNumber>
</X509IssuerSerial>
<X509Certificate>assdf</X509Certificate>
</X509Data>
</KeyInfo>
我需要使用groovy在Soap UI中验证xml签名。 怎么做?