0
'dsig-xpath : XPath'가 아닌 'XPath'를 얻는 방법? 'XPath'가 'dsig-xpath : XPath'가 아니 었습니까?
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="SigFrs">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<s:Reference Id="signatureId" URI="">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
<dsig-xpath:XPath xmlns:dsig-xpath="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect">/Root/Element1</XPath>
<dsig-xpath:XPath xmlns:dsig-xpath="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect">/Root/Element2</XPath>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>6D+1WZjC....vGidMqCX5uCL1rw=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
은 다음과 같이 얻을 수 있습니다 :
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
<XPath xmlns="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect">/Root/Element1</XPath>
<XPath xmlns="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect">/Root/Element2</XPath>
</ds:Transform>
</ds:Transforms>
이것은 내가 (xmlsec-2.1.0.jar를) 수입의 .jar처럼 보일 수 있습니다?