File Coverage

blib/lib/Zonemaster/LDNS/RR/KEY.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              
2             package Zonemaster::LDNS::RR::KEY;
3              
4 13     13   99 use parent 'Zonemaster::LDNS::RR';
  13         34  
  13         77  
5              
6             1;
7              
8             =head1 NAME
9              
10             Zonemaster::LDNS::RR::KEY - Type KEY record
11              
12             =head1 DESCRIPTION
13              
14             A subclass of L, so it has all the methods of that class available in addition to the ones documented here.
15              
16             =head1 METHODS
17              
18             =over
19              
20             =item flags()
21              
22             Returns the flag field as a number.
23              
24             =item protocol()
25              
26             Returns the protocol number.
27              
28             =item algorithm()
29              
30             Returns the algorithm number.
31              
32             =item keydata()
33              
34             Returns the cryptographic key in binary form.
35              
36             =cut