EngineSSLConnectorBuilder

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

Mutable implementation of EngineSSLConnectorConfig for building connectors programmatically

Constructors

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

Functions

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

Properties

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? = null

File where the keystore is located

Link copied to clipboard
open override var port: Int = 443

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? = null

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

Link copied to clipboard
open override var trustStorePath: File? = null

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.