| 1 | <?php |
||
| 17 | class NSEC implements RdataInterface |
||
| 18 | {
|
||
| 19 | use RdataTrait; |
||
| 20 | |||
| 21 | const TYPE = 'NSEC'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The Next Domain field contains the next owner name (in the canonical |
||
| 25 | * ordering of the zone) that has authoritative data or contains a |
||
| 26 | * delegation point NS RRset. |
||
| 27 | * {@link https://tools.ietf.org/html/rfc4034#section-4.1.1}
|
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | private $nextDomainName; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var array |
||
| 35 | */ |
||
| 36 | private $typeBitMaps = []; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | public function getNextDomainName() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @param string $nextDomainName |
||
| 48 | */ |
||
| 49 | public function setNextDomainName($nextDomainName) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param $type |
||
| 56 | */ |
||
| 57 | public function addTypeBitMap($type) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Clears the types from the RDATA |
||
| 64 | */ |
||
| 65 | public function clearTypeMap() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @return array |
||
| 72 | */ |
||
| 73 | public function getTypeBitMaps() |
||
| 77 | |||
| 78 | /** |
||
| 79 | * {@inheritdoc}
|
||
| 80 | */ |
||
| 81 | public function output() |
||
| 89 | } |