com.sun.xml.wss.impl.callback
Class EncryptionKeyCallback.SymmetricKeyRequest

java.lang.Object
  extended by 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 java.lang.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
EncryptionKeyCallback.SymmetricKeyRequest()
           
 
Method Summary
 javax.crypto.SecretKey getSymmetricKey()
          Get the SymmetricKey stored in this Request.
 void setSymmetricKey(javax.crypto.SecretKey symmetricKey)
          Constructor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionKeyCallback.SymmetricKeyRequest

public EncryptionKeyCallback.SymmetricKeyRequest()
Method Detail

setSymmetricKey

public void setSymmetricKey(javax.crypto.SecretKey symmetricKey)
Constructor.

Parameters:
symmetricKey - javax.crypto.SecretKey representing the SymmetricKey to be used for Encryption.

getSymmetricKey

public javax.crypto.SecretKey getSymmetricKey()
Get the SymmetricKey stored in this Request.

Returns:
javax.crypto.SecretKey.


Copyright ? 2005 Sun Microsystems, Inc. All Rights Reserved.