|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.qos.logback.core.net.ssl.TrustManagerFactoryFactoryBean
public class TrustManagerFactoryFactoryBean
A factory bean for a JSSE TrustManagerFactory.
This object holds the configurable properties of a trust manager factory
and uses them to create and load a TrustManagerFactory instance.
| Constructor Summary | |
|---|---|
TrustManagerFactoryFactoryBean()
|
|
| Method Summary | |
|---|---|
TrustManagerFactory |
createTrustManagerFactory()
Creates a TrustManagerFactory using the receiver's configuration. |
String |
getAlgorithm()
Gets the algorithm name for the trust manager factory. |
String |
getProvider()
Gets the JSSE provider name for the trust manager factory. |
void |
setAlgorithm(String algorithm)
Sets the algorithm name for the trust manager factory. |
void |
setProvider(String provider)
Sets the JSSE provider name for the trust manager factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrustManagerFactoryFactoryBean()
| Method Detail |
|---|
public TrustManagerFactory createTrustManagerFactory()
throws NoSuchProviderException,
NoSuchAlgorithmException
TrustManagerFactory using the receiver's configuration.
NoSuchProviderException - if the provider specified by
setProvider(String) is not known to the platform
NoSuchAlgorithmException - if the algorithm specified by
setAlgorithm(String) is not known to the specified provider
(or to the default platform provider if no provider is specified)public String getAlgorithm()
PKIX); the default algorithm
(obtained from TrustManagerFactory.getDefaultAlgorithm())
is returned if no algorithm has been configuredpublic void setAlgorithm(String algorithm)
algorithm - an algorithm name, which must be recognized by the
provider specified by setProvider(String) or by the
platform's default provider if no provider is specified.public String getProvider()
public void setProvider(String provider)
provider - name of the JSSE provider to utilize in creating the
trust manager factory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||