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 void
engineInit
(KeyStore keystore) _more_protected void
engineInit
(ManagerFactoryParameters mgrparams) _more_static String
Returns our "NaiveTrustAlgorithm" string.
-
Constructor Details
-
NaiveTrustManagerFactory
public NaiveTrustManagerFactory()_more_
-
-
Method Details
-
engineInit
_more_- Specified by:
engineInit
in classTrustManagerFactorySpi
- Parameters:
mgrparams
- _more_
-
engineInit
_more_- Specified by:
engineInit
in 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:
engineGetTrustManagers
in classTrustManagerFactorySpi
- Returns:
- _more_
-
getAlgorithm
Returns our "NaiveTrustAlgorithm" string.- Returns:
- The string, "NaiveTrustAlgorithm"
-