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