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(PublicKey pk)
          Constructor.
 
Method Summary
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureVerificationKeyCallback.PublicKeyBasedRequest

public SignatureVerificationKeyCallback.PublicKeyBasedRequest(PublicKey pk)
Constructor.

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

getPublicKey

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

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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.