} else {
wsSign.computeSignature(referenceList, true, (Element)nextSibling);
}
if (nextSibling == null) {
wsSign.prependDKElementToHeader(reqData.getSecHeader());
} else {
reqData.getSecHeader().getSecurityHeader().insertBefore(
wsSign.getdktElement(), wsSign.getSignatureElement());
}