Package ch.qos.logback.core.net.ssl
Class KeyManagerFactoryFactoryBean
- java.lang.Object
-
- ch.qos.logback.core.net.ssl.KeyManagerFactoryFactoryBean
-
@Deprecated(since="2022-01-27") public class KeyManagerFactoryFactoryBean extends Object
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.A factory bean for a JSSEKeyManagerFactory.This object holds the configurable properties of a key manager factory and uses them to create and load a
KeyManagerFactoryinstance.
-
-
Constructor Summary
Constructors Constructor Description KeyManagerFactoryFactoryBean()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description KeyManagerFactorycreateKeyManagerFactory()Deprecated.Creates aKeyManagerFactoryusing the receiver's configuration.StringgetAlgorithm()Deprecated.Gets the algorithm name for the key manager factory.StringgetProvider()Deprecated.Gets the JSSE provider name for the key manager factory.voidsetAlgorithm(String algorithm)Deprecated.Sets the algorithm name for the key manager factory.voidsetProvider(String provider)Deprecated.Sets the JSSE provider name for the key manager factory.
-
-
-
Method Detail
-
createKeyManagerFactory
public KeyManagerFactory createKeyManagerFactory() throws NoSuchProviderException, NoSuchAlgorithmException
Deprecated.Creates aKeyManagerFactoryusing 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
public String getAlgorithm()
Deprecated.Gets the algorithm name for the key manager factory.- Returns:
- algorithm name (e.g.
SunX509); the default algorithm (obtained fromKeyManagerFactory.getDefaultAlgorithm()) is returned if no algorithm has been configured
-
setAlgorithm
public void setAlgorithm(String algorithm)
Deprecated.Sets the algorithm name for the key 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
public String getProvider()
Deprecated.Gets the JSSE provider name for the key manager factory.- Returns:
- provider name
-
setProvider
public void setProvider(String provider)
Deprecated.Sets the JSSE provider name for the key manager factory.- Parameters:
provider- name of the JSSE provider to utilize in creating the key manager factory
-
-