public class ListenerCertificateAuthenticator
extends com.couchbase.lite.internal.core.InternalCertAuthenticator
Constructor and Description |
---|
ListenerCertificateAuthenticator(List<Certificate> rootCerts)
Create an authenticator that allows clients whose certificate chains can be verified using (only)
on of the certs in the passed list.
|
ListenerCertificateAuthenticator(ListenerCertificateAuthenticatorDelegate delegate)
Create an authenticator that delegates all responsibility for authentication and authorization
to the passed delegate.
|
public ListenerCertificateAuthenticator(@NonNull List<Certificate> rootCerts)
rootCerts
- root certificates used to verify client certificate chains.public ListenerCertificateAuthenticator(@NonNull ListenerCertificateAuthenticatorDelegate delegate)
ListenerCertificateAuthenticatorDelegate
.delegate
- an authenticator