ucar.unidata.util
Class NaiveTrustProvider.NaiveTrustManagerFactory

java.lang.Object
  extended by javax.net.ssl.TrustManagerFactorySpi
      extended by ucar.unidata.util.NaiveTrustProvider.NaiveTrustManagerFactory
Enclosing class:
NaiveTrustProvider

public static final class NaiveTrustProvider.NaiveTrustManagerFactory
extends TrustManagerFactorySpi

The factory for the NaiveTrustProvider


Constructor Summary
NaiveTrustProvider.NaiveTrustManagerFactory()
          _more_
 
Method Summary
protected  TrustManager[] engineGetTrustManagers()
          Returns a collection of trust managers that are naive.
protected  void engineInit(KeyStore keystore)
          _more_
protected  void engineInit(ManagerFactoryParameters mgrparams)
          _more_
static String getAlgorithm()
          Returns our "NaiveTrustAlgorithm" string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NaiveTrustProvider.NaiveTrustManagerFactory

public NaiveTrustProvider.NaiveTrustManagerFactory()
_more_

Method Detail

engineInit

protected void engineInit(ManagerFactoryParameters mgrparams)
_more_

Specified by:
engineInit in class TrustManagerFactorySpi
Parameters:
mgrparams - _more_

engineInit

protected void engineInit(KeyStore keystore)
_more_

Specified by:
engineInit in class TrustManagerFactorySpi
Parameters:
keystore - _more_

engineGetTrustManagers

protected TrustManager[] 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 class TrustManagerFactorySpi
Returns:
_more_

getAlgorithm

public static String getAlgorithm()
Returns our "NaiveTrustAlgorithm" string.

Returns:
The string, "NaiveTrustAlgorithm"