EngineSSLConnectorBuilder

class EngineSSLConnectorBuilder(var keyStore: KeyStore, var keyAlias: String, var keyStorePassword: () -> CharArray, var privateKeyPassword: () -> CharArray) : EngineConnectorBuilder, EngineSSLConnectorConfig

Mutable implementation of EngineSSLConnectorConfig for building connectors programmatically

Constructors

Link copied to clipboard
constructor(keyStore: KeyStore, keyAlias: String, keyStorePassword: () -> CharArray, privateKeyPassword: () -> CharArray)

Properties

Link copied to clipboard
open override var enabledProtocols: List<String>?

Enabled protocol versions

Link copied to clipboard
open override var host: String

The network interface this host binds to as an IP address or a hostname. If null or 0.0.0.0, then bind to all interfaces.

Link copied to clipboard
open override var keyAlias: String

TLS key alias

Link copied to clipboard
open override var keyStore: KeyStore

KeyStore where a certificate is stored

Link copied to clipboard
open override var keyStorePassword: () -> CharArray

Keystore password provider

Link copied to clipboard
open override var keyStorePath: File?

File where the keystore is located

Link copied to clipboard
open override var port: Int

The port this application should be bound to.

Link copied to clipboard
open override var privateKeyPassword: () -> CharArray

Private key password provider

Link copied to clipboard
open override var trustStore: KeyStore?

Store of trusted certificates for verifying the remote endpoint's certificate.

Link copied to clipboard
open override var trustStorePath: File?

File with trusted certificates (JKS) for verifying the remote endpoint's certificate.

Link copied to clipboard
open override val type: ConnectorType

Type of the connector, e.g HTTP or HTTPS.

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Returns new instance of EngineConnectorConfig based on this with modified port

Returns new instance of EngineConnectorConfig based on this with modified port

Returns new instance of EngineConnectorConfig based on this with modified port