| 1 | package Zonemaster::LDNS::RR::NSEC3scip-perl cpan Zonemaster-LDNS 5.0.2 Zonemaster/LDNS/RR/NSEC3/; |
| 2 | |
| 3 | use strictscip-perl cpan Zonemaster-LDNS 5.0.2 strict/; |
| 4 | use warningsscip-perl cpan Zonemaster-LDNS 5.0.2 warnings/; |
| 5 | |
| 6 | use parentscip-perl cpan Zonemaster-LDNS 5.0.2 parent/ 'Zonemaster::LDNS::RR'; |
| 7 | |
| 8 | 1; |
| 9 | |
| 10 | =head1 NAME |
| 11 | |
| 12 | Zonemaster::LDNS::RR::NSEC3 - Type NSEC3 record |
| 13 | |
| 14 | =head1 DESCRIPTION |
| 15 | |
| 16 | A subclass of L<Zonemaster::LDNS::RR>, so it has all the methods of that class available in addition to the ones documented here. |
| 17 | |
| 18 | =head1 METHODS |
| 19 | |
| 20 | =over |
| 21 | |
| 22 | =item algorithm() |
| 23 | |
| 24 | Returns the algorithm number. |
| 25 | |
| 26 | =item flags() |
| 27 | |
| 28 | Returns the flags field. |
| 29 | |
| 30 | =item optout() |
| 31 | |
| 32 | Returns the optout flag. |
| 33 | |
| 34 | =item iterations() |
| 35 | |
| 36 | Returns the iteration count. |
| 37 | |
| 38 | =item salt() |
| 39 | |
| 40 | Returns the contents of the salt field as a binary string, if non-empty; otherwise, returns an empty string. If there was a problem accessing the salt field, returns undef. |
| 41 | |
| 42 | =item next_owner() |
| 43 | |
| 44 | Returns the next hashed owner name field, in binary form. To convert the return value to the human-readable presentation format, use L<MIME::Base32/encode_base32hex>. |
| 45 | |
| 46 | =item typelist() |
| 47 | |
| 48 | Returns the typelist as a space-separated string. |
| 49 | |
| 50 | =item typehref() |
| 51 | |
| 52 | Returns the typelist as a reference to a hash where the included types are keys storing true values. |
| 53 | |
| 54 | =item covers($name) |
| 55 | |
| 56 | Returns true or false depending on if the record covers the given name or not. |
| 57 | |
| 58 | =item hash_name($name) |
| 59 | |
| 60 | Computes and returns a hash, in canonical form, of the given name using the parameters (algorithm, iterations, salt) of the resource record. |
| 61 | |
| 62 | =back |