return null;
}
public static boolean isSigned(DeliveryChannel deliveryChannel)
{
DocExchange docExchange = getDocExchange(deliveryChannel);
if (docExchange != null && docExchange.getEbXMLReceiverBinding() != null && docExchange.getEbXMLReceiverBinding().getReceiverNonRepudiation() != null && docExchange.getEbXMLReceiverBinding().getReceiverNonRepudiation().getSignatureAlgorithm() != null)
for (SignatureAlgorithm algorithm : docExchange.getEbXMLReceiverBinding().getReceiverNonRepudiation().getSignatureAlgorithm())
if (XMLSignature.ALGO_ID_SIGNATURE_RSA_SHA1.equals(algorithm.getValue()))
return true;
return false;
}