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
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
46
|
|
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
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
552
|
|
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
|
|
9
|
my $self = shift; |
21
|
|
|
|
|
|
|
|
22
|
5
|
100
|
|
|
|
10
|
return $self->SUPER::_format_rdata() if $self->algorithm; |
23
|
2
|
|
|
|
|
5
|
return my @rdata = @{$self}{qw(flags protocol algorithm)}, "AA=="; |
|
2
|
|
|
|
|
9
|
|
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub algorithm { |
28
|
22
|
|
|
22
|
1
|
1514
|
my ( $self, $arg ) = @_; |
29
|
22
|
100
|
|
|
|
86
|
return $self->SUPER::algorithm($arg) if $arg; |
30
|
15
|
100
|
|
|
|
50
|
return $self->SUPER::algorithm() unless defined $arg; |
31
|
2
|
|
|
|
|
5
|
@{$self}{qw(flags protocol algorithm keybin)} = ( 0, 3, 0, chr(0) ); |
|
2
|
|
|
|
|
6
|
|
32
|
2
|
|
|
|
|
5
|
return; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
__END__ |