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 -
Method Summary
Modifier and TypeMethodDescriptionGet the SymmetricKey stored in this Request.voidsetSymmetricKey(SecretKey symmetricKey) Constructor.
-
Constructor Details
-
SymmetricKeyRequest
public SymmetricKeyRequest()
-
-
Method Details
-
setSymmetricKey
Constructor.- Parameters:
symmetricKey-javax.crypto.SecretKeyrepresenting the SymmetricKey to be used for Encryption.
-
getSymmetricKey
Get the SymmetricKey stored in this Request.- Returns:
javax.crypto.SecretKey.
-