| 1 | <?php |
||
| 21 | class DNSKEY extends KEY |
||
| 22 | { |
||
| 23 | const TYPE = 'DNSKEY'; |
||
| 24 | const TYPE_CODE = 48; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The Protocol Field MUST have value 3, and the DNSKEY RR MUST be |
||
| 28 | * treated as invalid during signature verification if it is found to be |
||
| 29 | * some value other than 3. |
||
| 30 | * {@link https://tools.ietf.org/html/rfc4034#section-2.1.2}. |
||
| 31 | * |
||
| 32 | * @var int |
||
| 33 | */ |
||
| 34 | protected $protocol = 3; |
||
| 35 | |||
| 36 | 3 | public function setProtocol(int $protocol): void |
|
| 44 | } |
||
| 45 |