Package ch.qos.logback.core.net.ssl
Class TrustManagerFactoryFactoryBean
java.lang.Object
ch.qos.logback.core.net.ssl.TrustManagerFactoryFactoryBean
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Creates aTrustManagerFactoryusing the receiver's configuration.Deprecated.Gets the algorithm name for the trust manager factory.Deprecated.Gets the JSSE provider name for the trust manager factory.voidsetAlgorithm(String algorithm) Deprecated.Sets the algorithm name for the trust manager factory.voidsetProvider(String provider) Deprecated.Sets the JSSE provider name for the trust manager factory.
-
Constructor Details
-
TrustManagerFactoryFactoryBean
public TrustManagerFactoryFactoryBean()Deprecated.
-
-
Method Details
-
createTrustManagerFactory
public TrustManagerFactory createTrustManagerFactory() throws NoSuchProviderException, NoSuchAlgorithmExceptionDeprecated.Creates aTrustManagerFactoryusing the receiver's configuration.- Returns:
- factory object
- Throws:
NoSuchProviderException- if the provider specified bysetProvider(String)is not known to the platformNoSuchAlgorithmException- if the algorithm specified bysetAlgorithm(String)is not known to the specified provider (or to the default platform provider if no provider is specified)
-
getAlgorithm
Deprecated.Gets the algorithm name for the trust manager factory.- Returns:
- algorithm name (e.g.
PKIX); the default algorithm (obtained fromTrustManagerFactory.getDefaultAlgorithm()) is returned if no algorithm has been configured
-
setAlgorithm
Deprecated.Sets the algorithm name for the trust manager factory.- Parameters:
algorithm- an algorithm name, which must be recognized by the provider specified bysetProvider(String)or by the platform's default provider if no provider is specified.
-
getProvider
Deprecated.Gets the JSSE provider name for the trust manager factory.- Returns:
- provider name
-
setProvider
Deprecated.Sets the JSSE provider name for the trust manager factory.- Parameters:
provider- name of the JSSE provider to utilize in creating the trust manager factory
-