Class SignatureVerificationKeyCallback.PublicKeyBasedRequest

java.lang.Object
com.sun.xml.wss.impl.callback.SignatureVerificationKeyCallback.X509CertificateRequest
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 Details

    • PublicKeyBasedRequest

      public PublicKeyBasedRequest(PublicKey pk)
      Constructor.
      Parameters:
      pk - java.security.PublicKey representing the PublicKey to be used for Signature Verification.
  • Method Details

    • getPublicKey

      public PublicKey getPublicKey()
      Get the PublicKey stored in this Request.
      Returns:
      java.security.PublicKey representing the PublicKey used for Signature Verification.