line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::DNS::RR::CDS; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
30
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
45
|
|
5
|
|
|
|
|
|
|
our $VERSION = (qw$Id: CDS.pm 1909 2023-03-23 11:36:16Z willem $)[2]; |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
6
|
use base qw(Net::DNS::RR::DS); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
571
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Net::DNS::RR::CDS - DNS CDS resource record |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=cut |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
|
11
|
use integer; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
8
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub algorithm { |
20
|
14
|
|
|
14
|
1
|
1203
|
my ( $self, $arg ) = @_; |
21
|
14
|
100
|
|
|
|
37
|
return $self->SUPER::algorithm($arg) if $arg; |
22
|
8
|
100
|
|
|
|
28
|
return $self->SUPER::algorithm() unless defined $arg; |
23
|
2
|
|
|
|
|
4
|
@{$self}{qw(keytag algorithm digtype digestbin)} = ( 0, 0, 0, chr(0) ); |
|
2
|
|
|
|
|
37
|
|
24
|
2
|
|
|
|
|
8
|
return; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub digtype { |
29
|
12
|
|
|
12
|
1
|
900
|
my ( $self, $arg ) = @_; |
30
|
12
|
100
|
|
|
|
37
|
return $self->SUPER::digtype($arg) if $arg; |
31
|
7
|
|
|
|
|
19
|
return $self->SUPER::digtype(); |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |
36
|
|
|
|
|
|
|
__END__ |