Polish PemSslBundleProperties

See gh-36281
This commit is contained in:
Johnny Lim 2023-07-08 08:28:28 +09:00 committed by Stephane Nicoll
parent 795f0b7a79
commit 9b38db6672
1 changed files with 6 additions and 6 deletions

View File

@ -31,12 +31,12 @@ public class PemSslBundleProperties extends SslBundleProperties {
/**
* Keystore properties.
*/
private Store keystore = new Store();
private final Store keystore = new Store();
/**
* Truststore properties.
*/
private Store truststore = new Store();
private final Store truststore = new Store();
public Store getKeystore() {
return this.keystore;
@ -54,22 +54,22 @@ public class PemSslBundleProperties extends SslBundleProperties {
/**
* Type of the store to create, e.g. JKS.
*/
String type;
private String type;
/**
* Location or content of the certificate in PEM format.
*/
String certificate;
private String certificate;
/**
* Location or content of the private key in PEM format.
*/
String privateKey;
private String privateKey;
/**
* Password used to decrypt an encrypted private key.
*/
String privateKeyPassword;
private String privateKeyPassword;
public String getType() {
return this.type;