public class MOAIDTrustManager
extends iaik.pki.jsse.IAIKX509TrustManager
TrustManager implementation featuring CRL checking (inherited from
IAIKX509TrustManager), plus server-end-SSL-certificate checking.| Constructor and Description |
|---|
MOAIDTrustManager(String acceptedServerCertificateStoreURL)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
initializeLoggingContext()
Initializes the LoggingContextManager logging context.
|
boolean |
isClientTrusted(X509Certificate[] arg0)
In rare cases, this method is being called although it should not be.
|
boolean |
isServerTrusted(X509Certificate[] certChain)
Does additional server-end-SSL-certificate checking.
|
public MOAIDTrustManager(String acceptedServerCertificateStoreURL) throws IOException, GeneralSecurityException
acceptedServerCertificateStoreURL - the url leading to the acceptedServer cert storeGeneralSecurityException - occurs on security errorsIOException - occurs on IO errorspublic static void initializeLoggingContext()
public boolean isServerTrusted(X509Certificate[] certChain)
isServerTrusted in class iaik.pki.jsse.IAIKX509TrustManagercom.sun.net.ssl.X509TrustManager#isServerTrusted(java.security.cert.X509Certificate[])public boolean isClientTrusted(X509Certificate[] arg0)
isClientTrusted in class iaik.pki.jsse.IAIKX509TrustManagercom.sun.net.ssl.X509TrustManager#isClientTrusted(X509Certificate[])Copyright © 2016. All Rights Reserved.