signedParts = (SignedParts)signedPartsAis.iterator().next().getAssertion();
}
if (signedParts == null) {
List<Header> headers = new ArrayList<Header>();
if (addNs != null) {
headers.add(new Header("To", addNs));
headers.add(new Header("From", addNs));
headers.add(new Header("FaultTo", addNs));
headers.add(new Header("ReplyTo", addNs));
headers.add(new Header("Action", addNs));
headers.add(new Header("MessageID", addNs));
headers.add(new Header("RelatesTo", addNs));
}
signedParts =
new SignedParts(SPConstants.SPVersion.SP12, true, null, headers, false);
}