APIdia Launch Partner
Top Inners Fields Constructors Methods
sun.security.ssl

pack-priv abstract Class TrustManagerFactoryImpl

extends TrustManagerFactorySpi
Class Inheritance
Known Direct Subclasses
sun.security.ssl.TrustManagerFactoryImpl.SimpleFactory, sun.security.ssl.TrustManagerFactoryImpl.PKIXFactory
Imports
java.security.*, java.security.cert.*, java.util.*, javax.net.ssl.*, sun.security.validator.TrustStoreUtil, .Validator

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Field Summary

Modifier and TypeField and Description
private boolean
private X509TrustManager

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected TrustManager[]
engineGetTrustManagers()

Implements abstract javax.net.ssl.TrustManagerFactorySpi.engineGetTrustManagers.

Returns one trust manager for each type of trust material.

protected void
engineInit(KeyStore ks)

Implements abstract javax.net.ssl.TrustManagerFactorySpi.engineInit.

Initializes this factory with a source of certificate authorities and related trust material.

protected void
engineInit(ManagerFactoryParameters spec)

Implements abstract javax.net.ssl.TrustManagerFactorySpi.engineInit.

Initializes this factory with a source of provider-specific key material.

pack-priv abstract X509TrustManager
pack-priv abstract X509TrustManager

Field Detail

isInitializedback to summary
private boolean isInitialized
trustManagerback to summary
private X509TrustManager trustManager

Constructor Detail

TrustManagerFactoryImplback to summary
pack-priv TrustManagerFactoryImpl()

Method Detail

engineGetTrustManagersback to summary
protected TrustManager[] engineGetTrustManagers()

Implements abstract javax.net.ssl.TrustManagerFactorySpi.engineGetTrustManagers.

Returns one trust manager for each type of trust material.

Annotations
@Override
engineInitback to summary
protected void engineInit(KeyStore ks) throws KeyStoreException

Implements abstract javax.net.ssl.TrustManagerFactorySpi.engineInit.

Doc from javax.net.ssl.TrustManagerFactorySpi.engineInit.

Initializes this factory with a source of certificate authorities and related trust material.

Annotations
@Override
Exceptions
KeyStoreException:
if this operation fails
engineInitback to summary
protected void engineInit(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException

Implements abstract javax.net.ssl.TrustManagerFactorySpi.engineInit.

Doc from javax.net.ssl.TrustManagerFactorySpi.engineInit.

Initializes this factory with a source of provider-specific key material.

In some cases, initialization parameters other than a keystore may be needed by a provider. Users of that particular provider are expected to pass an implementation of the appropriate ManagerFactoryParameters as defined by the provider. The provider can then call the specified methods in the ManagerFactoryParameters implementation to obtain the needed information.

Annotations
@Override
Exceptions
InvalidAlgorithmParameterException:
if there is problem with the parameters
getInstanceback to summary
pack-priv abstract X509TrustManager getInstance(Collection<X509Certificate> trustedCerts)
getInstanceback to summary
pack-priv abstract X509TrustManager getInstance(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException
sun.security.ssl back to summary

public final Class TrustManagerFactoryImpl.PKIXFactory

extends TrustManagerFactoryImpl
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv X509TrustManager
pack-priv X509TrustManager
Inherited from sun.security.ssl.TrustManagerFactoryImpl:
engineGetTrustManagersengineInitengineInit

Constructor Detail

PKIXFactoryback to summary
public PKIXFactory()

Method Detail

getInstanceback to summary
pack-priv X509TrustManager getInstance(Collection<X509Certificate> trustedCerts)

Implements abstract sun.security.ssl.TrustManagerFactoryImpl.getInstance.

Annotations
@Override
getInstanceback to summary
pack-priv X509TrustManager getInstance(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException

Implements abstract sun.security.ssl.TrustManagerFactoryImpl.getInstance.

Annotations
@Override
sun.security.ssl back to summary

public final Class TrustManagerFactoryImpl.SimpleFactory

extends TrustManagerFactoryImpl
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv X509TrustManager
pack-priv X509TrustManager
Inherited from sun.security.ssl.TrustManagerFactoryImpl:
engineGetTrustManagersengineInitengineInit

Constructor Detail

SimpleFactoryback to summary
public SimpleFactory()

Method Detail

getInstanceback to summary
pack-priv X509TrustManager getInstance(Collection<X509Certificate> trustedCerts)

Implements abstract sun.security.ssl.TrustManagerFactoryImpl.getInstance.

Annotations
@Override
getInstanceback to summary
pack-priv X509TrustManager getInstance(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException

Implements abstract sun.security.ssl.TrustManagerFactoryImpl.getInstance.

Annotations
@Override