1SSL(7ossl)                          OpenSSL                         SSL(7ossl)
2
3
4

NAME

6       ssl - OpenSSL SSL/TLS library
7

SYNOPSIS

9       See the individual manual pages for details.
10

DESCRIPTION

12       The OpenSSL ssl library implements several versions of the Secure
13       Sockets Layer, Transport Layer Security, and Datagram Transport Layer
14       Security protocols.  This page gives a brief overview of the extensive
15       API and data types provided by the library.
16
17       An SSL_CTX object is created as a framework to establish TLS/SSL
18       enabled connections (see SSL_CTX_new(3)).  Various options regarding
19       certificates, algorithms etc. can be set in this object.
20
21       When a network connection has been created, it can be assigned to an
22       SSL object. After the SSL object has been created using SSL_new(3),
23       SSL_set_fd(3) or SSL_set_bio(3) can be used to associate the network
24       connection with the object.
25
26       When the TLS/SSL handshake is performed using SSL_accept(3) or
27       SSL_connect(3) respectively.  SSL_read_ex(3), SSL_read(3),
28       SSL_write_ex(3) and SSL_write(3) are used to read and write data on the
29       TLS/SSL connection.  SSL_shutdown(3) can be used to shut down the
30       TLS/SSL connection.
31

DATA STRUCTURES

33       Here are some of the main data structures in the library.
34
35       SSL_METHOD (SSL Method)
36           This is a dispatch structure describing the internal ssl library
37           methods/functions which implement the various protocol versions
38           (SSLv3 TLSv1, ...). It's needed to create an SSL_CTX.
39
40       SSL_CIPHER (SSL Cipher)
41           This structure holds the algorithm information for a particular
42           cipher which are a core part of the SSL/TLS protocol. The available
43           ciphers are configured on a SSL_CTX basis and the actual ones used
44           are then part of the SSL_SESSION.
45
46       SSL_CTX (SSL Context)
47           This is the global context structure which is created by a server
48           or client once per program life-time and which holds mainly default
49           values for the SSL structures which are later created for the
50           connections.
51
52       SSL_SESSION (SSL Session)
53           This is a structure containing the current TLS/SSL session details
54           for a connection: SSL_CIPHERs, client and server certificates,
55           keys, etc.
56
57       SSL (SSL Connection)
58           This is the main SSL/TLS structure which is created by a server or
59           client per established connection. This actually is the core
60           structure in the SSL API.  At run-time the application usually
61           deals with this structure which has links to mostly all other
62           structures.
63

HEADER FILES

65       Currently the OpenSSL ssl library provides the following C header files
66       containing the prototypes for the data structures and functions:
67
68       <openssl/ssl.h>
69           This is the common header file for the SSL/TLS API.  Include it
70           into your program to make the API of the ssl library available. It
71           internally includes both more private SSL headers and headers from
72           the crypto library.  Whenever you need hard-core details on the
73           internals of the SSL API, look inside this header file.  This file
74           also includes the others listed below.
75
76       <openssl/ssl2.h>
77           Unused. Present for backwards compatibility only.
78
79       <openssl/ssl3.h>
80           This is the sub header file dealing with the SSLv3 protocol only.
81
82       <openssl/tls1.h>
83           This is the sub header file dealing with the TLSv1 protocol only.
84
86       Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
87
88       Licensed under the Apache License 2.0 (the "License").  You may not use
89       this file except in compliance with the License.  You can obtain a copy
90       in the file LICENSE in the source distribution or at
91       <https://www.openssl.org/source/license.html>.
92
93
94
953.0.9                             2023-07-27                        SSL(7ossl)
Impressum