of

open fun of(type: String, certificates: List<X509Certificate>, privateKey: PrivateKey): PemSslStore

Factory method that can be used to create a new PemSslStore with the given values.

Return

a new PemSslStore instance

Parameters

type

the key store type

certificates

the certificates for this store

privateKey

the private key


open fun of(certificates: List<X509Certificate>, privateKey: PrivateKey): PemSslStore

Factory method that can be used to create a new PemSslStore with the given values.

Return

a new PemSslStore instance

Parameters

certificates

the certificates for this store

privateKey

the private key


open fun of(type: String, alias: String, password: String, certificates: List<X509Certificate>, privateKey: PrivateKey): PemSslStore

Factory method that can be used to create a new PemSslStore with the given values.

Return

a new PemSslStore instance

Parameters

type

the key store type

alias

the alias used when setting entries in the KeyStore

password

the password used setting key entries in the KeyStore

certificates

the certificates for this store

privateKey

the private key