public interface SelectClientCertificateCallback extends BrowserAsyncCallback<SelectClientCertificateCallback.Params,SelectClientCertificateCallback.Action>
SelectClientCertificateCallback.Params.certificates()
method.
The SelectClientCertificateCallback.Params
contains information about SSL authorization request.
You can use this callback to display a dialog with the list of the available certificates that allows the user to select the required certificate. Please note that it is not necessary to display a dialog in this callback.
Use the SelectClientCertificateCallback.Action.cancel()
method to cancel the authorization.
Use the SelectClientCertificateCallback.Action.select(int)
method to inform the browser to use the client certificate
located by the passed index in the certificate list.
Use the SelectClientCertificateCallback.Action.select(ClientCertificate)
method to inform the browser to use the
specified client certificate.
You can construct a ClientCertificate
instance from an existing X509Certificate
instance using the corresponding Certificate.of(X509Certificate)
method.
If the callback throws an exception, the SelectClientCertificateCallback.Action.cancel()
method will be invoked.
Modifier and Type | Interface and Description |
---|---|
static class |
SelectClientCertificateCallback.Action
An action providing a response to the
SelectClientCertificateCallback . |
static interface |
SelectClientCertificateCallback.Params
The parameters of the
SelectClientCertificateCallback . |
on