public enum Tls12Implementation extends java.lang.Enum<Tls12Implementation>
Enum Constant and Description |
---|
sdkProvided
The SDK provided TLS socket factory will be used, enabling TLS 1.2 on supported systems.
|
systemProvided
Use the system provided TLS socket factory, overriding the recommendation.
|
useRecommendation
Use the SDK recommendation on which Tls12 implementation to use.
|
Modifier and Type | Method and Description |
---|---|
static Tls12Implementation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tls12Implementation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tls12Implementation useRecommendation
Platform.Android.needsCustomTLSSocketFactory()
,
Platform.Base.needsCustomTLSSocketFactory()
public static final Tls12Implementation systemProvided
public static final Tls12Implementation sdkProvided
public static Tls12Implementation[] values()
for (Tls12Implementation c : Tls12Implementation.values()) System.out.println(c);
public static Tls12Implementation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2019 Contentful, GmbH.. All Rights Reserved.