Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


waggle.core.http
Class XHTTPSSLProtocolSocketFactory.EasyX509TrustManager

java.lang.Object
  extended by waggle.core.http.XHTTPSSLProtocolSocketFactory.EasyX509TrustManager

All Implemented Interfaces:
TrustManager, X509TrustManager
Enclosing class:
XHTTPSSLProtocolSocketFactory

public static class XHTTPSSLProtocolSocketFactory.EasyX509TrustManager
extends Object
implements X509TrustManager

Constructor Summary
XHTTPSSLProtocolSocketFactory.EasyX509TrustManager(KeyStore keystore)
           

 

Method Summary
 void checkClientTrusted(X509Certificate[] certificates, String authType)
           
 void checkServerTrusted(X509Certificate[] certificates, String authType)
           
 X509Certificate[] getAcceptedIssuers()
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

XHTTPSSLProtocolSocketFactory.EasyX509TrustManager

public XHTTPSSLProtocolSocketFactory.EasyX509TrustManager(KeyStore keystore)
                                                   throws NoSuchAlgorithmException,
                                                          KeyStoreException
Throws:
NoSuchAlgorithmException
KeyStoreException

Method Detail

checkClientTrusted

public void checkClientTrusted(X509Certificate[] certificates,
                               String authType)
                        throws CertificateException
Specified by:
checkClientTrusted in interface X509TrustManager
Throws:
CertificateException

checkServerTrusted

public void checkServerTrusted(X509Certificate[] certificates,
                               String authType)
                        throws CertificateException
Specified by:
checkServerTrusted in interface X509TrustManager
Throws:
CertificateException

getAcceptedIssuers

public X509Certificate[] getAcceptedIssuers()
Specified by:
getAcceptedIssuers in interface X509TrustManager

Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.