You need a private key password to access the key for signing. You can either supply the password via a CallbackHandler, or via a "org.apache.wss4j.crypto.merlin.keystore.private.password" entry in your crypto properties file.
Colm. On Wed, Feb 6, 2019 at 5:41 PM G.Dab <[email protected]> wrote: > Thanks for responding Colm :) > > Lemmie ask this. The only actions that I need to perform are add a digital > x.509 signature and timestamp. Is a CallbackHandler still necessary? > > My apologies, I'm still a novice when it comes to Java. The > interop.client.KeystorePasswordCallback value was just from the example off > the WS-SecurityPolicy page, and not a class I've rolled on my own, so to > answer your question I haven't actually created one yet. My bad. > > Is the WSPasswordCallback.class found under org.apache.wss4j.common.ext in > the wss4j-ws-security-common-2.2.2.jar a possible option to use? > > > > -- > Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
