lib/3rdParty/composer/spomky-labs/pki-framework/src/X509/Certificate/Extension/FreshestCRLExtension.php
raw symbols SCIP| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace SpomkyLabs\Pki\X509\Certificate\Extension; |
| 6 | |
| 7 | use SpomkyLabs\Pki\X509\Certificate\Extension\DistributionPoint\DistributionPoint; |
| 8 | |
| 9 | /** |
| 10 | * Implements 'Freshest CRL' certificate extension. |
| 11 | * |
| 12 | * @see https://tools.ietf.org/html/rfc5280#section-4.2.1.15 |
| 13 | */ |
| 14 | final class FreshestCRLExtension extends CRLDistributionPointsExtension |
| 15 | { |
| 16 | public static function create(bool $critical, DistributionPoint ...$distribution_points): self |
| 17 | { |
| 18 | return new self(self::OID_FRESHEST_CRL, $critical, ...$distribution_points); |
| 19 | } |
| 20 | } |