from

open fun from(storeBundle: SslStoreBundle, key: SslBundleKey): SslManagerBundle

Factory method to create a new SslManagerBundle backed by the given SslBundle and SslBundleKey.

Return

a new SslManagerBundle instance

Parameters

storeBundle

the SSL store bundle

key

the key reference


open fun from(trustManagerFactory: TrustManagerFactory): SslManagerBundle

Factory method to create a new SslManagerBundle using the given TrustManagerFactory and the default KeyManagerFactory.

Return

a new SslManagerBundle instance

Since

3.5.0

Parameters

trustManagerFactory

the trust manager factory


open fun from(trustManagers: Array<TrustManager>): SslManagerBundle

Factory method to create a new SslManagerBundle using the given TrustManagers and the default KeyManagerFactory.

Return

a new SslManagerBundle instance

Since

3.5.0

Parameters

trustManagers

the trust managers to use