public abstract class AbstractJotyTrustManager
extends java.lang.Object
implements javax.net.ssl.X509TrustManager
checkServerTrusted
method
unimplemented. Its implementation manages the user acceptance and the
acquisition by the client of the server x509-type certificate. A
configuration item ('certTesting') allows the developer/tester to erase the
certificate from the client store.Modifier and Type | Field and Description |
---|---|
protected JotyApplication |
m_app |
protected java.lang.String |
m_authType |
protected java.security.cert.Certificate |
m_cert |
protected java.security.cert.X509Certificate[] |
m_chain |
protected javax.net.ssl.X509TrustManager |
m_JSSEX509TrustManager |
protected boolean |
m_unhandledException |
Constructor and Description |
---|
AbstractJotyTrustManager(JotyApplication app) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
certProperties(java.security.cert.X509Certificate x509Cert) |
void |
checkClientTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType) |
java.security.cert.X509Certificate[] |
getAcceptedIssuers() |
protected javax.net.ssl.X509TrustManager m_JSSEX509TrustManager
protected JotyApplication m_app
protected java.security.cert.Certificate m_cert
protected java.security.cert.X509Certificate[] m_chain
protected boolean m_unhandledException
protected java.lang.String m_authType
public AbstractJotyTrustManager(JotyApplication app) throws java.lang.Exception
java.lang.Exception
protected java.lang.String certProperties(java.security.cert.X509Certificate x509Cert)
public void checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType) throws java.security.cert.CertificateException
checkClientTrusted
in interface javax.net.ssl.X509TrustManager
java.security.cert.CertificateException
public java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface javax.net.ssl.X509TrustManager