Hi, Yes RSA-SHA512 is supported. See this test-case I added:
https://github.com/apache/ws-wss4j/commit/1765c4149d700cac8aea5c1a3b78f2bdee8b6e71 Colm. On Thu, Sep 3, 2020 at 4:39 PM Xiao Li <[email protected]> wrote: > 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. > > >
