Package com.sun.xml.wss.impl.callback
Class DecryptionKeyCallback.SymmetricKeyRequest
- java.lang.Object
-
- com.sun.xml.wss.impl.callback.DecryptionKeyCallback.SymmetricKeyRequest
-
- All Implemented Interfaces:
DecryptionKeyCallback.Request
- Direct Known Subclasses:
DecryptionKeyCallback.AliasSymmetricKeyRequest
- Enclosing class:
- DecryptionKeyCallback
public abstract static class DecryptionKeyCallback.SymmetricKeyRequest extends Object implements DecryptionKeyCallback.Request
Request for a symmetric key to be used for decryption.
-
-
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.SecretKeyto be used for Decryption.
-
getSymmetricKey
public SecretKey getSymmetricKey()
Get the SymmetricKey stored in this Request.- Returns:
javax.crypto.SecretKey
-
-