1 | <?php |
||
11 | class ParserResults |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @var ParsedCertificate |
||
16 | */ |
||
17 | private $parsedCertificate; |
||
18 | |||
19 | /** |
||
20 | * @var array |
||
21 | */ |
||
22 | private $rawCertificate; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | private $pemString; |
||
28 | |||
29 | /** |
||
30 | * @var string the certificate fingerprint |
||
31 | */ |
||
32 | private $fingerprint; |
||
33 | |||
34 | |||
35 | /** |
||
36 | * ParserResult constructor. |
||
37 | * |
||
38 | * @param ParsedCertificate $parsedCertificate |
||
39 | * @param array $rawCertificate |
||
40 | * @param string $pemString |
||
41 | * @param string $fingerprint |
||
42 | */ |
||
43 | public function __construct( |
||
54 | |||
55 | |||
56 | /** |
||
57 | * @return ParsedCertificate |
||
58 | */ |
||
59 | public function getParsedCertificate() |
||
63 | |||
64 | |||
65 | /** |
||
66 | * @return array |
||
67 | */ |
||
68 | public function getRawCertificate() |
||
72 | |||
73 | |||
74 | /** |
||
75 | * @return string |
||
76 | */ |
||
77 | public function getPemString() |
||
81 | |||
82 | |||
83 | /** |
||
84 | * @return string |
||
85 | */ |
||
86 | public function getFingerprint() |
||
90 | |||
91 | } |
||
92 |