summaryrefslogtreecommitdiff
path: root/lib/Zonemaster/LDNS/RR/DS.pm
blob: 706ef351c63832ccf5b47e60a91da5ccdfdfa799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package Zonemaster::LDNS::RR::DS;

use parent 'Zonemaster::LDNS::RR';

1;

=head1 NAME

Zonemaster::LDNS::RR::DS - Type DS record

=head1 DESCRIPTION

A subclass of L<Zonemaster::LDNS::RR>, so it has all the methods of that class available in addition to the ones documented here.

=head1 METHODS

=over

=item keytag()

Returns the keytag value.

=item digtype()

Returns the numeric digest type.

=item algorithm()

Returns the algorithm number.

=item digest()

Returns the cryptographic digest in binary form.

=item hexdigest()

Returns the cryptographic digest as a hexadecimal string.

=item verify($other)

Checks if the current object is derived from the other object (if it's a DNSKEY) or was derived from the same DNSKEY as the other object (if it's a
DS). If used with any other type of RR, it always returns false.

=back