Class ConnectionProperties.MTLSProperties
java.lang.Object
io.temporal.spring.boot.autoconfigure.properties.ConnectionProperties.MTLSProperties
- Enclosing class:
ConnectionProperties
-
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 ifSimpleSslContextBuilder.forPKCS8(java.io.InputStream, java.io.InputStream)orSimpleSslContextBuilder.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 stringcertChain- allows to pass PKCS8 certificates chain in PEM format as a stringkeyFile- 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 PKCS8keyPassword- password of the key, or null if it's not password-protectedinsecureTrustManager- seeSimpleSslContextBuilder.setUseInsecureTrustManager(boolean)
-
-
Method Details
-
getPKCS
-
getKey
-
getCertChain
-
getKeyFile
-
getCertChainFile
-
getKeyPassword
-
getInsecureTrustManager
-
getServerName
-