SslBundle

interface SslBundle

A bundle of trust material that can be used to establish an SSL connection.

Author

Scott Frederick

Moritz Halbritter

Since

3.1.0

Inheritors

Properties

Link copied to clipboard
The default protocol to use.

Functions

Link copied to clipboard
Factory method to create a new SSLContext for this bundle.
Link copied to clipboard
abstract fun getKey(): SslBundleKey
Return a reference to the key that should be used for this bundle or NONE.
Link copied to clipboard
Return the SslManagerBundle that can be used to access this bundle's key and trust managers.
Link copied to clipboard
abstract fun getOptions(): SslOptions
Return SslOptions that should be applied when establishing the SSL connection.
Link copied to clipboard
abstract fun getProtocol(): String
Return the protocol to use when establishing the connection.
Link copied to clipboard
abstract fun getStores(): SslStoreBundle
Return the SslStoreBundle that can be used to access this bundle's key and trust stores.
Link copied to clipboard
open fun of(stores: SslStoreBundle): SslBundle
open fun of(stores: SslStoreBundle, key: SslBundleKey): SslBundle
open fun of(stores: SslStoreBundle, key: SslBundleKey, options: SslOptions): SslBundle
open fun of(stores: SslStoreBundle, key: SslBundleKey, options: SslOptions, protocol: String): SslBundle
open fun of(stores: SslStoreBundle, key: SslBundleKey, options: SslOptions, protocol: String, managers: SslManagerBundle): SslBundle
Factory method to create a new SslBundle instance.
Link copied to clipboard
Factory method to create a new SslBundle which uses the system defaults.