PemSslStoreDetails

Details for an individual trust or key store in a PemSslStoreBundle.

Author

Scott Frederick

Phillip Webb

Since

3.1.0

Parameters

type

the key store type, for example JKS or PKCS11. A null value will use getDefaultType).

alias

the alias used when setting entries in the KeyStore

password

the password used setting key entries in the KeyStore

certificates

the certificates content (either the PEM content itself or a reference to the resource to load). When a private key is present this value is treated as a certificate chain, otherwise it is treated a list of certificates that should all be registered.

privateKey

the private key content (either the PEM content itself or a reference to the resource to load)

privateKeyPassword

a password used to decrypt an encrypted private key

See also

Constructors

Link copied to clipboard
constructor(type: String, alias: String, password: String, certificates: String, privateKey: String, privateKeyPassword: String)
Create a new PemSslStoreDetails instance.
constructor(type: String, certificate: String, privateKey: String, privateKeyPassword: String)
Create a new PemSslStoreDetails instance.
constructor(type: String, certificate: String, privateKey: String)
Create a new PemSslStoreDetails instance.

Functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
open fun forCertificate(certificate: String): PemSslStoreDetails
Factory method to create a new PemSslStoreDetails instance for the given certificate.
Link copied to clipboard
open fun forCertificates(certificates: String): PemSslStoreDetails
Factory method to create a new PemSslStoreDetails instance for the given certificates.
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
Return a new PemSslStoreDetails instance with a new alias.
Link copied to clipboard
Return a new PemSslStoreDetails instance with a new password.
Link copied to clipboard
Return a new PemSslStoreDetails instance with a new private key.
Link copied to clipboard
open fun withPrivateKeyPassword(privateKeyPassword: String): PemSslStoreDetails
Return a new PemSslStoreDetails instance with a new private key password.