File Coverage

blib/lib/Net/LDNS/RR/DS.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Net::LDNS::RR::DS;
2              
3 13     13   40 use parent 'Net::LDNS::RR';
  13         13  
  13         46  
4              
5             1;
6              
7             =head1 NAME
8              
9             Net::LDNS::RR::DS - Type DS record
10              
11             =head1 DESCRIPTION
12              
13             A subclass of L, so it has all the methods of that class available in addition to the ones documented here.
14              
15             =head1 METHODS
16              
17             =over
18              
19             =item keytag()
20              
21             Returns the keytag value.
22              
23             =item digtype()
24              
25             Returns the numeric digest type.
26              
27             =item algorithm()
28              
29             Returns the algorithm number.
30              
31             =item digest()
32              
33             Returns the cryptographic digest in binary form.
34              
35             =item hexdigest()
36              
37             Returns the cryptographic digest as a hexadecimal string.
38              
39             =item verify($other)
40              
41             Checks if the current object is derived from the other object (if it's a DNSKEY) or was derived from the same DNSKEY as the other object (if it's a
42             DS). If used with any other type of RR, it always returns false.
43              
44             =back