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