1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign; |
4
|
|
|
|
5
|
|
|
/** |
6
|
|
|
* Class representing X509DataType |
7
|
|
|
* |
8
|
|
|
* |
9
|
|
|
* XSD Type: X509DataType |
10
|
|
|
*/ |
11
|
|
|
class X509DataType |
12
|
|
|
{ |
13
|
|
|
|
14
|
|
|
/** |
15
|
|
|
* @property |
16
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\X509IssuerSerialType[] |
17
|
|
|
* $x509IssuerSerial |
18
|
|
|
*/ |
19
|
|
|
private $x509IssuerSerial = 'array()'; |
20
|
|
|
|
21
|
|
|
/** |
22
|
|
|
* @property mixed[] $x509SKI |
23
|
|
|
*/ |
24
|
|
|
private $x509SKI = 'array()'; |
25
|
|
|
|
26
|
|
|
/** |
27
|
|
|
* @property string[] $x509SubjectName |
28
|
|
|
*/ |
29
|
|
|
private $x509SubjectName = 'array()'; |
30
|
|
|
|
31
|
|
|
/** |
32
|
|
|
* @property mixed[] $x509Certificate |
33
|
|
|
*/ |
34
|
|
|
private $x509Certificate = 'array()'; |
35
|
|
|
|
36
|
|
|
/** |
37
|
|
|
* @property mixed[] $x509CRL |
38
|
|
|
*/ |
39
|
|
|
private $x509CRL = 'array()'; |
40
|
|
|
|
41
|
|
|
/** |
42
|
|
|
* @property mixed[] $anyElement |
43
|
|
|
*/ |
44
|
|
|
private $anyElement = array( |
45
|
|
|
|
46
|
|
|
); |
47
|
|
|
|
48
|
|
|
/** |
49
|
|
|
* Adds as x509IssuerSerial |
50
|
|
|
* |
51
|
|
|
* @return self |
52
|
|
|
* @param |
53
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\X509IssuerSerialType |
54
|
|
|
* $x509IssuerSerial |
55
|
|
|
*/ |
56
|
|
|
public function addToX509IssuerSerial(\GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\X509IssuerSerialType $x509IssuerSerial) |
57
|
|
|
{ |
58
|
|
|
$this->x509IssuerSerial[] = $x509IssuerSerial; |
59
|
|
|
return $this; |
60
|
|
|
} |
61
|
|
|
|
62
|
|
|
/** |
63
|
|
|
* isset x509IssuerSerial |
64
|
|
|
* |
65
|
|
|
* @param scalar $index |
66
|
|
|
* @return boolean |
67
|
|
|
*/ |
68
|
|
|
public function issetX509IssuerSerial($index) |
69
|
|
|
{ |
70
|
|
|
return isset($this->x509IssuerSerial[$index]); |
71
|
|
|
} |
72
|
|
|
|
73
|
|
|
/** |
74
|
|
|
* unset x509IssuerSerial |
75
|
|
|
* |
76
|
|
|
* @param scalar $index |
77
|
|
|
* @return void |
78
|
|
|
*/ |
79
|
|
|
public function unsetX509IssuerSerial($index) |
80
|
|
|
{ |
81
|
|
|
unset($this->x509IssuerSerial[$index]); |
82
|
|
|
} |
83
|
|
|
|
84
|
|
|
/** |
85
|
|
|
* Gets as x509IssuerSerial |
86
|
|
|
* |
87
|
|
|
* @return |
88
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\X509IssuerSerialType[] |
89
|
|
|
*/ |
90
|
|
|
public function getX509IssuerSerial() |
91
|
|
|
{ |
92
|
|
|
return $this->x509IssuerSerial; |
93
|
|
|
} |
94
|
|
|
|
95
|
|
|
/** |
96
|
|
|
* Sets a new x509IssuerSerial |
97
|
|
|
* |
98
|
|
|
* @param |
99
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\X509IssuerSerialType[] |
100
|
|
|
* $x509IssuerSerial |
101
|
|
|
* @return self |
102
|
|
|
*/ |
103
|
|
|
public function setX509IssuerSerial(array $x509IssuerSerial) |
104
|
|
|
{ |
105
|
|
|
$this->x509IssuerSerial = $x509IssuerSerial; |
|
|
|
|
106
|
|
|
return $this; |
107
|
|
|
} |
108
|
|
|
|
109
|
|
|
/** |
110
|
|
|
* Adds as x509SKI |
111
|
|
|
* |
112
|
|
|
* @return self |
113
|
|
|
* @param mixed $x509SKI |
114
|
|
|
*/ |
115
|
|
|
public function addToX509SKI($x509SKI) |
116
|
|
|
{ |
117
|
|
|
$this->x509SKI[] = $x509SKI; |
118
|
|
|
return $this; |
119
|
|
|
} |
120
|
|
|
|
121
|
|
|
/** |
122
|
|
|
* isset x509SKI |
123
|
|
|
* |
124
|
|
|
* @param scalar $index |
125
|
|
|
* @return boolean |
126
|
|
|
*/ |
127
|
|
|
public function issetX509SKI($index) |
128
|
|
|
{ |
129
|
|
|
return isset($this->x509SKI[$index]); |
130
|
|
|
} |
131
|
|
|
|
132
|
|
|
/** |
133
|
|
|
* unset x509SKI |
134
|
|
|
* |
135
|
|
|
* @param scalar $index |
136
|
|
|
* @return void |
137
|
|
|
*/ |
138
|
|
|
public function unsetX509SKI($index) |
139
|
|
|
{ |
140
|
|
|
unset($this->x509SKI[$index]); |
141
|
|
|
} |
142
|
|
|
|
143
|
|
|
/** |
144
|
|
|
* Gets as x509SKI |
145
|
|
|
* |
146
|
|
|
* @return mixed[] |
147
|
|
|
*/ |
148
|
|
|
public function getX509SKI() |
149
|
|
|
{ |
150
|
|
|
return $this->x509SKI; |
151
|
|
|
} |
152
|
|
|
|
153
|
|
|
/** |
154
|
|
|
* Sets a new x509SKI |
155
|
|
|
* |
156
|
|
|
* @param mixed $x509SKI |
157
|
|
|
* @return self |
158
|
|
|
*/ |
159
|
|
|
public function setX509SKI(array $x509SKI) |
160
|
|
|
{ |
161
|
|
|
$this->x509SKI = $x509SKI; |
|
|
|
|
162
|
|
|
return $this; |
163
|
|
|
} |
164
|
|
|
|
165
|
|
|
/** |
166
|
|
|
* Adds as x509SubjectName |
167
|
|
|
* |
168
|
|
|
* @return self |
169
|
|
|
* @param string $x509SubjectName |
170
|
|
|
*/ |
171
|
|
|
public function addToX509SubjectName($x509SubjectName) |
172
|
|
|
{ |
173
|
|
|
$this->x509SubjectName[] = $x509SubjectName; |
174
|
|
|
return $this; |
175
|
|
|
} |
176
|
|
|
|
177
|
|
|
/** |
178
|
|
|
* isset x509SubjectName |
179
|
|
|
* |
180
|
|
|
* @param scalar $index |
181
|
|
|
* @return boolean |
182
|
|
|
*/ |
183
|
|
|
public function issetX509SubjectName($index) |
184
|
|
|
{ |
185
|
|
|
return isset($this->x509SubjectName[$index]); |
186
|
|
|
} |
187
|
|
|
|
188
|
|
|
/** |
189
|
|
|
* unset x509SubjectName |
190
|
|
|
* |
191
|
|
|
* @param scalar $index |
192
|
|
|
* @return void |
193
|
|
|
*/ |
194
|
|
|
public function unsetX509SubjectName($index) |
195
|
|
|
{ |
196
|
|
|
unset($this->x509SubjectName[$index]); |
197
|
|
|
} |
198
|
|
|
|
199
|
|
|
/** |
200
|
|
|
* Gets as x509SubjectName |
201
|
|
|
* |
202
|
|
|
* @return string[] |
203
|
|
|
*/ |
204
|
|
|
public function getX509SubjectName() |
205
|
|
|
{ |
206
|
|
|
return $this->x509SubjectName; |
207
|
|
|
} |
208
|
|
|
|
209
|
|
|
/** |
210
|
|
|
* Sets a new x509SubjectName |
211
|
|
|
* |
212
|
|
|
* @param string[] $x509SubjectName |
213
|
|
|
* @return self |
214
|
|
|
*/ |
215
|
|
|
public function setX509SubjectName(array $x509SubjectName) |
216
|
|
|
{ |
217
|
|
|
$this->x509SubjectName = $x509SubjectName; |
|
|
|
|
218
|
|
|
return $this; |
219
|
|
|
} |
220
|
|
|
|
221
|
|
|
/** |
222
|
|
|
* Adds as x509Certificate |
223
|
|
|
* |
224
|
|
|
* @return self |
225
|
|
|
* @param mixed $x509Certificate |
226
|
|
|
*/ |
227
|
|
|
public function addToX509Certificate($x509Certificate) |
228
|
|
|
{ |
229
|
|
|
$this->x509Certificate[] = $x509Certificate; |
230
|
|
|
return $this; |
231
|
|
|
} |
232
|
|
|
|
233
|
|
|
/** |
234
|
|
|
* isset x509Certificate |
235
|
|
|
* |
236
|
|
|
* @param scalar $index |
237
|
|
|
* @return boolean |
238
|
|
|
*/ |
239
|
|
|
public function issetX509Certificate($index) |
240
|
|
|
{ |
241
|
|
|
return isset($this->x509Certificate[$index]); |
242
|
|
|
} |
243
|
|
|
|
244
|
|
|
/** |
245
|
|
|
* unset x509Certificate |
246
|
|
|
* |
247
|
|
|
* @param scalar $index |
248
|
|
|
* @return void |
249
|
|
|
*/ |
250
|
|
|
public function unsetX509Certificate($index) |
251
|
|
|
{ |
252
|
|
|
unset($this->x509Certificate[$index]); |
253
|
|
|
} |
254
|
|
|
|
255
|
|
|
/** |
256
|
|
|
* Gets as x509Certificate |
257
|
|
|
* |
258
|
|
|
* @return mixed[] |
259
|
|
|
*/ |
260
|
|
|
public function getX509Certificate() |
261
|
|
|
{ |
262
|
|
|
return $this->x509Certificate; |
263
|
|
|
} |
264
|
|
|
|
265
|
|
|
/** |
266
|
|
|
* Sets a new x509Certificate |
267
|
|
|
* |
268
|
|
|
* @param mixed $x509Certificate |
269
|
|
|
* @return self |
270
|
|
|
*/ |
271
|
|
|
public function setX509Certificate(array $x509Certificate) |
272
|
|
|
{ |
273
|
|
|
$this->x509Certificate = $x509Certificate; |
|
|
|
|
274
|
|
|
return $this; |
275
|
|
|
} |
276
|
|
|
|
277
|
|
|
/** |
278
|
|
|
* Adds as x509CRL |
279
|
|
|
* |
280
|
|
|
* @return self |
281
|
|
|
* @param mixed $x509CRL |
282
|
|
|
*/ |
283
|
|
|
public function addToX509CRL($x509CRL) |
284
|
|
|
{ |
285
|
|
|
$this->x509CRL[] = $x509CRL; |
286
|
|
|
return $this; |
287
|
|
|
} |
288
|
|
|
|
289
|
|
|
/** |
290
|
|
|
* isset x509CRL |
291
|
|
|
* |
292
|
|
|
* @param scalar $index |
293
|
|
|
* @return boolean |
294
|
|
|
*/ |
295
|
|
|
public function issetX509CRL($index) |
296
|
|
|
{ |
297
|
|
|
return isset($this->x509CRL[$index]); |
298
|
|
|
} |
299
|
|
|
|
300
|
|
|
/** |
301
|
|
|
* unset x509CRL |
302
|
|
|
* |
303
|
|
|
* @param scalar $index |
304
|
|
|
* @return void |
305
|
|
|
*/ |
306
|
|
|
public function unsetX509CRL($index) |
307
|
|
|
{ |
308
|
|
|
unset($this->x509CRL[$index]); |
309
|
|
|
} |
310
|
|
|
|
311
|
|
|
/** |
312
|
|
|
* Gets as x509CRL |
313
|
|
|
* |
314
|
|
|
* @return mixed[] |
315
|
|
|
*/ |
316
|
|
|
public function getX509CRL() |
317
|
|
|
{ |
318
|
|
|
return $this->x509CRL; |
319
|
|
|
} |
320
|
|
|
|
321
|
|
|
/** |
322
|
|
|
* Sets a new x509CRL |
323
|
|
|
* |
324
|
|
|
* @param mixed $x509CRL |
325
|
|
|
* @return self |
326
|
|
|
*/ |
327
|
|
|
public function setX509CRL(array $x509CRL) |
328
|
|
|
{ |
329
|
|
|
$this->x509CRL = $x509CRL; |
|
|
|
|
330
|
|
|
return $this; |
331
|
|
|
} |
332
|
|
|
|
333
|
|
|
/** |
334
|
|
|
* Adds as array |
335
|
|
|
* |
336
|
|
|
* @return self |
337
|
|
|
* @param mixed $array |
338
|
|
|
*/ |
339
|
|
|
public function addToAnyElement($array) |
340
|
|
|
{ |
341
|
|
|
$this->anyElement[] = $array; |
342
|
|
|
return $this; |
343
|
|
|
} |
344
|
|
|
|
345
|
|
|
/** |
346
|
|
|
* isset anyElement |
347
|
|
|
* |
348
|
|
|
* @param scalar $index |
349
|
|
|
* @return boolean |
350
|
|
|
*/ |
351
|
|
|
public function issetAnyElement($index) |
352
|
|
|
{ |
353
|
|
|
return isset($this->anyElement[$index]); |
354
|
|
|
} |
355
|
|
|
|
356
|
|
|
/** |
357
|
|
|
* unset anyElement |
358
|
|
|
* |
359
|
|
|
* @param scalar $index |
360
|
|
|
* @return void |
361
|
|
|
*/ |
362
|
|
|
public function unsetAnyElement($index) |
363
|
|
|
{ |
364
|
|
|
unset($this->anyElement[$index]); |
365
|
|
|
} |
366
|
|
|
|
367
|
|
|
/** |
368
|
|
|
* Gets as anyElement |
369
|
|
|
* |
370
|
|
|
* @return mixed[] |
371
|
|
|
*/ |
372
|
|
|
public function getAnyElement() |
373
|
|
|
{ |
374
|
|
|
return $this->anyElement; |
375
|
|
|
} |
376
|
|
|
|
377
|
|
|
/** |
378
|
|
|
* Sets a new anyElement |
379
|
|
|
* |
380
|
|
|
* @param mixed[] $anyElement |
381
|
|
|
* @return self |
382
|
|
|
*/ |
383
|
|
|
public function setAnyElement(array $anyElement) |
384
|
|
|
{ |
385
|
|
|
$this->anyElement = $anyElement; |
386
|
|
|
return $this; |
387
|
|
|
} |
388
|
|
|
|
389
|
|
|
|
390
|
|
|
} |
391
|
|
|
|
392
|
|
|
|
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..