SslNegotiator

internal object SslNegotiator

Handles PostgreSQL SSL negotiation protocol and socket upgrade.

Functions

Link copied to clipboard

Builds the effective SSL configuration for a connection.

Link copied to clipboard
fun negotiate(stream: PgStream, host: String, port: Int, config: SslConfiguration)
Link copied to clipboard
fun upgrade(socket: Socket, host: String, port: Int, config: SslConfiguration): SSLSocket