public class PKITrustManagerFactory extends TrustManagerFactorySpi
Constructor and Description |
---|
PKITrustManagerFactory() |
Modifier and Type | Method and Description |
---|---|
protected TrustManager[] |
engineGetTrustManagers()
Returns one trust manager for each type of trust material.
|
protected void |
engineInit(KeyStore keyStore)
Initializes this factory with a source of certificate authorities and
related trust material.
|
protected void |
engineInit(ManagerFactoryParameters managerFactoryParameters)
Initializes this factory with a source of provider-specific key material.
|
protected void engineInit(KeyStore keyStore) throws KeyStoreException
engineInit
in class TrustManagerFactorySpi
keyStore
- The key store or nullKeyStoreException
- if the initialization fails.protected void engineInit(ManagerFactoryParameters managerFactoryParameters) throws InvalidAlgorithmParameterException
engineInit
in class TrustManagerFactorySpi
managerFactoryParameters
- The X509ProxyCertPathParameters which are used to create
TrustManagers.InvalidAlgorithmParameterException
- If the Parameters are invalidprotected TrustManager[] engineGetTrustManagers()
engineGetTrustManagers
in class TrustManagerFactorySpi
Copyright © 2016. All rights reserved.