line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::DNS::RR::CDNSKEY; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
45
|
|
5
|
|
|
|
|
|
|
our $VERSION = (qw$Id: CDNSKEY.pm 1909 2023-03-23 11:36:16Z willem $)[2]; |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
6
|
use base qw(Net::DNS::RR::DNSKEY); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
539
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Net::DNS::RR::CDNSKEY - DNS CDNSKEY resource record |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=cut |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
|
7
|
use integer; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
3
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub _format_rdata { ## format rdata portion of RR string. |
20
|
5
|
|
|
5
|
|
8
|
my $self = shift; |
21
|
|
|
|
|
|
|
|
22
|
5
|
100
|
|
|
|
10
|
return $self->SUPER::_format_rdata() if $self->algorithm; |
23
|
2
|
|
|
|
|
3
|
return my @rdata = @{$self}{qw(flags protocol algorithm)}, "AA=="; |
|
2
|
|
|
|
|
9
|
|
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub algorithm { |
28
|
22
|
|
|
22
|
1
|
1471
|
my ( $self, $arg ) = @_; |
29
|
22
|
100
|
|
|
|
57
|
return $self->SUPER::algorithm($arg) if $arg; |
30
|
15
|
100
|
|
|
|
42
|
return $self->SUPER::algorithm() unless defined $arg; |
31
|
2
|
|
|
|
|
3
|
@{$self}{qw(flags protocol algorithm keybin)} = ( 0, 3, 0, chr(0) ); |
|
2
|
|
|
|
|
6
|
|
32
|
2
|
|
|
|
|
5
|
return; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
__END__ |