Package com.soffid.iam.ssl
Class AlwaysTrustManager
- java.lang.Object
-
- com.soffid.iam.ssl.AlwaysTrustManager
-
- All Implemented Interfaces:
TrustManager
,X509TrustManager
public class AlwaysTrustManager extends Object implements X509TrustManager
-
-
Constructor Summary
Constructors Constructor Description AlwaysTrustManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkClientTrusted(X509Certificate[] arg0, String arg1)
void
checkServerTrusted(X509Certificate[] arg0, String arg1)
X509Certificate[]
getAcceptedIssuers()
-
-
-
Constructor Detail
-
AlwaysTrustManager
public AlwaysTrustManager() throws KeyStoreException, NoSuchAlgorithmException, CertificateException, FileNotFoundException, IOException
-
-
Method Detail
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] arg0, String arg1) throws CertificateException
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] arg0, String arg1) throws CertificateException
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
-