1 | <?php |
||
19 | class Message extends AbstractMessage |
||
20 | { |
||
21 | /** |
||
22 | * @var int |
||
23 | */ |
||
24 | protected $encryptedSegmentsCount = 0; |
||
25 | |||
26 | /** |
||
27 | * @var int |
||
28 | */ |
||
29 | protected $securityReference; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $pin; |
||
35 | |||
36 | /** |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $bankCode; |
||
40 | |||
41 | /** |
||
42 | * @var string |
||
43 | */ |
||
44 | protected $username; |
||
45 | |||
46 | /** |
||
47 | * @var string |
||
48 | */ |
||
49 | protected $systemId; |
||
50 | |||
51 | /** |
||
52 | * @var array |
||
53 | */ |
||
54 | protected $options; |
||
55 | |||
56 | /** |
||
57 | * @var int |
||
58 | */ |
||
59 | protected $profileVersion; |
||
60 | |||
61 | /** |
||
62 | * @var string |
||
63 | */ |
||
64 | protected $securityFunction; |
||
65 | |||
66 | /** |
||
67 | * @var array |
||
68 | */ |
||
69 | private $encryptedSegments = array(); |
||
70 | |||
71 | /** |
||
72 | * @var HNVSD |
||
73 | */ |
||
74 | protected $encryptionEnvelop; |
||
75 | |||
76 | /** |
||
77 | * Message constructor. |
||
78 | * @param string $bankCode |
||
79 | * @param string $username |
||
80 | * @param string $pin |
||
81 | * @param $systemId |
||
82 | * @param int $dialogId |
||
83 | * @param int $messageNumber |
||
84 | * @param array $encryptedSegments |
||
85 | * @param array $options |
||
86 | */ |
||
87 | 4 | public function __construct( |
|
135 | |||
136 | /** |
||
137 | * @return HNVSK |
||
138 | * @codeCoverageIgnore |
||
139 | */ |
||
140 | protected function buildEncryptionHead() |
||
153 | |||
154 | /** |
||
155 | * @return HNSHK |
||
156 | * @codeCoverageIgnore |
||
157 | */ |
||
158 | protected function buildSignatureHead() |
||
173 | |||
174 | /** |
||
175 | * Adds a encrypted segment to the message. |
||
176 | * |
||
177 | * @param SegmentInterface $segment |
||
178 | */ |
||
179 | 4 | protected function addEncryptedSegment(SegmentInterface $segment) |
|
187 | |||
188 | /** |
||
189 | * Only for read-only access. |
||
190 | * @return AbstractSegment[] |
||
191 | */ |
||
192 | 1 | public function getEncryptedSegments() |
|
196 | } |
||
197 |