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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptionKeyCallback.SymmetricKeyRequest
public EncryptionKeyCallback.SymmetricKeyRequest()
setSymmetricKey
public void setSymmetricKey(SecretKey symmetricKey)
- Constructor.
- Parameters:
symmetricKey - javax.crypto.SecretKey representing the
SymmetricKey to be used for Encryption.
getSymmetricKey
public SecretKey getSymmetricKey()
- Get the SymmetricKey stored in this Request.
- Returns:
javax.crypto.SecretKey.
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.