/** * Compute the Signature over the references. The signature element will be * prepended to the security header. * * This method can be called any time after the references were set. See * <code>addReferencesToSign()</code>. * * @param referenceList The list of references to sign * * @throws WSSecurityException */ public void computeSignature( List<javax.xml.crypto.dsig.Reference> referenceList ) throws WSSecurityException { computeSignature(referenceList, true, null); }
/** * Compute the Signature over the references. The signature element will be * prepended to the security header. * * This method can be called any time after the references were set. See * <code>addReferencesToSign()</code>. * * @param referenceList The list of references to sign * * @throws WSSecurityException */ public void computeSignature( List<javax.xml.crypto.dsig.Reference> referenceList ) throws WSSecurityException { computeSignature(referenceList, true, null); }
addReferencesToSign(parts, secHeader); computeSignature(referenceList);
addReferencesToSign(parts, secHeader); computeSignature(referenceList);
List<Reference> referenceList = wsSecSignature.addReferencesToSign( signParts, wsSecHeader); wsSecSignature.computeSignature(referenceList, false, null);
sig.computeSignature(referenceList, false, this.getInsertionLocation());
supportingSig.computeSignature(referenceList, false, this.getInsertionLocation());
List<Reference> referenceList = sign.addReferencesToSign(signParts, wsSecHeader); sign.computeSignature(referenceList, false, null);
List<Reference> referenceList = sign.addReferencesToSign( signParts, wsSecHeader); sign.computeSignature(referenceList, false, null);
wsSign.computeSignature(referenceList, false, null); } else { wsSign.computeSignature(referenceList, true, siblingElementToPrepend);
wsSign.computeSignature(referenceList, false, null); } else { wsSign.computeSignature(referenceList, true, siblingElementToPrepend);
sig.computeSignature(referenceList, false, null);
sig.computeSignature(referenceList, false, this.getInsertionLocation()); } else { sig.computeSignature(referenceList, true, this.refList);
sig.computeSignature(referenceList);
sig.computeSignature(referenceList, false, this.getInsertionLocation());
sign.computeSignature(referenceList); reqData.getSignatureValues().add(sign.getSignatureValue()); } catch (WSSecurityException e) {
sign.computeSignature(referenceList); reqData.getSignatureValues().add(sign.getSignatureValue()); } catch (WSSecurityException e) {
sig.computeSignature(referenceList, true, this.mainRefListElement); this.setInsertionLocation(this.mainRefListElement); } else { sig.computeSignature(referenceList, false, this.getInsertionLocation()); this.setInsertionLocation(sig.getSignatureElement());