Package ucar.unidata.util
Class NaiveTrustProvider.NaiveTrustManagerFactory
java.lang.Object
javax.net.ssl.TrustManagerFactorySpi
ucar.unidata.util.NaiveTrustProvider.NaiveTrustManagerFactory
- Enclosing class:
NaiveTrustProvider
public static final class NaiveTrustProvider.NaiveTrustManagerFactory
extends TrustManagerFactorySpi
The factory for the NaiveTrustProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TrustManager[]Returns a collection of trust managers that are naive.protected voidengineInit(KeyStore keystore) _more_protected voidengineInit(ManagerFactoryParameters mgrparams) _more_static StringReturns our "NaiveTrustAlgorithm" string.
-
Constructor Details
-
NaiveTrustManagerFactory
public NaiveTrustManagerFactory()_more_
-
-
Method Details
-
engineInit
_more_- Specified by:
engineInitin classTrustManagerFactorySpi- Parameters:
mgrparams- _more_
-
engineInit
_more_- Specified by:
engineInitin classTrustManagerFactorySpi- Parameters:
keystore- _more_
-
engineGetTrustManagers
Returns a collection of trust managers that are naive. This collection is just a single element array containing our NaiveTrustManager class.- Specified by:
engineGetTrustManagersin classTrustManagerFactorySpi- Returns:
- _more_
-
getAlgorithm
Returns our "NaiveTrustAlgorithm" string.- Returns:
- The string, "NaiveTrustAlgorithm"
-