Package com.fizzed.crux.util
Class SecureUtil
- java.lang.Object
-
- com.fizzed.crux.util.SecureUtil
-
public class SecureUtil extends java.lang.ObjectUtilities related to security (e.g. TLS)- Author:
- jjlauer
-
-
Constructor Summary
Constructors Constructor Description SecureUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.net.ssl.SSLSocketFactorycreateSSLSocketFactory(javax.net.ssl.TrustManager[] trustManagers)static javax.net.ssl.HostnameVerifiercreateTrustAllHostnameVerifier()static javax.net.ssl.SSLSocketFactorycreateTrustAllSSLSocketFactory()
-
-
-
Method Detail
-
createTrustAllSSLSocketFactory
public static javax.net.ssl.SSLSocketFactory createTrustAllSSLSocketFactory() throws UncheckedSecureException- Throws:
UncheckedSecureException
-
createSSLSocketFactory
public static javax.net.ssl.SSLSocketFactory createSSLSocketFactory(javax.net.ssl.TrustManager[] trustManagers) throws UncheckedSecureException- Throws:
UncheckedSecureException
-
createTrustAllHostnameVerifier
public static javax.net.ssl.HostnameVerifier createTrustAllHostnameVerifier() throws UncheckedSecureException- Throws:
UncheckedSecureException
-
-