Package org.conscrypt
Class Conscrypt.ProviderBuilder
- java.lang.Object
-
- org.conscrypt.Conscrypt.ProviderBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Providerbuild()Conscrypt.ProviderBuilderdefaultTlsProtocol(String defaultTlsProtocol)Specifies what the default TLS protocol should be for SSLContext identifiersTLS,SSL, andDefault.Conscrypt.ProviderBuilderprovideTrustManager()Deprecated.Use provideTrustManager(true)Conscrypt.ProviderBuilderprovideTrustManager(boolean provide)Specifies whether the returned provider will provide an implementation ofTrustManagerFactory.Conscrypt.ProviderBuildersetName(String name)Sets the name of the Provider to be built.
-
-
-
Method Detail
-
setName
public Conscrypt.ProviderBuilder setName(String name)
Sets the name of the Provider to be built.
-
provideTrustManager
@Deprecated public Conscrypt.ProviderBuilder provideTrustManager()
Deprecated.Use provideTrustManager(true)Causes the returned provider to provide an implementation ofTrustManagerFactory.
-
provideTrustManager
public Conscrypt.ProviderBuilder provideTrustManager(boolean provide)
Specifies whether the returned provider will provide an implementation ofTrustManagerFactory.
-
defaultTlsProtocol
public Conscrypt.ProviderBuilder defaultTlsProtocol(String defaultTlsProtocol)
Specifies what the default TLS protocol should be for SSLContext identifiersTLS,SSL, andDefault.
-
build
public Provider build()
-
-