Net::DNS::RR::DNSKEY3pm
Dns dnskey resource record
Usage
use Net::DNS;$rr = Net::DNS::RR->new('name DNSKEY flags protocol algorithm publickey');
Overview
Class for DNSSEC Key (DNSKEY) resource records.
Methods
The available methods are those inherited from the base class augmented by the type-specific methods defined in this package.
Use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or other unpredictable behaviour.
flags
$flags = $rr->flags;$rr->flags( $flags );
Unsigned 16-bit number representing Boolean flags.
- zone
-
$rr->zone(1);if ( $rr->zone ) {...}Boolean ZONE flag.
- revoke
-
$rr->revoke(1);if ( $rr->revoke ) {...}Boolean REVOKE flag.
- adt
-
$rr->adt(1);if ( $rr->adt ) {...}Authoritative Delegation Types (ADT) flag.
- sep
-
$rr->sep(1);if ( $rr->sep ) {...}Boolean Secure Entry Point (SEP) flag.
protocol
$protocol = $rr->protocol;$rr->protocol( $protocol );
The 8-bit protocol number. This field MUST have value 3.
algorithm
$algorithm = $rr->algorithm;$rr->algorithm( $algorithm );
The 8-bit algorithm number describes the public key algorithm.
algorithm() may also be invoked as a class method or simple function to perform mnemonic and numeric code translation.
publickey
key
$key = $rr->key;$rr->key( $key );
Base64 representation of the public key material.
keybin
$keybin = $rr->keybin;$rr->keybin( $keybin );
Opaque octet string representing the public key material.
privatekeyname
$privatekeyname = $rr->privatekeyname;
Returns the name of the privatekey as it would be generated by the BIND dnssec-keygen program. The format of that name being:
K<fqdn>+<algorithm>+<keyid>.private
signame
$signame = $rr->signame;
Returns the canonical signer name of the privatekey.
keylength
Returns the length (in bits) of the modulus calculated from the key text.
keytag
print "keytag = ", $rr->keytag, "\n";
Returns the 16-bit numerical key tag of the key. (RFC2535 4.1.6)
Releases
9 releases since Debian 6.0 (Squeeze); the text changed 8 times.