public class PKIXValidatorTrustManager extends Object implements X509TrustManager
Constructor and Description |
---|
PKIXValidatorTrustManager(String keyStorePath,
String keyStorePassword) |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] certificates,
String authType)
No-op
|
void |
checkServerTrusted(X509Certificate[] certsChain,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
public void checkClientTrusted(X509Certificate[] certificates, String authType)
checkClientTrusted
in interface X509TrustManager
public void checkServerTrusted(X509Certificate[] certsChain, String authType) throws CertificateException
checkServerTrusted
in interface X509TrustManager
CertificateException
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
Copyright © 2010–2017. All rights reserved.