public final class NaiveTrustProvider
extends java.security.Provider
Modifier and Type | Class and Description |
---|---|
static class |
NaiveTrustProvider.NaiveTrustManagerFactory
The factory for the NaiveTrustProvider
|
Constructor and Description |
---|
NaiveTrustProvider()
Hook in at the provider level to handle libraries and 3rd party
utilities that use their own factory.
|
Modifier and Type | Method and Description |
---|---|
static void |
setAlwaysTrust(boolean enableNaiveTrustProvider)
This is the only method the client code need to call.
|
clear, compute, computeIfAbsent, computeIfPresent, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, values
getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
public NaiveTrustProvider()
public static void setAlwaysTrust(boolean enableNaiveTrustProvider)
enableNaiveTrustProvider
- set to true to always trust (set to false
it not yet implemented)