Interface FeatureConfig.SSLInterceptor

  • All Implemented Interfaces:

    
    public interface FeatureConfig.SSLInterceptor
    
                        

    Interceptor for SSL certificate verification.

    Register an implementation via setSSLInterceptor to customize certificate pinning or accept self-signed certificates.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean check(SslCertificateĀ sslCertificate) Called to check whether the given SSL certificate should be trusted.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • check

         abstract boolean check(SslCertificateĀ sslCertificate)

        Called to check whether the given SSL certificate should be trusted.

        Parameters:
        sslCertificate - the SSL certificate to check
        Returns:

        true to trust the certificate; false to reject it