Yes will do. Another thing I found is your are defining algorithm in your signature, but your`re not using it. Maybe you want to verify that.
public static ByteArrayOutputStream signUsingStAX( InputStream inputStream, List<QName> namesToSign, String algorithm, Key signingKey, X509Certificate signingCert ) throws Exception { -- View this message in context: http://apache-xml-project.6118.n7.nabble.com/VOTE-Release-Apache-Santuario-XML-Security-for-Java-2-0-3-tp41648p41716.html Sent from the Apache XML - Security - Dev mailing list archive at Nabble.com.