com.sun.xml.wss.impl.callback
Class SignatureVerificationKeyCallback.PublicKeyBasedRequest

java.lang.Object
  extended by com.sun.xml.wss.impl.callback.SignatureVerificationKeyCallback.X509CertificateRequest
      extended by com.sun.xml.wss.impl.callback.SignatureVerificationKeyCallback.PublicKeyBasedRequest
All Implemented Interfaces:
SignatureVerificationKeyCallback.Request
Enclosing class:
SignatureVerificationKeyCallback

public static class SignatureVerificationKeyCallback.PublicKeyBasedRequest
extends SignatureVerificationKeyCallback.X509CertificateRequest

Request for an X.509 certificate given the Public Key This is an optional request and need not be handled by the handler. The runtime makes a callback with this request to obtain the certificate corresponding to the PublicKey. The returned certificate is stored in the requestor Subject for later use by the Application.


Constructor Summary
SignatureVerificationKeyCallback.PublicKeyBasedRequest(java.security.PublicKey pk)
          Constructor.
 
Method Summary
 java.security.PublicKey getPublicKey()
          Get the PublicKey stored in this Request.
 
Methods inherited from class com.sun.xml.wss.impl.callback.SignatureVerificationKeyCallback.X509CertificateRequest
getX509Certificate, setX509Certificate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureVerificationKeyCallback.PublicKeyBasedRequest

public SignatureVerificationKeyCallback.PublicKeyBasedRequest(java.security.PublicKey pk)
Constructor.

Parameters:
pk - java.security.PublicKey representing the PublicKey to be used for Signature Verification.
Method Detail

getPublicKey

public java.security.PublicKey getPublicKey()
Get the PublicKey stored in this Request.

Returns:
java.security.PublicKey representing the PublicKey used for Signature Verification.


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