Package com.sun.xml.wss.impl.callback
Class EncryptionKeyCallback.SymmetricKeyRequest
- java.lang.Object
-
- com.sun.xml.wss.impl.callback.EncryptionKeyCallback.SymmetricKeyRequest
-
- All Implemented Interfaces:
EncryptionKeyCallback.Request
- Direct Known Subclasses:
EncryptionKeyCallback.AliasSymmetricKeyRequest
- Enclosing class:
- EncryptionKeyCallback
public abstract static class EncryptionKeyCallback.SymmetricKeyRequest extends Object implements EncryptionKeyCallback.Request
A CallbackHandler handling an instance of this request should make sure that a symmetric key must be set on the request.
-
-
Constructor Summary
Constructors Constructor Description SymmetricKeyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretKeygetSymmetricKey()Get the SymmetricKey stored in this Request.voidsetSymmetricKey(SecretKey symmetricKey)Constructor.
-
-
-
Method Detail
-
setSymmetricKey
public void setSymmetricKey(SecretKey symmetricKey)
Constructor.- Parameters:
symmetricKey-javax.crypto.SecretKeyrepresenting the SymmetricKey to be used for Encryption.
-
getSymmetricKey
public SecretKey getSymmetricKey()
Get the SymmetricKey stored in this Request.- Returns:
javax.crypto.SecretKey.
-
-