Class ConnectionProperties.MTLSProperties

java.lang.Object
io.temporal.spring.boot.autoconfigure.properties.ConnectionProperties.MTLSProperties
Enclosing class:
ConnectionProperties

public static class ConnectionProperties.MTLSProperties extends Object
  • Constructor Details

    • MTLSProperties

      @ConstructorBinding public MTLSProperties(@Nullable Integer pkcs, @Nullable String key, @Nullable String certChain, @Nullable String keyFile, @Nullable String certChainFile, @Nullable String keyPassword, @Nullable Boolean insecureTrustManager, @Nullable String serverName)
      Parameters:
      pkcs - number of PKCS standard to use (8 and 12 are supported). Selects if SimpleSslContextBuilder.forPKCS8(java.io.InputStream, java.io.InputStream) or SimpleSslContextBuilder.forPKCS12(java.io.InputStream) is used. By default, PKCS 8 is used if certFile is supplied, PKCS 12 is used if not.
      key - allows to pass PKCS8 key in PEM format as a string
      certChain - allows to pass PKCS8 certificates chain in PEM format as a string
      keyFile - path to key file in PEM format for PKCS8 (usually .pem or .key) PFX for PKCS12 (usually .p12 or .pfx)
      certChainFile - path to certificates chain file in PEM format for PKCS8
      keyPassword - password of the key, or null if it's not password-protected
      insecureTrustManager - see SimpleSslContextBuilder.setUseInsecureTrustManager(boolean)
  • Method Details

    • getPKCS

      @Nullable public Integer getPKCS()
    • getKey

      @Nullable public String getKey()
    • getCertChain

      @Nullable public String getCertChain()
    • getKeyFile

      @Nullable public String getKeyFile()
    • getCertChainFile

      @Nullable public String getCertChainFile()
    • getKeyPassword

      @Nullable public String getKeyPassword()
    • getInsecureTrustManager

      @Nullable public Boolean getInsecureTrustManager()
    • getServerName

      @Nullable public String getServerName()