public final class ClientCertificateAuthenticator extends BaseAuthenticator
An authenticator for client certificate authentication which happens during the TLS handshake when connecting to a server.
The client certificate authenticator is currently used only for authenticating to a URLEndpointListener. The URLEndpointListener must have TLS enabled and must be configured with a ListenerCertificateAuthenticator to verify client certificates.
| Constructor and Description |
|---|
ClientCertificateAuthenticator(TLSIdentity identity)
Creates a ClientCertificateAuthenticator object with the given client identity.
|
| Modifier and Type | Method and Description |
|---|---|
TLSIdentity |
getIdentity()
Get the client identity.
|
public ClientCertificateAuthenticator(@NonNull
TLSIdentity identity)
identity - client identity@NonNull public TLSIdentity getIdentity()