1 | <?php |
||
17 | class Analyze extends Api |
||
18 | { |
||
19 | /** |
||
20 | * Analyze Certificate (permission needed: #ssl:read) |
||
21 | * Returns the set of hostnames, the signature algorithm, and the expiration date of the certificate. |
||
22 | * |
||
23 | * @param string $identifier |
||
24 | * @param string $certificate The zone's SSL certificate or certificate and the intermediate(s) |
||
25 | * @param string|null $bundle_method A ubiquitous bundle is a bundle that has a higher probability of |
||
26 | * being verified everywhere, even by clients using outdated or unusual |
||
27 | * trust stores. An optimal bundle is a bundle with the shortest chain and |
||
28 | * newest intermediates. A forced method attempt to use the certificate/chain |
||
29 | * as defined by the input |
||
30 | */ |
||
31 | public function analyze($identifier, $certificate, $bundle_method = null) |
||
40 | } |
||
41 |