1
2
3
4
5
6
7
8
9
10
11 package psiprobe.model.certificates;
12
13 import java.io.Serializable;
14 import java.util.ArrayList;
15 import java.util.Collection;
16 import java.util.Collections;
17 import java.util.List;
18
19
20
21
22 public class CertificateInfo implements Serializable {
23
24
25 private static final long serialVersionUID = 8528148811876736528L;
26
27
28 private List<Cert> keyStoreCerts;
29
30
31 private String certificateKeyAlias;
32
33
34 private String certificateKeystoreFile;
35
36
37 private String certificateKeystorePassword;
38
39
40 private String certificateKeystoreProvider;
41
42
43 private String certificateKeystoreType;
44
45
46
47
48
49
50 public List<Cert> getKeyStoreCerts() {
51 return keyStoreCerts == null ? Collections.emptyList() : new ArrayList<>(keyStoreCerts);
52 }
53
54
55
56
57
58
59 public void setKeyStoreCerts(Collection<Cert> keyStoreCerts) {
60 this.keyStoreCerts =
61 keyStoreCerts == null ? Collections.emptyList() : new ArrayList<>(keyStoreCerts);
62 }
63
64
65
66
67
68
69 public String getKeyAlias() {
70 return certificateKeyAlias;
71 }
72
73
74
75
76
77
78 public void setKeyAlias(String keyAlias) {
79 this.certificateKeyAlias = keyAlias;
80 }
81
82
83
84
85
86
87 public String getCertificateKeystoreFile() {
88 return certificateKeystoreFile;
89 }
90
91
92
93
94
95
96 public void setCertificateKeystoreFile(String keystoreFile) {
97 this.certificateKeystoreFile = keystoreFile;
98 }
99
100
101
102
103
104
105 public String getCertificateKeystorePassword() {
106 return certificateKeystorePassword;
107 }
108
109
110
111
112
113
114 public void setCertificateKeystorePassword(String keystorePass) {
115 this.certificateKeystorePassword = keystorePass;
116 }
117
118
119
120
121
122
123 public String getCertificateKeystoreProvider() {
124 return certificateKeystoreProvider;
125 }
126
127
128
129
130
131
132 public void setCertificateKeystoreProvider(String keystoreProvider) {
133 this.certificateKeystoreProvider = keystoreProvider;
134 }
135
136
137
138
139
140
141 public String getCertificateKeystoreType() {
142 return certificateKeystoreType;
143 }
144
145
146
147
148
149
150 public void setCertificateKeystoreType(String keystoreType) {
151 this.certificateKeystoreType = keystoreType;
152 }
153
154 }