Class Conscrypt.ProviderBuilder
java.lang.Object
org.conscrypt.Conscrypt.ProviderBuilder
- Enclosing class:
Conscrypt
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()defaultTlsProtocol(String defaultTlsProtocol) Specifies what the default TLS protocol should be for SSLContext identifiersTLS,SSL, andDefault.isTlsV1Deprecated(boolean deprecatedTlsV1) Specifies whether TLS v1.0 and 1.1 should be deprecatedisTlsV1Enabled(boolean enabledTlsV1) Specifies whether TLS v1.0 and 1.1 should be enabledDeprecated.Use provideTrustManager(true)provideTrustManager(boolean provide) Specifies whether the returned provider will provide an implementation ofTrustManagerFactory.Sets the name of the Provider to be built.
-
Field Details
-
name
-
provideTrustManager
private boolean provideTrustManager -
defaultTlsProtocol
-
deprecatedTlsV1
private boolean deprecatedTlsV1 -
enabledTlsV1
private boolean enabledTlsV1
-
-
Constructor Details
-
ProviderBuilder
private ProviderBuilder()
-
-
Method Details
-
setName
Sets the name of the Provider to be built. -
provideTrustManager
Deprecated.Use provideTrustManager(true)Causes the returned provider to provide an implementation ofTrustManagerFactory. -
provideTrustManager
Specifies whether the returned provider will provide an implementation ofTrustManagerFactory. -
defaultTlsProtocol
Specifies what the default TLS protocol should be for SSLContext identifiersTLS,SSL, andDefault. -
isTlsV1Deprecated
Specifies whether TLS v1.0 and 1.1 should be deprecated -
isTlsV1Enabled
Specifies whether TLS v1.0 and 1.1 should be enabled -
build
-