{
    "mode": "man",
    "parameter": "SSL",
    "section": "7SSL",
    "url": "https://www.chedong.com/phpMan.php/man/SSL/7SSL/json",
    "generated": "2026-10-04T21:43:35Z",
    "synopsis": "See the individual manual pages for details.",
    "sections": {
        "NAME": {
            "content": "ssl - OpenSSL SSL/TLS library\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "See the individual manual pages for details.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The OpenSSL ssl library implements several versions of the Secure Sockets Layer, Transport\nLayer Security, and Datagram Transport Layer Security protocols.  This page gives a brief\noverview of the extensive API and data types provided by the library.\n\nAn SSLCTX object is created as a framework to establish TLS/SSL enabled connections (see\nSSLCTXnew(3)).  Various options regarding certificates, algorithms etc. can be set in this\nobject.\n\nWhen a network connection has been created, it can be assigned to an SSL object. After the\nSSL object has been created using SSLnew(3), SSLsetfd(3) or SSLsetbio(3) can be used to\nassociate the network connection with the object.\n\nWhen the TLS/SSL handshake is performed using SSLaccept(3) or SSLconnect(3) respectively.\nSSLreadex(3), SSLread(3), SSLwriteex(3) and SSLwrite(3) are used to read and write data\non the TLS/SSL connection.  SSLshutdown(3) can be used to shut down the TLS/SSL connection.\n",
            "subsections": []
        },
        "DATA STRUCTURES": {
            "content": "Here are some of the main data structures in the library.\n\nSSLMETHOD (SSL Method)\nThis  is a dispatch structure describing the internal ssl library methods/functions which\nimplement the various protocol versions (SSLv3 TLSv1, ...).  It's  needed  to  create  an\nSSLCTX.\n\nSSLCIPHER (SSL Cipher)\nThis  structure  holds the algorithm information for a particular cipher which are a core\npart of the SSL/TLS protocol. The available ciphers are configured on a SSLCTX basis and\nthe actual ones used are then part of the SSLSESSION.\n\nSSLCTX (SSL Context)\nThis is the global context structure which is created by a  server  or  client  once  per\nprogram  life-time and which holds mainly default values for the SSL structures which are\nlater created for the connections.\n\nSSLSESSION (SSL Session)\nThis is a structure containing the current TLS/SSL  session  details  for  a  connection:\nSSLCIPHERs, client and server certificates, keys, etc.\n\nSSL (SSL Connection)\nThis is the main SSL/TLS structure which is created by a server or client per established\nconnection.  This  actually  is  the  core  structure  in  the  SSL API.  At run-time the\napplication usually deals with this  structure  which  has  links  to  mostly  all  other\nstructures.\n",
            "subsections": []
        },
        "HEADER FILES": {
            "content": "Currently  the  OpenSSL  ssl  library  provides  the  following C header files containing the\nprototypes for the data structures and functions:\n\n<openssl/ssl.h>\nThis is the common header file for the SSL/TLS API.  Include it into your program to make\nthe API of the ssl library available.  It  internally  includes  both  more  private  SSL\nheaders  and headers from the crypto library.  Whenever you need hard-core details on the\ninternals of the SSL API, look inside this header file.   This  file  also  includes  the\nothers listed below.\n\n<openssl/ssl2.h>\nUnused. Present for backwards compatibility only.\n\n<openssl/ssl3.h>\nThis is the sub header file dealing with the SSLv3 protocol only.\n\n<openssl/tls1.h>\nThis is the sub header file dealing with the TLSv1 protocol only.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.\n\nLicensed  under  the Apache License 2.0 (the \"License\").  You may not use this file except in\ncompliance with the License.  You can obtain a  copy  in  the  file  LICENSE  in  the  source\ndistribution or at <https://www.openssl.org/source/license.html>.\n\n3.0.13                                       2026-07-29                                    SSL(7SSL)",
            "subsections": []
        }
    },
    "summary": "ssl - OpenSSL SSL/TLS library",
    "flags": [],
    "examples": [],
    "see_also": []
}