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