1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 package org.apache.wss4j.binding.wss11;
28
29 import jakarta.xml.bind.annotation.XmlAccessType;
30 import jakarta.xml.bind.annotation.XmlAccessorType;
31 import jakarta.xml.bind.annotation.XmlAttribute;
32 import jakarta.xml.bind.annotation.XmlElement;
33 import jakarta.xml.bind.annotation.XmlID;
34 import jakarta.xml.bind.annotation.XmlSchemaType;
35 import jakarta.xml.bind.annotation.XmlType;
36 import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
37 import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
38 import org.apache.xml.security.binding.xmlenc.EncryptedDataType;
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66 @XmlAccessorType(XmlAccessType.FIELD)
67 @XmlType(name = "EncryptedHeaderType", propOrder = {
68 "encryptedData"
69 })
70 public class EncryptedHeaderType {
71
72 @XmlElement(name = "EncryptedData", namespace = "http://www.w3.org/2001/04/xmlenc#", required = true)
73 private EncryptedDataType encryptedData;
74 @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
75 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
76 @XmlID
77 @XmlSchemaType(name = "ID")
78 private String id;
79 @XmlAttribute(name = "mustUnderstand", namespace = "http://schemas.xmlsoap.org/soap/envelope/")
80 private Boolean mustUnderstand11;
81 @XmlAttribute(name = "actor", namespace = "http://schemas.xmlsoap.org/soap/envelope/")
82 @XmlSchemaType(name = "anyURI")
83 private String actor;
84 @XmlAttribute(name = "mustUnderstand", namespace = "http://www.w3.org/2003/05/soap-envelope")
85 private Boolean mustUnderstand12;
86 @XmlAttribute(name = "role", namespace = "http://www.w3.org/2003/05/soap-envelope")
87 @XmlSchemaType(name = "anyURI")
88 private String role;
89 @XmlAttribute(name = "relay", namespace = "http://www.w3.org/2003/05/soap-envelope")
90 private Boolean relay;
91
92
93
94
95
96
97
98
99
100 public EncryptedDataType getEncryptedData() {
101 return encryptedData;
102 }
103
104
105
106
107
108
109
110
111
112 public void setEncryptedData(EncryptedDataType value) {
113 this.encryptedData = value;
114 }
115
116
117
118
119
120
121
122
123
124 public String getId() {
125 return id;
126 }
127
128
129
130
131
132
133
134
135
136 public void setId(String value) {
137 this.id = value;
138 }
139
140
141
142
143
144
145
146
147
148 public Boolean isMustUnderstand11() {
149 return mustUnderstand11;
150 }
151
152
153
154
155
156
157
158
159
160 public void setMustUnderstand11(Boolean value) {
161 this.mustUnderstand11 = value;
162 }
163
164
165
166
167
168
169
170
171
172 public String getActor() {
173 return actor;
174 }
175
176
177
178
179
180
181
182
183
184 public void setActor(String value) {
185 this.actor = value;
186 }
187
188
189
190
191
192
193
194
195
196 public boolean isMustUnderstand12() {
197 if (mustUnderstand12 == null) {
198 return false;
199 } else {
200 return mustUnderstand12;
201 }
202 }
203
204
205
206
207
208
209
210
211
212 public void setMustUnderstand12(Boolean value) {
213 this.mustUnderstand12 = value;
214 }
215
216
217
218
219
220
221
222
223
224 public String getRole() {
225 return role;
226 }
227
228
229
230
231
232
233
234
235
236 public void setRole(String value) {
237 this.role = value;
238 }
239
240
241
242
243
244
245
246
247
248 public boolean isRelay() {
249 if (relay == null) {
250 return false;
251 } else {
252 return relay;
253 }
254 }
255
256
257
258
259
260
261
262
263
264 public void setRelay(Boolean value) {
265 this.relay = value;
266 }
267
268 }