Package org.conscrypt
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
.Deprecated.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
-
-
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
. -
build
-