PrivateKeyCallbackpublic class PrivateKeyCallback extends Object implements CallbackCallback for acquiring a Public Key Infrastructure (PKI) private key
and its corresponding certificate chain.
This Callback may be used by client or server authentication modules
to obtain private keys or private key references, from key
repositories available to the CallbackHandler that processes the Callback. |
Fields Summary |
---|
private Request | request | private PrivateKey | key | private Certificate[] | chain |
Constructors Summary |
---|
public PrivateKeyCallback(Request request)Constructs this PrivateKeyCallback with a private key Request object.
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.
this.request = request;
|
|