{
    "content": [
        {
            "type": "text",
            "text": "# Net::DNS::RR::DNSKEY (perldoc)\n\n## NAME\n\nNet::DNS::RR::DNSKEY - DNS DNSKEY resource record\n\n## SYNOPSIS\n\nuse Net::DNS;\n$rr = Net::DNS::RR->new('name DNSKEY flags protocol algorithm publickey');\n\n## DESCRIPTION\n\nClass for DNSSEC Key (DNSKEY) resource records.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS** (1 subsections)\n- **COPYRIGHT**\n- **LICENSE**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::DNS::RR::DNSKEY",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::DNS::RR::DNSKEY - DNS DNSKEY resource record",
        "synopsis": "use Net::DNS;\n$rr = Net::DNS::RR->new('name DNSKEY flags protocol algorithm publickey');",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 52,
                "subsections": [
                    {
                        "name": "algorithm",
                        "lines": 35
                    }
                ]
            },
            {
                "name": "COPYRIGHT",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::DNS::RR::DNSKEY - DNS DNSKEY resource record\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::DNS;\n$rr = Net::DNS::RR->new('name DNSKEY flags protocol algorithm publickey');\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Class for DNSSEC Key (DNSKEY) resource records.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "The available methods are those inherited from the base class augmented\nby the type-specific methods defined in this package.\n\nUse of undocumented package features or direct access to internal data\nstructures is discouraged and could result in program termination or\nother unpredictable behaviour.\n\nflags\n$flags = $rr->flags;\n$rr->flags( $flags );\n\nUnsigned 16-bit number representing Boolean flags.\n\nzone\n$rr->zone(1);\n\nif ( $rr->zone ) {\n...\n}\n\nBoolean ZONE flag.\n\nrevoke\n$rr->revoke(1);\n\nif ( $rr->revoke ) {\n...\n}\n\nBoolean REVOKE flag.\n\nsep\n$rr->sep(1);\n\nif ( $rr->sep ) {\n...\n}\n\nBoolean Secure Entry Point (SEP) flag.\n\nprotocol\n$protocol = $rr->protocol;\n$rr->protocol( $protocol );\n\nThe 8-bit protocol number. This field MUST have value 3.\n\nalgorithm\n$algorithm = $rr->algorithm;\n$rr->algorithm( $algorithm );\n\nThe 8-bit algorithm number describes the public key algorithm.\n",
                "subsections": [
                    {
                        "name": "algorithm",
                        "content": "perform mnemonic and numeric code translation.\n\npublickey\nkey\n$key = $rr->key;\n$rr->key( $key );\n\nBase64 representation of the public key material.\n\nkeybin\n$keybin = $rr->keybin;\n$rr->keybin( $keybin );\n\nOpaque octet string representing the public key material.\n\nprivatekeyname\n$privatekeyname = $rr->privatekeyname;\n\nReturns the name of the privatekey as it would be generated by the BIND\ndnssec-keygen program. The format of that name being:\n\nK<fqdn>+<algorithm>+<keyid>.private\n\nsigname\nReturns the canonical signer name of the privatekey.\n\nkeylength\nReturns the length (in bits) of the modulus calculated from the key\ntext.\n\nkeytag\nprint \"keytag = \", $rr->keytag, \"\\n\";\n\nReturns the 16-bit numerical key tag of the key. (RFC2535 4.1.6)\n"
                    }
                ]
            },
            "COPYRIGHT": {
                "content": "Copyright (c)2003-2005 RIPE NCC. Author Olaf M. Kolkman\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\ndocumentation for any purpose and without fee is hereby granted,\nprovided that the original copyright notices appear in all copies and\nthat both copyright notice and this permission notice appear in\nsupporting documentation, and that the name of the author not be used in\nadvertising or publicity pertaining to distribution of the software\nwithout specific prior written permission.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "perl, Net::DNS, Net::DNS::RR, RFC4034\n\nDNSKEY Flags <http://www.iana.org/assignments/dnskey-flags>\n\nAlgorithm Numbers <http://www.iana.org/assignments/dns-sec-alg-numbers>\n",
                "subsections": []
            }
        }
    }
}