public enum TrustAllTrustManager extends Enum<TrustAllTrustManager> implements X509TrustManager
X509Certificates. Used when SSL is not enabled on the client side to allow SSL during Login7 exchange.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
static TrustAllTrustManager |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrustAllTrustManager[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrustAllTrustManager INSTANCE
public static TrustAllTrustManager[] values()
for (TrustAllTrustManager c : TrustAllTrustManager.values()) System.out.println(c);
public static TrustAllTrustManager valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void checkClientTrusted(X509Certificate[] chain, String authType)
checkClientTrusted in interface X509TrustManagerpublic void checkServerTrusted(X509Certificate[] chain, String authType)
checkServerTrusted in interface X509TrustManagerpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 2023. All rights reserved.