public void setSignatureAlgorithm(String <http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true> algo)
Set the name (uri) of the signature encryption algorithm to use. If the algorithm is not set then an automatic detection of the signature algorithm to use is performed during the prepare() method. Refer to WSConstants which algorithms are supported. Parameters:algo - the name of the signature algorithmSee Also: WSS4JConstants.RSA <https://ws.apache.org/wss4j/apidocs/org/apache/wss4j/common/WSS4JConstants.html#RSA> , WSS4JConstants.DSA <https://ws.apache.org/wss4j/apidocs/org/apache/wss4j/common/WSS4JConstants.html#DSA>But WSConstants does not exist. In WSS$JConstants.RSA, I only saw RSA_SHA1 and RSA_SHA256. But in another link https://ws.apache.org/wss4j/apidocs/constant-values.html for SPContans, I saw RSA_SHA512. Thanks!Xiao.
