@Deprecated public final class SimpleX509TrustManager extends Object implements X509TrustManager
Constructor and Description |
---|
SimpleX509TrustManager(boolean lax)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType)
Deprecated.
|
void |
checkServerTrusted(X509Certificate[] chain,
String authType)
Deprecated.
|
X509Certificate[] |
getAcceptedIssuers()
Deprecated.
|
public SimpleX509TrustManager(boolean lax) throws KeyStoreException, NoSuchAlgorithmException
lax
- If KeyStoreException
- Generic keystore exception.NoSuchAlgorithmException
- Unknown cryptographic algorithm.public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkClientTrusted
in interface X509TrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkServerTrusted
in interface X509TrustManager
CertificateException
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.