public class PrivateKeyCallback extends javax.security.auth.message.callback.PrivateKeyCallback
| Modifier and Type | Class and Description |
|---|---|
static class |
PrivateKeyCallback.AliasRequest
Request type for private keys that are identified via an alias.
|
static class |
PrivateKeyCallback.IssuerSerialNumRequest
Request type for private keys that are identified via an
issuer/serial number.
|
static interface |
PrivateKeyCallback.Request
Marker interface for private key request types.
|
static class |
PrivateKeyCallback.SubjectKeyIDRequest
Request type for private keys that are identified via a SubjectKeyID
|
javax.security.auth.message.callback.PrivateKeyCallback.DigestRequest| Constructor and Description |
|---|
PrivateKeyCallback(PrivateKeyCallback.Request request)
Constructs this PrivateKeyCallback with a private key Request object.
|
| Modifier and Type | Method and Description |
|---|---|
PrivateKeyCallback.Request |
getRequest()
Get the Request object which identifies the private key to be returned.
|
getChain, getKey, setKeypublic PrivateKeyCallback(PrivateKeyCallback.Request request)
The request object identifies the private key to be returned. The corresponding certificate chain for the private key is also returned.
If the request object is null, the handler of the callback relies on its own default.
request - identifier for the private key, or null.public PrivateKeyCallback.Request getRequest()
getRequest in class javax.security.auth.message.callback.PrivateKeyCallbackCopyright © 2019. All rights reserved.