You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Chendu <ja...@gmail.com> on 2014/03/07 19:26:35 UTC

Re: Fail to verified the signature

Thank you so much, this helped.

org.w3c.dom.Element assertionElement =
getElementById(doc.getDocumentElement(),id);
            
assertionElement.setIdAttributeNS(null, "ID", true);
            
DOMSignContext dsc = new DOMSignContext(keyPair.getPrivate(), assertionElement);