1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign; |
4
|
|
|
|
5
|
|
|
/** |
6
|
|
|
* Class representing KeyInfoType |
7
|
|
|
* |
8
|
|
|
* |
9
|
|
|
* XSD Type: KeyInfoType |
10
|
|
|
*/ |
11
|
|
|
class KeyInfoType |
12
|
|
|
{ |
13
|
|
|
|
14
|
|
|
/** |
15
|
|
|
* @property string $id |
16
|
|
|
*/ |
17
|
|
|
private $id = null; |
18
|
|
|
|
19
|
|
|
/** |
20
|
|
|
* @property string[] $keyName |
21
|
|
|
*/ |
22
|
|
|
private $keyName = 'array()'; |
23
|
|
|
|
24
|
|
|
/** |
25
|
|
|
* @property |
26
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\KeyValue[] |
27
|
|
|
* $keyValue |
28
|
|
|
*/ |
29
|
|
|
private $keyValue = 'array()'; |
30
|
|
|
|
31
|
|
|
/** |
32
|
|
|
* @property |
33
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\RetrievalMethod[] |
34
|
|
|
* $retrievalMethod |
35
|
|
|
*/ |
36
|
|
|
private $retrievalMethod = 'array()'; |
37
|
|
|
|
38
|
|
|
/** |
39
|
|
|
* @property |
40
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\X509Data[] |
41
|
|
|
* $x509Data |
42
|
|
|
*/ |
43
|
|
|
private $x509Data = 'array()'; |
44
|
|
|
|
45
|
|
|
/** |
46
|
|
|
* @property |
47
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\PGPData[] |
48
|
|
|
* $pGPData |
49
|
|
|
*/ |
50
|
|
|
private $pGPData = 'array()'; |
51
|
|
|
|
52
|
|
|
/** |
53
|
|
|
* @property mixed[] $sPKIData |
54
|
|
|
*/ |
55
|
|
|
private $sPKIData = null; |
56
|
|
|
|
57
|
|
|
/** |
58
|
|
|
* @property string[] $mgmtData |
59
|
|
|
*/ |
60
|
|
|
private $mgmtData = 'array()'; |
61
|
|
|
|
62
|
|
|
/** |
63
|
|
|
* @property mixed[] $anyElement |
64
|
|
|
*/ |
65
|
|
|
private $anyElement = array( |
66
|
|
|
|
67
|
|
|
); |
68
|
|
|
|
69
|
|
|
/** |
70
|
|
|
* Gets as id |
71
|
|
|
* |
72
|
|
|
* @return string |
73
|
|
|
*/ |
74
|
|
|
public function getId() |
75
|
|
|
{ |
76
|
|
|
return $this->id; |
77
|
|
|
} |
78
|
|
|
|
79
|
|
|
/** |
80
|
|
|
* Sets a new id |
81
|
|
|
* |
82
|
|
|
* @param string $id |
83
|
|
|
* @return self |
84
|
|
|
*/ |
85
|
|
|
public function setId($id) |
86
|
|
|
{ |
87
|
|
|
$this->id = $id; |
88
|
|
|
return $this; |
89
|
|
|
} |
90
|
|
|
|
91
|
|
|
/** |
92
|
|
|
* Adds as keyName |
93
|
|
|
* |
94
|
|
|
* @return self |
95
|
|
|
* @param string $keyName |
96
|
|
|
*/ |
97
|
|
|
public function addToKeyName($keyName) |
98
|
|
|
{ |
99
|
|
|
$this->keyName[] = $keyName; |
100
|
|
|
return $this; |
101
|
|
|
} |
102
|
|
|
|
103
|
|
|
/** |
104
|
|
|
* isset keyName |
105
|
|
|
* |
106
|
|
|
* @param scalar $index |
107
|
|
|
* @return boolean |
108
|
|
|
*/ |
109
|
|
|
public function issetKeyName($index) |
110
|
|
|
{ |
111
|
|
|
return isset($this->keyName[$index]); |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
/** |
115
|
|
|
* unset keyName |
116
|
|
|
* |
117
|
|
|
* @param scalar $index |
118
|
|
|
* @return void |
119
|
|
|
*/ |
120
|
|
|
public function unsetKeyName($index) |
121
|
|
|
{ |
122
|
|
|
unset($this->keyName[$index]); |
123
|
|
|
} |
124
|
|
|
|
125
|
|
|
/** |
126
|
|
|
* Gets as keyName |
127
|
|
|
* |
128
|
|
|
* @return string[] |
129
|
|
|
*/ |
130
|
|
|
public function getKeyName() |
131
|
|
|
{ |
132
|
|
|
return $this->keyName; |
133
|
|
|
} |
134
|
|
|
|
135
|
|
|
/** |
136
|
|
|
* Sets a new keyName |
137
|
|
|
* |
138
|
|
|
* @param string $keyName |
139
|
|
|
* @return self |
140
|
|
|
*/ |
141
|
|
|
public function setKeyName(array $keyName) |
142
|
|
|
{ |
143
|
|
|
$this->keyName = $keyName; |
|
|
|
|
144
|
|
|
return $this; |
145
|
|
|
} |
146
|
|
|
|
147
|
|
|
/** |
148
|
|
|
* Adds as keyValue |
149
|
|
|
* |
150
|
|
|
* @return self |
151
|
|
|
* @param \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\KeyValue |
152
|
|
|
* $keyValue |
153
|
|
|
*/ |
154
|
|
|
public function addToKeyValue(\GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\KeyValue $keyValue) |
155
|
|
|
{ |
156
|
|
|
$this->keyValue[] = $keyValue; |
157
|
|
|
return $this; |
158
|
|
|
} |
159
|
|
|
|
160
|
|
|
/** |
161
|
|
|
* isset keyValue |
162
|
|
|
* |
163
|
|
|
* @param scalar $index |
164
|
|
|
* @return boolean |
165
|
|
|
*/ |
166
|
|
|
public function issetKeyValue($index) |
167
|
|
|
{ |
168
|
|
|
return isset($this->keyValue[$index]); |
169
|
|
|
} |
170
|
|
|
|
171
|
|
|
/** |
172
|
|
|
* unset keyValue |
173
|
|
|
* |
174
|
|
|
* @param scalar $index |
175
|
|
|
* @return void |
176
|
|
|
*/ |
177
|
|
|
public function unsetKeyValue($index) |
178
|
|
|
{ |
179
|
|
|
unset($this->keyValue[$index]); |
180
|
|
|
} |
181
|
|
|
|
182
|
|
|
/** |
183
|
|
|
* Gets as keyValue |
184
|
|
|
* |
185
|
|
|
* @return |
186
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\KeyValue[] |
187
|
|
|
*/ |
188
|
|
|
public function getKeyValue() |
189
|
|
|
{ |
190
|
|
|
return $this->keyValue; |
191
|
|
|
} |
192
|
|
|
|
193
|
|
|
/** |
194
|
|
|
* Sets a new keyValue |
195
|
|
|
* |
196
|
|
|
* @param |
197
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\KeyValue[] |
198
|
|
|
* $keyValue |
199
|
|
|
* @return self |
200
|
|
|
*/ |
201
|
|
|
public function setKeyValue(array $keyValue) |
202
|
|
|
{ |
203
|
|
|
$this->keyValue = $keyValue; |
|
|
|
|
204
|
|
|
return $this; |
205
|
|
|
} |
206
|
|
|
|
207
|
|
|
/** |
208
|
|
|
* Adds as retrievalMethod |
209
|
|
|
* |
210
|
|
|
* @return self |
211
|
|
|
* @param |
212
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\RetrievalMethod |
213
|
|
|
* $retrievalMethod |
214
|
|
|
*/ |
215
|
|
|
public function addToRetrievalMethod(\GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\RetrievalMethod $retrievalMethod) |
216
|
|
|
{ |
217
|
|
|
$this->retrievalMethod[] = $retrievalMethod; |
218
|
|
|
return $this; |
219
|
|
|
} |
220
|
|
|
|
221
|
|
|
/** |
222
|
|
|
* isset retrievalMethod |
223
|
|
|
* |
224
|
|
|
* @param scalar $index |
225
|
|
|
* @return boolean |
226
|
|
|
*/ |
227
|
|
|
public function issetRetrievalMethod($index) |
228
|
|
|
{ |
229
|
|
|
return isset($this->retrievalMethod[$index]); |
230
|
|
|
} |
231
|
|
|
|
232
|
|
|
/** |
233
|
|
|
* unset retrievalMethod |
234
|
|
|
* |
235
|
|
|
* @param scalar $index |
236
|
|
|
* @return void |
237
|
|
|
*/ |
238
|
|
|
public function unsetRetrievalMethod($index) |
239
|
|
|
{ |
240
|
|
|
unset($this->retrievalMethod[$index]); |
241
|
|
|
} |
242
|
|
|
|
243
|
|
|
/** |
244
|
|
|
* Gets as retrievalMethod |
245
|
|
|
* |
246
|
|
|
* @return |
247
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\RetrievalMethod[] |
248
|
|
|
*/ |
249
|
|
|
public function getRetrievalMethod() |
250
|
|
|
{ |
251
|
|
|
return $this->retrievalMethod; |
252
|
|
|
} |
253
|
|
|
|
254
|
|
|
/** |
255
|
|
|
* Sets a new retrievalMethod |
256
|
|
|
* |
257
|
|
|
* @param |
258
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\RetrievalMethod[] |
259
|
|
|
* $retrievalMethod |
260
|
|
|
* @return self |
261
|
|
|
*/ |
262
|
|
|
public function setRetrievalMethod(array $retrievalMethod) |
263
|
|
|
{ |
264
|
|
|
$this->retrievalMethod = $retrievalMethod; |
|
|
|
|
265
|
|
|
return $this; |
266
|
|
|
} |
267
|
|
|
|
268
|
|
|
/** |
269
|
|
|
* Adds as x509Data |
270
|
|
|
* |
271
|
|
|
* @return self |
272
|
|
|
* @param \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\X509Data |
273
|
|
|
* $x509Data |
274
|
|
|
*/ |
275
|
|
|
public function addToX509Data(\GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\X509Data $x509Data) |
276
|
|
|
{ |
277
|
|
|
$this->x509Data[] = $x509Data; |
278
|
|
|
return $this; |
279
|
|
|
} |
280
|
|
|
|
281
|
|
|
/** |
282
|
|
|
* isset x509Data |
283
|
|
|
* |
284
|
|
|
* @param scalar $index |
285
|
|
|
* @return boolean |
286
|
|
|
*/ |
287
|
|
|
public function issetX509Data($index) |
288
|
|
|
{ |
289
|
|
|
return isset($this->x509Data[$index]); |
290
|
|
|
} |
291
|
|
|
|
292
|
|
|
/** |
293
|
|
|
* unset x509Data |
294
|
|
|
* |
295
|
|
|
* @param scalar $index |
296
|
|
|
* @return void |
297
|
|
|
*/ |
298
|
|
|
public function unsetX509Data($index) |
299
|
|
|
{ |
300
|
|
|
unset($this->x509Data[$index]); |
301
|
|
|
} |
302
|
|
|
|
303
|
|
|
/** |
304
|
|
|
* Gets as x509Data |
305
|
|
|
* |
306
|
|
|
* @return |
307
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\X509Data[] |
308
|
|
|
*/ |
309
|
|
|
public function getX509Data() |
310
|
|
|
{ |
311
|
|
|
return $this->x509Data; |
312
|
|
|
} |
313
|
|
|
|
314
|
|
|
/** |
315
|
|
|
* Sets a new x509Data |
316
|
|
|
* |
317
|
|
|
* @param |
318
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\X509Data[] |
319
|
|
|
* $x509Data |
320
|
|
|
* @return self |
321
|
|
|
*/ |
322
|
|
|
public function setX509Data(array $x509Data) |
323
|
|
|
{ |
324
|
|
|
$this->x509Data = $x509Data; |
|
|
|
|
325
|
|
|
return $this; |
326
|
|
|
} |
327
|
|
|
|
328
|
|
|
/** |
329
|
|
|
* Adds as pGPData |
330
|
|
|
* |
331
|
|
|
* @return self |
332
|
|
|
* @param \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\PGPData |
333
|
|
|
* $pGPData |
334
|
|
|
*/ |
335
|
|
|
public function addToPGPData(\GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\PGPData $pGPData) |
336
|
|
|
{ |
337
|
|
|
$this->pGPData[] = $pGPData; |
338
|
|
|
return $this; |
339
|
|
|
} |
340
|
|
|
|
341
|
|
|
/** |
342
|
|
|
* isset pGPData |
343
|
|
|
* |
344
|
|
|
* @param scalar $index |
345
|
|
|
* @return boolean |
346
|
|
|
*/ |
347
|
|
|
public function issetPGPData($index) |
348
|
|
|
{ |
349
|
|
|
return isset($this->pGPData[$index]); |
350
|
|
|
} |
351
|
|
|
|
352
|
|
|
/** |
353
|
|
|
* unset pGPData |
354
|
|
|
* |
355
|
|
|
* @param scalar $index |
356
|
|
|
* @return void |
357
|
|
|
*/ |
358
|
|
|
public function unsetPGPData($index) |
359
|
|
|
{ |
360
|
|
|
unset($this->pGPData[$index]); |
361
|
|
|
} |
362
|
|
|
|
363
|
|
|
/** |
364
|
|
|
* Gets as pGPData |
365
|
|
|
* |
366
|
|
|
* @return |
367
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\PGPData[] |
368
|
|
|
*/ |
369
|
|
|
public function getPGPData() |
370
|
|
|
{ |
371
|
|
|
return $this->pGPData; |
372
|
|
|
} |
373
|
|
|
|
374
|
|
|
/** |
375
|
|
|
* Sets a new pGPData |
376
|
|
|
* |
377
|
|
|
* @param |
378
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\PGPData[] |
379
|
|
|
* $pGPData |
380
|
|
|
* @return self |
381
|
|
|
*/ |
382
|
|
|
public function setPGPData(array $pGPData) |
383
|
|
|
{ |
384
|
|
|
$this->pGPData = $pGPData; |
|
|
|
|
385
|
|
|
return $this; |
386
|
|
|
} |
387
|
|
|
|
388
|
|
|
/** |
389
|
|
|
* Adds as sPKISexp |
390
|
|
|
* |
391
|
|
|
* @return self |
392
|
|
|
* @param mixed $sPKISexp |
393
|
|
|
*/ |
394
|
|
|
public function addToSPKIData($sPKISexp) |
395
|
|
|
{ |
396
|
|
|
$this->sPKIData[] = $sPKISexp; |
397
|
|
|
return $this; |
398
|
|
|
} |
399
|
|
|
|
400
|
|
|
/** |
401
|
|
|
* isset sPKIData |
402
|
|
|
* |
403
|
|
|
* @param scalar $index |
404
|
|
|
* @return boolean |
405
|
|
|
*/ |
406
|
|
|
public function issetSPKIData($index) |
407
|
|
|
{ |
408
|
|
|
return isset($this->sPKIData[$index]); |
409
|
|
|
} |
410
|
|
|
|
411
|
|
|
/** |
412
|
|
|
* unset sPKIData |
413
|
|
|
* |
414
|
|
|
* @param scalar $index |
415
|
|
|
* @return void |
416
|
|
|
*/ |
417
|
|
|
public function unsetSPKIData($index) |
418
|
|
|
{ |
419
|
|
|
unset($this->sPKIData[$index]); |
420
|
|
|
} |
421
|
|
|
|
422
|
|
|
/** |
423
|
|
|
* Gets as sPKIData |
424
|
|
|
* |
425
|
|
|
* @return mixed[] |
426
|
|
|
*/ |
427
|
|
|
public function getSPKIData() |
428
|
|
|
{ |
429
|
|
|
return $this->sPKIData; |
430
|
|
|
} |
431
|
|
|
|
432
|
|
|
/** |
433
|
|
|
* Sets a new sPKIData |
434
|
|
|
* |
435
|
|
|
* @param mixed $sPKIData |
436
|
|
|
* @return self |
437
|
|
|
*/ |
438
|
|
|
public function setSPKIData(array $sPKIData) |
439
|
|
|
{ |
440
|
|
|
$this->sPKIData = $sPKIData; |
441
|
|
|
return $this; |
442
|
|
|
} |
443
|
|
|
|
444
|
|
|
/** |
445
|
|
|
* Adds as mgmtData |
446
|
|
|
* |
447
|
|
|
* @return self |
448
|
|
|
* @param string $mgmtData |
449
|
|
|
*/ |
450
|
|
|
public function addToMgmtData($mgmtData) |
451
|
|
|
{ |
452
|
|
|
$this->mgmtData[] = $mgmtData; |
453
|
|
|
return $this; |
454
|
|
|
} |
455
|
|
|
|
456
|
|
|
/** |
457
|
|
|
* isset mgmtData |
458
|
|
|
* |
459
|
|
|
* @param scalar $index |
460
|
|
|
* @return boolean |
461
|
|
|
*/ |
462
|
|
|
public function issetMgmtData($index) |
463
|
|
|
{ |
464
|
|
|
return isset($this->mgmtData[$index]); |
465
|
|
|
} |
466
|
|
|
|
467
|
|
|
/** |
468
|
|
|
* unset mgmtData |
469
|
|
|
* |
470
|
|
|
* @param scalar $index |
471
|
|
|
* @return void |
472
|
|
|
*/ |
473
|
|
|
public function unsetMgmtData($index) |
474
|
|
|
{ |
475
|
|
|
unset($this->mgmtData[$index]); |
476
|
|
|
} |
477
|
|
|
|
478
|
|
|
/** |
479
|
|
|
* Gets as mgmtData |
480
|
|
|
* |
481
|
|
|
* @return string[] |
482
|
|
|
*/ |
483
|
|
|
public function getMgmtData() |
484
|
|
|
{ |
485
|
|
|
return $this->mgmtData; |
486
|
|
|
} |
487
|
|
|
|
488
|
|
|
/** |
489
|
|
|
* Sets a new mgmtData |
490
|
|
|
* |
491
|
|
|
* @param string $mgmtData |
492
|
|
|
* @return self |
493
|
|
|
*/ |
494
|
|
|
public function setMgmtData(array $mgmtData) |
495
|
|
|
{ |
496
|
|
|
$this->mgmtData = $mgmtData; |
|
|
|
|
497
|
|
|
return $this; |
498
|
|
|
} |
499
|
|
|
|
500
|
|
|
/** |
501
|
|
|
* Adds as array |
502
|
|
|
* |
503
|
|
|
* @return self |
504
|
|
|
* @param mixed $array |
505
|
|
|
*/ |
506
|
|
|
public function addToAnyElement($array) |
507
|
|
|
{ |
508
|
|
|
$this->anyElement[] = $array; |
509
|
|
|
return $this; |
510
|
|
|
} |
511
|
|
|
|
512
|
|
|
/** |
513
|
|
|
* isset anyElement |
514
|
|
|
* |
515
|
|
|
* @param scalar $index |
516
|
|
|
* @return boolean |
517
|
|
|
*/ |
518
|
|
|
public function issetAnyElement($index) |
519
|
|
|
{ |
520
|
|
|
return isset($this->anyElement[$index]); |
521
|
|
|
} |
522
|
|
|
|
523
|
|
|
/** |
524
|
|
|
* unset anyElement |
525
|
|
|
* |
526
|
|
|
* @param scalar $index |
527
|
|
|
* @return void |
528
|
|
|
*/ |
529
|
|
|
public function unsetAnyElement($index) |
530
|
|
|
{ |
531
|
|
|
unset($this->anyElement[$index]); |
532
|
|
|
} |
533
|
|
|
|
534
|
|
|
/** |
535
|
|
|
* Gets as anyElement |
536
|
|
|
* |
537
|
|
|
* @return mixed[] |
538
|
|
|
*/ |
539
|
|
|
public function getAnyElement() |
540
|
|
|
{ |
541
|
|
|
return $this->anyElement; |
542
|
|
|
} |
543
|
|
|
|
544
|
|
|
/** |
545
|
|
|
* Sets a new anyElement |
546
|
|
|
* |
547
|
|
|
* @param mixed[] $anyElement |
548
|
|
|
* @return self |
549
|
|
|
*/ |
550
|
|
|
public function setAnyElement(array $anyElement) |
551
|
|
|
{ |
552
|
|
|
$this->anyElement = $anyElement; |
553
|
|
|
return $this; |
554
|
|
|
} |
555
|
|
|
|
556
|
|
|
|
557
|
|
|
} |
558
|
|
|
|
559
|
|
|
|
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..