Class ListenerCertificateAuthenticator

  • All Implemented Interfaces:
    ListenerAuthenticator

    public class ListenerCertificateAuthenticator
    extends com.couchbase.lite.internal.core.InternalCertAuthenticator
    ENTERPRISE EDITION API

    A Listener Certificate Authenticator. Certificate based authentication and authorization.
    • Field Summary

      • Fields inherited from class com.couchbase.lite.internal.core.InternalCertAuthenticator

        BEGIN_CERT, END_CERT
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ListenerCertificateAuthenticator

        public ListenerCertificateAuthenticator​(@NonNull
                                                java.util.List<java.security.cert.Certificate> rootCerts)
        Create an authenticator that allows clients whose certificate chains can be verified using (only) one of the certs in the passed list. OS-bundled certs are ignored.
        Parameters:
        rootCerts - root certificates used to verify client certificate chains.