Package: org.conscrypt
ProviderBuilder
public static class Conscrypt.ProviderBuilder
Public Methods
setName
public ProviderBuilder setName(String name)
Sets the name of the Provider to be built.
provideTrustManager
public ProviderBuilder provideTrustManager()
provideTrustManager
public ProviderBuilder provideTrustManager(boolean provide)
defaultTlsProtocol
public ProviderBuilder defaultTlsProtocol(String defaultTlsProtocol)
Specifies what the default TLS protocol should be for SSLContext identifiers
TLS
,
SSL
, and
Default
.
isTlsV1Deprecated
public ProviderBuilder isTlsV1Deprecated(boolean deprecatedTlsV1)
Specifies whether TLS v1.0 and 1.1 should be deprecated
isTlsV1Enabled
public ProviderBuilder isTlsV1Enabled(boolean enabledTlsV1)
Specifies whether TLS v1.0 and 1.1 should be enabled
build
public Provider build()