1 | <?php |
||
9 | class X509Certificates extends Message |
||
10 | { |
||
11 | |||
12 | /** @var string[] */ |
||
13 | public $certificate = array(); |
||
14 | |||
15 | |||
16 | /** @var \Closure[] */ |
||
17 | protected static $__extensions = array(); |
||
18 | |||
19 | 1 | public static function descriptor() |
|
37 | |||
38 | /** |
||
39 | * Check if <certificate> has a value |
||
40 | * |
||
41 | * @return boolean |
||
42 | */ |
||
43 | 9 | public function hasCertificate() |
|
47 | |||
48 | /** |
||
49 | * Clear <certificate> value |
||
50 | * |
||
51 | * @return \Bip70\Protobuf\Proto\X509Certificates |
||
52 | */ |
||
53 | 1 | public function clearCertificate() |
|
57 | |||
58 | /** |
||
59 | * Get <certificate> value |
||
60 | * |
||
61 | * @param int $idx |
||
62 | * @return string |
||
63 | */ |
||
64 | 4 | public function getCertificate($idx = null) |
|
68 | |||
69 | /** |
||
70 | * Set <certificate> value |
||
71 | * |
||
72 | * @param string $value |
||
73 | * @param int $idx |
||
74 | * @return \Bip70\Protobuf\Proto\X509Certificates |
||
75 | */ |
||
76 | 5 | public function setCertificate($value, $idx = null) |
|
80 | |||
81 | /** |
||
82 | * Get all elements of <certificate> |
||
83 | * |
||
84 | * @return string[] |
||
85 | */ |
||
86 | 8 | public function getCertificateList() |
|
90 | |||
91 | /** |
||
92 | * Add a new element to <certificate> |
||
93 | * |
||
94 | * @param string $value |
||
95 | * @return \Bip70\Protobuf\Proto\X509Certificates |
||
96 | */ |
||
97 | 6 | public function addCertificate($value) |
|
101 | } |
||
102 |