Package org.apache.wss4j.dom.common
Class SecretKeyCallbackHandler
- java.lang.Object
-
- org.apache.wss4j.dom.common.SecretKeyCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler
public class SecretKeyCallbackHandler extends Object implements CallbackHandler
A Callback Handler implementation for the case of storing a secret key.
-
-
Constructor Summary
Constructors Constructor Description SecretKeyCallbackHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSecretKey(String identifier, byte[] secretKey)voidhandle(Callback[] callbacks)voidsetOutboundSecret(byte[] secret)
-
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-
addSecretKey
public void addSecretKey(String identifier, byte[] secretKey)
-
setOutboundSecret
public void setOutboundSecret(byte[] secret) throws WSSecurityException- Throws:
WSSecurityException
-
-