1 | <?php |
||
19 | class Certificate extends AbstractApi |
||
20 | { |
||
21 | /** |
||
22 | * @return CertificateEntity[] |
||
23 | */ |
||
24 | public function getAll() |
||
36 | |||
37 | /** |
||
38 | * @param string $id |
||
39 | * |
||
40 | * @throws HttpException |
||
41 | * |
||
42 | * @return CertificateEntity |
||
43 | */ |
||
44 | public function getById($id) |
||
52 | |||
53 | /** |
||
54 | * @param string $name |
||
55 | * @param string $privateKey |
||
56 | * @param string $leafCertificate |
||
57 | * @param string $certificateChain |
||
58 | * |
||
59 | * @throws HttpException |
||
60 | * |
||
61 | * @return CertificateEntity |
||
62 | */ |
||
63 | public function create($name, $privateKey, $leafCertificate, $certificateChain) |
||
78 | |||
79 | /** |
||
80 | * @param string $id |
||
81 | * |
||
82 | * @throws HttpException |
||
83 | */ |
||
84 | public function delete($id) |
||
88 | } |
||
89 |