Package org.apache.tomcat.util.net

# Class SSLHostConfigCertificate

java.lang.Object
org.apache.tomcat.util.net.SSLHostConfigCertificate

All Implemented Interfaces:
  `Serializable`

public class SSLHostConfigCertificate extends Object implements Serializable

See Also:
  - Serialized Form

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `SSLHostConfigCertificate.Type`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final SSLHostConfigCertificate.Type`
  `DEFAULT_TYPE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SSLHostConfigCertificate()`
  `SSLHostConfigCertificate(SSLHostConfig sslHostConfig, SSLHostConfigCertificate.Type type)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getCertificateChainFile()`
  `String`
  `getCertificateFile()`
  `String`
  `getCertificateKeyAlias()`
  `String`
  `getCertificateKeyFile()`
  `X509KeyManager`
  `getCertificateKeyManager()`
  `String`
  `getCertificateKeyPassword()`
  `String`
  `getCertificateKeyPasswordFile()`
  `KeyStore`
  `getCertificateKeystore()`
  `String`
  `getCertificateKeystoreFile()`
  `String`
  `getCertificateKeystorePassword()`
  `String`
  `getCertificateKeystorePasswordFile()`
  `String`
  `getCertificateKeystoreProvider()`
  `String`
  `getCertificateKeystoreType()`
  `ObjectName`
  `getObjectName()`
  `SSLContext`
  `getSslContext()`
  `SSLContext`
  `getSslContextGenerated()`
  `SSLHostConfig`
  `getSSLHostConfig()`
  `SSLHostConfigCertificate.Type`
  `getType()`
  `void`
  `setCertificateChainFile(String certificateChainFile)`
  `void`
  `setCertificateFile(String certificateFile)`
  `void`
  `setCertificateKeyAlias(String certificateKeyAlias)`
  `void`
  `setCertificateKeyFile(String certificateKeyFile)`
  `void`
  `setCertificateKeyManager(X509KeyManager certificateKeyManager)`
  `void`
  `setCertificateKeyPassword(String certificateKeyPassword)`
  `void`
  `setCertificateKeyPasswordFile(String certificateKeyPasswordFile)`
  `void`
  `setCertificateKeystore(KeyStore certificateKeystore)`
  `void`
  `setCertificateKeystoreFile(String certificateKeystoreFile)`
  `void`
  `setCertificateKeystorePassword(String certificateKeystorePassword)`
  `void`
  `setCertificateKeystorePasswordFile(String certificateKeystorePasswordFile)`
  `void`
  `setCertificateKeystoreProvider(String certificateKeystoreProvider)`
  `void`
  `setCertificateKeystoreType(String certificateKeystoreType)`
  `void`
  `setObjectName(ObjectName oname)`
  `void`
  `setSslContext(SSLContext sslContext)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### DEFAULT_TYPE

    public static final SSLHostConfigCertificate.Type DEFAULT_TYPE

- ## Constructor Details

  - ### SSLHostConfigCertificate

    public SSLHostConfigCertificate()

  - ### SSLHostConfigCertificate

    public SSLHostConfigCertificate(SSLHostConfig sslHostConfig, SSLHostConfigCertificate.Type type)

- ## Method Details

  - ### getSslContext

    public SSLContext getSslContext()

  - ### setSslContext

    public void setSslContext(SSLContext sslContext)

  - ### getSslContextGenerated

    public SSLContext getSslContextGenerated()

  - ### getSSLHostConfig

    public SSLHostConfig getSSLHostConfig()

  - ### getObjectName

    public ObjectName getObjectName()

  - ### setObjectName

    public void setObjectName(ObjectName oname)

  - ### getType

    public SSLHostConfigCertificate.Type getType()

  - ### getCertificateKeyPassword

    public String getCertificateKeyPassword()

  - ### setCertificateKeyPassword

    public void setCertificateKeyPassword(String certificateKeyPassword)

  - ### getCertificateKeyPasswordFile

    public String getCertificateKeyPasswordFile()

  - ### setCertificateKeyPasswordFile

    public void setCertificateKeyPasswordFile(String certificateKeyPasswordFile)

  - ### setCertificateKeyAlias

    public void setCertificateKeyAlias(String certificateKeyAlias)

  - ### getCertificateKeyAlias

    public String getCertificateKeyAlias()

  - ### setCertificateKeystoreFile

    public void setCertificateKeystoreFile(String certificateKeystoreFile)

  - ### getCertificateKeystoreFile

    public String getCertificateKeystoreFile()

  - ### setCertificateKeystorePassword

    public void setCertificateKeystorePassword(String certificateKeystorePassword)

  - ### getCertificateKeystorePassword

    public String getCertificateKeystorePassword()

  - ### setCertificateKeystorePasswordFile

    public void setCertificateKeystorePasswordFile(String certificateKeystorePasswordFile)

  - ### getCertificateKeystorePasswordFile

    public String getCertificateKeystorePasswordFile()

  - ### setCertificateKeystoreProvider

    public void setCertificateKeystoreProvider(String certificateKeystoreProvider)

  - ### getCertificateKeystoreProvider

    public String getCertificateKeystoreProvider()

  - ### setCertificateKeystoreType

    public void setCertificateKeystoreType(String certificateKeystoreType)

  - ### getCertificateKeystoreType

    public String getCertificateKeystoreType()

  - ### setCertificateKeystore

    public void setCertificateKeystore(KeyStore certificateKeystore)

  - ### getCertificateKeystore

    public KeyStore getCertificateKeystore() throws IOException
    Throws:
      `IOException`

  - ### setCertificateKeyManager

    public void setCertificateKeyManager(X509KeyManager certificateKeyManager)

  - ### getCertificateKeyManager

    public X509KeyManager getCertificateKeyManager()

  - ### setCertificateChainFile

    public void setCertificateChainFile(String certificateChainFile)

  - ### getCertificateChainFile

    public String getCertificateChainFile()

  - ### setCertificateFile

    public void setCertificateFile(String certificateFile)

  - ### getCertificateFile

    public String getCertificateFile()

  - ### setCertificateKeyFile

    public void setCertificateKeyFile(String certificateKeyFile)

  - ### getCertificateKeyFile

    public String getCertificateKeyFile()