Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public abstract class

TrustManagerFactorySpi

extends Object
java.lang.Object
   ↳ javax.net.ssl.TrustManagerFactorySpi

Class Overview

The Service Provider Interface (SPI) for the TrustManagerFactory class.

Summary

Public Constructors
TrustManagerFactorySpi ()
Creates a new TrustManagerFactorySpi instance.
Protected Methods
abstract TrustManager[] engineGetTrustManagers ()
Returns the list of TrustManager s with one entry for each type of trust material.
abstract void engineInit ( KeyStore ks)
Initializes this factory instance with the specified keystore as source of certificate authorities and trust material.
abstract void engineInit ( ManagerFactoryParameters spec)
Initializes this factory instance with the specified provider-specific parameters for a source of trust material.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TrustManagerFactorySpi ()

Added in API level 1

Creates a new TrustManagerFactorySpi instance.

Protected Methods

protected abstract TrustManager[] engineGetTrustManagers ()

Added in API level 1

Returns the list of TrustManager s with one entry for each type of trust material.

Returns
  • the list of TrustManager s

protected abstract void engineInit ( KeyStore ks)

Added in API level 1

Initializes this factory instance with the specified keystore as source of certificate authorities and trust material.

Parameters
ks the keystore or null .
Throws
KeyStoreException if the initialization fails.

protected abstract void engineInit ( ManagerFactoryParameters spec)

Added in API level 1

Initializes this factory instance with the specified provider-specific parameters for a source of trust material.

Parameters
spec the provider-specific parameters.
Throws
InvalidAlgorithmParameterException if the initialization fails.