PemSslStore

interface PemSslStore

An individual trust or key store that has been loaded from PEM content.

Author

Phillip Webb

Since

3.2.0

See also

Functions

Link copied to clipboard
abstract fun alias(): String
The alias used when setting entries in the KeyStore.
Link copied to clipboard
The certificates for this store.
Link copied to clipboard
open fun load(details: PemSslStoreDetails): PemSslStore
open fun load(details: PemSslStoreDetails, resourceLoader: ResourceLoader): PemSslStore
Return a PemSslStore instance loaded using the given PemSslStoreDetails.
Link copied to clipboard
open fun of(certificates: List<X509Certificate>, privateKey: PrivateKey): PemSslStore
open fun of(type: String, certificates: List<X509Certificate>, privateKey: PrivateKey): PemSslStore
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.
Link copied to clipboard
abstract fun password(): String
The password used when setting key entries in the KeyStore.
Link copied to clipboard
abstract fun privateKey(): PrivateKey
The private key for this store or null.
Link copied to clipboard
abstract fun type(): String
The key store type, for example JKS or PKCS11.
Link copied to clipboard
open fun withAlias(alias: String): PemSslStore
Return a new PemSslStore instance with a new alias.
Link copied to clipboard
open fun withPassword(password: String): PemSslStore
Return a new PemSslStore instance with a new password.