public class CommonX509TrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
CommonX509TrustManager(X509CertChainValidator validator)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
public CommonX509TrustManager(X509CertChainValidator validator)
validator - wrapped implementation that performs an actual validationpublic void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionpublic void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 2012-2014 European Middleware Initiative. All Rights Reserved.