{
    "content": [
        {
            "type": "text",
            "text": "# Net::LDAPS (perldoc)\n\n## NAME\n\nNet::LDAPS - use LDAP over an SSL connection\n\n## SYNOPSIS\n\nuse Net::LDAPS;\n$ldaps = Net::LDAPS->new('myhost.example.com',\nport => '10000',\nverify => 'require',\ncapath => '/usr/local/cacerts/');\n# alternate way\nuse Net::LDAP;\n$ldaps = Net::LDAP->new('ldaps://myhost.example.com:10000',\nverify => 'require',\ncapath => '/usr/local/cacerts/');\n\n## DESCRIPTION\n\nCommunicate using the LDAP protocol to a directory server using an encrypted (SSL) network\nconnection. This mechanism is non-standard but widely supported; consider using LDAPv3 with the\nstandard TLS extension if possible (many servers do not support it yet.) See \"starttls\" in\nNet::LDAP.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **CONSTRUCTOR**\n- **SEE ALSO**\n- **BUGS**\n- **AUTHOR**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::LDAPS",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::LDAPS - use LDAP over an SSL connection",
        "synopsis": "use Net::LDAPS;\n$ldaps = Net::LDAPS->new('myhost.example.com',\nport => '10000',\nverify => 'require',\ncapath => '/usr/local/cacerts/');\n# alternate way\nuse Net::LDAP;\n$ldaps = Net::LDAP->new('ldaps://myhost.example.com:10000',\nverify => 'require',\ncapath => '/usr/local/cacerts/');",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "CONSTRUCTOR",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::LDAPS - use LDAP over an SSL connection\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::LDAPS;\n\n$ldaps = Net::LDAPS->new('myhost.example.com',\nport => '10000',\nverify => 'require',\ncapath => '/usr/local/cacerts/');\n\n# alternate way\nuse Net::LDAP;\n\n$ldaps = Net::LDAP->new('ldaps://myhost.example.com:10000',\nverify => 'require',\ncapath => '/usr/local/cacerts/');\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Communicate using the LDAP protocol to a directory server using an encrypted (SSL) network\nconnection. This mechanism is non-standard but widely supported; consider using LDAPv3 with the\nstandard TLS extension if possible (many servers do not support it yet.) See \"starttls\" in\nNet::LDAP.\n\nAll the normal \"Net::LDAP\" methods can be used with a \"Net::LDAPS\" object; see Net::LDAP for\ndetails.\n",
                "subsections": []
            },
            "CONSTRUCTOR": {
                "content": "new ( HOST [, OPTIONS ] )\nCreate a new connection. HOST is the hostname to contact. OPTIONS is a number of key/value\npairs. See \"new\" in Net::LDAP for details.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Net::LDAP, IO::Socket::SSL\n",
                "subsections": []
            },
            "BUGS": {
                "content": "You cannot have more than one LDAPS connection at any one time, due to restrictions in the\nunderlying Net::SSLeay code.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Chris Ridd <chris.ridd@isode.com>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright (c) 2000-2004, Chris Ridd and Graham Barr. All rights reserved. This library is free\nsoftware; you can redistribute it and/or modify it under the same terms as Perl itself.\n",
                "subsections": []
            }
        }
    }
}