Package com.jalios.io.ssl
Class NaiveTrustProvider
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- java.util.Properties
-
- java.security.Provider
-
- com.jalios.io.ssl.NaiveTrustProvider
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,java.lang.Object>
public final class NaiveTrustProvider extends java.security.Provider
Provides a Provider wich enable to establish a SSL connection without checking the validity of the certificate. This is supposed to be used only for developpement or testing purpose. If this provider is used, no check will be done until the JVM is down. To enable this provider, the getInstance method must be invoked before a Provider is computed.- Since:
- JCMS-6.1
- Author:
- dissert
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NaiveTrustProvider.TrustManagerFactoryImpl
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NaiveTrustProvider
getInstance()
-
Methods inherited from class java.security.Provider
clear, compute, computeIfAbsent, computeIfPresent, configure, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, getVersionStr, isConfigured, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, values
-
-
-
-
Method Detail
-
getInstance
public static NaiveTrustProvider getInstance()
-
-