Package com.sun.xml.wss.impl.callback
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 Summary
Constructors Constructor Description PublicKeyBasedRequest(PublicKey pk)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicKeygetPublicKey()Get the PublicKey stored in this Request.-
Methods inherited from class com.sun.xml.wss.impl.callback.SignatureVerificationKeyCallback.X509CertificateRequest
getX509Certificate, setX509Certificate
-
-
-
-
Constructor Detail
-
PublicKeyBasedRequest
public PublicKeyBasedRequest(PublicKey pk)
Constructor.- Parameters:
pk-java.security.PublicKeyrepresenting the PublicKey to be used for Signature Verification.
-
-
Method Detail
-
getPublicKey
public PublicKey getPublicKey()
Get the PublicKey stored in this Request.- Returns:
java.security.PublicKeyrepresenting the PublicKey used for Signature Verification.
-
-