{
    "mode": "perldoc",
    "parameter": "Net::DNS::RR::TKEY",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ADNS%3A%3ARR%3A%3ATKEY/json",
    "generated": "2026-06-14T00:39:46Z",
    "synopsis": "use Net::DNS;",
    "sections": {
        "NAME": {
            "content": "Net::DNS::RR::TKEY - DNS TKEY resource record\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::DNS;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Class for DNS TSIG Key (TKEY) resource records.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "The available methods are those inherited from the base class augmented by the type-specific\nmethods defined in this package.\n\nUse of undocumented package features or direct access to internal data structures is discouraged\nand could result in program termination or other unpredictable behaviour.\n\nalgorithm\n$algorithm = $rr->algorithm;\n$rr->algorithm( $algorithm );\n\nThe algorithm name is in the form of a domain name with the same meaning as in [RFC 2845]. The\nalgorithm determines how the secret keying material agreed to using the TKEY RR is actually used\nto derive the algorithm specific key.\n\ninception\n$inception = $rr->inception;\n$rr->inception( $inception );\n\nTime expressed as the number of non-leap seconds modulo 232 since the beginning of January\n1970 GMT.\n\nexpiration\n$expiration = $rr->expiration;\n$rr->expiration( $expiration );\n\nTime expressed as the number of non-leap seconds modulo 232 since the beginning of January\n1970 GMT.\n\nmode\n$mode = $rr->mode;\n$rr->mode( $mode );\n\nThe mode field specifies the general scheme for key agreement or the purpose of the TKEY DNS\nmessage, as defined in [RFC2930(2.5)].\n\nerror\n$error = $rr->error;\n$rr->error( $error );\n\nThe error code field is an extended RCODE.\n\nkey\n$key = $rr->key;\n$rr->key( $key );\n\nSequence of octets representing the key exchange data. The meaning of this data depends on the\nmode.\n\nother\n$other = $rr->other;\n$rr->other( $other );\n\nContent not defined in the [RFC2930] specification but may be used in future extensions.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c)2000 Andrew Tridgell.\n\nAll rights reserved.\n\nPackage template (c)2009,2012 O.M.Kolkman and R.W.Franks.\n",
            "subsections": []
        },
        "LICENSE": {
            "content": "Permission to use, copy, modify, and distribute this software and its documentation for any\npurpose and without fee is hereby granted, provided that the original copyright notices appear\nin all copies and that both copyright notice and this permission notice appear in supporting\ndocumentation, and that the name of the author not be used in advertising or publicity\npertaining to distribution of the software without specific prior written permission.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING\nBUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\nDAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "perl, Net::DNS, Net::DNS::RR, RFC2930\n",
            "subsections": []
        }
    },
    "summary": "Net::DNS::RR::TKEY - DNS TKEY resource record",
    "flags": [],
    "examples": [],
    "see_also": []
}