public class AlwaysTrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
AlwaysTrustManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(@Nullable X509Certificate[] certificates,
@Nullable String authType)
Does never throw exceptions for certificates - ie.: Does not validate certificates and trusts all certificates.
|
void |
checkServerTrusted(@Nullable X509Certificate[] certificates,
@Nullable String authType)
Does never throw exceptions for certificates - ie.: Does not validate certificates and trusts all certificates.
|
@NotNull X509Certificate[] |
getAcceptedIssuers()
This implementation does not provide accepted certificate authority information at all.
|
public void checkClientTrusted(@Nullable
@Nullable X509Certificate[] certificates,
@Nullable
@Nullable String authType)
checkClientTrusted in interface X509TrustManagercertificates - The peer certificate chain.authType - The used authentication type based on the client certificate.public void checkServerTrusted(@Nullable
@Nullable X509Certificate[] certificates,
@Nullable
@Nullable String authType)
checkServerTrusted in interface X509TrustManagercertificates - The peer certificate chain.authType - The used authentication type based on the client certificate.@NotNull public @NotNull X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 2017–2020 SoftVision Development GmbH, Fulda, Germany. All rights reserved.