com.sun.xml.wss.impl.callback
Class DecryptionKeyCallback.PrivateKeyRequest

java.lang.Object
  extended by com.sun.xml.wss.impl.callback.DecryptionKeyCallback.PrivateKeyRequest
All Implemented Interfaces:
DecryptionKeyCallback.Request
Direct Known Subclasses:
DecryptionKeyCallback.PublicKeyBasedPrivKeyRequest, DecryptionKeyCallback.X509CertificateBasedRequest, DecryptionKeyCallback.X509IssuerSerialBasedRequest, DecryptionKeyCallback.X509SubjectKeyIdentifierBasedRequest
Enclosing class:
DecryptionKeyCallback

public abstract static class DecryptionKeyCallback.PrivateKeyRequest
extends java.lang.Object
implements DecryptionKeyCallback.Request

CallBackHandler handling this request should set the private key to be used for decryption on the request.


Constructor Summary
DecryptionKeyCallback.PrivateKeyRequest()
           
 
Method Summary
 java.security.PrivateKey getPrivateKey()
          Get the PrivateKey.
 void setPrivateKey(java.security.PrivateKey privateKey)
          Set the PrivateKey to be used for Decryption.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecryptionKeyCallback.PrivateKeyRequest

public DecryptionKeyCallback.PrivateKeyRequest()
Method Detail

setPrivateKey

public void setPrivateKey(java.security.PrivateKey privateKey)
Set the PrivateKey to be used for Decryption.

Parameters:
privateKey - java.security.PrivateKey

getPrivateKey

public java.security.PrivateKey getPrivateKey()
Get the PrivateKey.

Returns:
java.security.PrivateKey object set on this request.


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