/** * Adds a new <code>SignatureConfirmation</code> to a soap envelope. * * A complete <code>SignatureConfirmation</code> is constructed and added * to the <code>wsse:Security</code> header. * * @param sigVal the Signature value. This will be the content of the "Value" attribute. * @return Document with SignatureConfirmation added */ public Document build(byte[] sigVal) { LOG.debug("Begin add signature confirmation..."); signatureValue = sigVal; prepare(); prependToHeader(); return getDocument(); }