Class StandardTlsConfiguration

java.lang.Object
org.apache.nifi.ssl.StandardTlsConfiguration
All Implemented Interfaces:
TlsConfiguration

class StandardTlsConfiguration extends Object implements TlsConfiguration
Standard implementation of TLS Configuration for SSL Context Services
  • Field Details

  • Constructor Details

    • StandardTlsConfiguration

      public StandardTlsConfiguration(String keystorePath, String keystorePassword, String keyPassword, String keystoreType, String truststorePath, String truststorePassword, String truststoreType, String protocol)
      Instantiates a container object with the given configuration values.
      Parameters:
      keystorePath - the keystore path
      keystorePassword - the keystore password
      keyPassword - the (optional) key password -- if null, the keystore password is assumed the same for the individual key
      keystoreType - the keystore type as a String
      truststorePath - the truststore path
      truststorePassword - the truststore password
      truststoreType - the truststore type as a String
      protocol - the TLS protocol version string
    • StandardTlsConfiguration

      public StandardTlsConfiguration(String keystorePath, String keystorePassword, String keyPassword, KeystoreType keystoreType, String truststorePath, String truststorePassword, KeystoreType truststoreType, String protocol)
      Instantiates a container object with the given configuration values.
      Parameters:
      keystorePath - the keystore path
      keystorePassword - the keystore password
      keyPassword - the (optional) key password -- if null, the keystore password is assumed the same for the individual key
      keystoreType - the keystore type
      truststorePath - the truststore path
      truststorePassword - the truststore password
      truststoreType - the truststore type
      protocol - the TLS protocol version string
  • Method Details