Package com.soffid.iam.ssl
Class SeyconTrustManager
java.lang.Object
com.soffid.iam.ssl.SeyconTrustManager
- All Implemented Interfaces:
TrustManager,X509TrustManager
- Author:
- u07286 TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] certs, String arg1) voidcheckServerTrusted(X509Certificate[] certs, String arg1) static voidsetInsecure(boolean insecure)
-
Constructor Details
-
SeyconTrustManager
public SeyconTrustManager(KeyStore ks) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, FileNotFoundException, IOException
-
-
Method Details
-
setInsecure
public static void setInsecure(boolean insecure) -
getAcceptedIssuers
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
checkServerTrusted
- Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
checkClientTrusted
- Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException
-