PemSslStoreDetails

constructor(type: String, alias: String, password: String, certificates: String, privateKey: String, privateKeyPassword: String)

Create a new PemSslStoreDetails instance.

Since

3.2.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 certificate content (either the PEM content itself or areference to the resource to load)

privateKey

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

privateKeyPassword

a password used to decrypt an encrypted private key


constructor(type: String, certificate: String, privateKey: String, privateKeyPassword: String)

Create a new PemSslStoreDetails instance.

Parameters

type

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

certificate

the certificate content (either the PEM content itself or areference to the resource to load)

privateKey

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

privateKeyPassword

a password used to decrypt an encrypted private key


constructor(type: String, certificate: String, privateKey: String)

Create a new PemSslStoreDetails instance.

Parameters

type

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

certificate

the certificate content (either the PEM content itself or areference to the resource to load)

privateKey

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