SslOptions

interface SslOptions

Configuration options that should be applied when establishing an SSL connection.

Author

Scott Frederick

Since

3.1.0

See also

Properties

Link copied to clipboard
SslOptions that returns null results.

Functions

Link copied to clipboard
open fun asSet(array: Array<String>): Set<String>
Helper method that provides a null-safe way to convert a String[] to a Collection for client libraries to use.
Link copied to clipboard
abstract fun getCiphers(): Array<String>
Return the ciphers that can be used or an empty set.
Link copied to clipboard
Return the protocols that should be enabled or an empty set.
Link copied to clipboard
open fun isSpecified(): Boolean
Return if any SSL options have been specified.
Link copied to clipboard
open fun of(ciphers: Array<String>, enabledProtocols: Array<String>): SslOptions
open fun of(ciphers: Set<String>, enabledProtocols: Set<String>): SslOptions
Factory method to create a new SslOptions instance.