Record Class PemSslStoreDetails

java.lang.Object
java.lang.Record
org.springframework.boot.ssl.pem.PemSslStoreDetails
Record Components:
type - the key store type, for example JKS or PKCS11. A null value will use KeyStore.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

public record PemSslStoreDetails(@Nullable String type, @Nullable String alias, @Nullable String password, @Nullable String certificates, @Nullable String privateKey, @Nullable String privateKeyPassword) extends Record
Details for an individual trust or key store in a PemSslStoreBundle.
Since:
3.1.0
Author:
Scott Frederick, Phillip Webb
See Also: