Package ai.nexconn.chatui.config
Interface FeatureConfig.SSLInterceptor
-
- All Implemented Interfaces:
public interface FeatureConfig.SSLInterceptorInterceptor for SSL certificate verification.
Register an implementation via setSSLInterceptor to customize certificate pinning or accept self-signed certificates.
-
-
Method Summary
Modifier and Type Method Description abstract booleancheck(SslCertificateĀ sslCertificate)Called to check whether the given SSL certificate should be trusted. -
-
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:
trueto trust the certificate;falseto reject it
-
-
-
-