| 1 | <?php |
||
| 15 | class InhibitAnyPolicyExtension extends Extension |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * |
||
| 19 | * @var int $_skipCerts |
||
| 20 | */ |
||
| 21 | protected $_skipCerts; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Constructor. |
||
| 25 | * |
||
| 26 | * @param bool $critical |
||
| 27 | * @param int $skip_certs |
||
| 28 | */ |
||
| 29 | 10 | public function __construct(bool $critical, int $skip_certs) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * |
||
| 37 | * {@inheritdoc} |
||
| 38 | * @return self |
||
| 39 | */ |
||
| 40 | 9 | protected static function _fromDER(string $data, bool $critical): self |
|
| 45 | |||
| 46 | /** |
||
| 47 | * Get value. |
||
| 48 | * |
||
| 49 | * @return int |
||
| 50 | */ |
||
| 51 | 4 | public function skipCerts(): int |
|
| 55 | |||
| 56 | /** |
||
| 57 | * |
||
| 58 | * {@inheritdoc} |
||
| 59 | * @return Integer |
||
| 60 | */ |
||
| 61 | 17 | protected function _valueASN1(): Integer |
|
| 65 | } |
||
| 66 |