setTrustManager

GiniCaptureDefaultNetworkService.Builder setTrustManager(@NonNull() TrustManager trustManager)

Set a custom TrustManager implementation to have full control over which certificates to trust.

Please be aware that if you set a custom TrustManager implementation here than it will override any network security configuration you may have set.

Return

the Builder instance

Parameters

trustManager

A TrustManager implementation.