{
    "content": [
        {
            "type": "text",
            "text": "# Net::DNS::RR::TLSA (perldoc)\n\n## NAME\n\nNet::DNS::RR::TLSA - DNS TLSA resource record\n\n## SYNOPSIS\n\nuse Net::DNS;\n$rr = Net::DNS::RR->new('name TLSA usage selector matchingtype certificate');\n\n## DESCRIPTION\n\nThe Transport Layer Security Authentication (TLSA) DNS resource record is used to associate a\nTLS server certificate or public key with the domain name where the record is found, forming a\n\"TLSA certificate association\". The semantics of how the TLSA RR is interpreted are described in\nRFC6698.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS**\n- **COPYRIGHT**\n- **LICENSE**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::DNS::RR::TLSA",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::DNS::RR::TLSA - DNS TLSA resource record",
        "synopsis": "use Net::DNS;\n$rr = Net::DNS::RR->new('name TLSA usage selector matchingtype certificate');",
        "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": 5,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 51,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::DNS::RR::TLSA - DNS TLSA resource record\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::DNS;\n$rr = Net::DNS::RR->new('name TLSA usage selector matchingtype certificate');\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The Transport Layer Security Authentication (TLSA) DNS resource record is used to associate a\nTLS server certificate or public key with the domain name where the record is found, forming a\n\"TLSA certificate association\". The semantics of how the TLSA RR is interpreted are described in\nRFC6698.\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\nusage\n$usage = $rr->usage;\n$rr->usage( $usage );\n\n8-bit integer value which specifies the provided association that will be used to match the\ncertificate presented in the TLS handshake.\n\nselector\n$selector = $rr->selector;\n$rr->selector( $selector );\n\n8-bit integer value which specifies which part of the TLS certificate presented by the server\nwill be matched against the association data.\n\nmatchingtype\n$matchingtype = $rr->matchingtype;\n$rr->matchingtype( $matchingtype );\n\n8-bit integer value which specifies how the certificate association is presented.\n\ncertificate\ncert\n$cert = $rr->cert;\n$rr->cert( $cert );\n\nHexadecimal representation of the certificate data.\n\ncertbin\n$certbin = $rr->certbin;\n$rr->certbin( $certbin );\n\nBinary representation of the certificate data.\n\nbabble\nprint $rr->babble;\n\nThe babble() method returns the 'BubbleBabble' representation of the digest if the\nDigest::BubbleBabble package is available, otherwise an empty string is returned.\n\nBubbleBabble represents a message digest as a string of plausible words, to make the digest\neasier to verify. The \"words\" are not necessarily real words, but they look more like words than\na string of hex characters.\n\nThe 'BubbleBabble' string is appended as a comment when the string method is called.\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright (c)2012 Willem Toorop, NLnet Labs.\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, RFC6698\n",
                "subsections": []
            }
        }
    }
}