Local adjustments for OpenSSL 1.0.1r.
[dragonfly.git] / secure / lib / libssl / man / ssl.3
1 .\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
2 .\"
3 .\" Standard preamble:
4 .\" ========================================================================
5 .de Sp \" Vertical space (when we can't use .PP)
6 .if t .sp .5v
7 .if n .sp
8 ..
9 .de Vb \" Begin verbatim text
10 .ft CW
11 .nf
12 .ne \\$1
13 ..
14 .de Ve \" End verbatim text
15 .ft R
16 .fi
17 ..
18 .\" Set up some character translations and predefined strings.  \*(-- will
19 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
20 .\" double quote, and \*(R" will give a right double quote.  \*(C+ will
21 .\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
22 .\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
23 .\" nothing in troff, for use with C<>.
24 .tr \(*W-
25 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
26 .ie n \{\
27 .    ds -- \(*W-
28 .    ds PI pi
29 .    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 .    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
31 .    ds L" ""
32 .    ds R" ""
33 .    ds C` ""
34 .    ds C' ""
35 'br\}
36 .el\{\
37 .    ds -- \|\(em\|
38 .    ds PI \(*p
39 .    ds L" ``
40 .    ds R" ''
41 .    ds C`
42 .    ds C'
43 'br\}
44 .\"
45 .\" Escape single quotes in literal strings from groff's Unicode transform.
46 .ie \n(.g .ds Aq \(aq
47 .el       .ds Aq '
48 .\"
49 .\" If the F register is turned on, we'll generate index entries on stderr for
50 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
51 .\" entries marked with X<> in POD.  Of course, you'll have to process the
52 .\" output yourself in some meaningful fashion.
53 .\"
54 .\" Avoid warning from groff about undefined register 'F'.
55 .de IX
56 ..
57 .nr rF 0
58 .if \n(.g .if rF .nr rF 1
59 .if (\n(rF:(\n(.g==0)) \{
60 .    if \nF \{
61 .        de IX
62 .        tm Index:\\$1\t\\n%\t"\\$2"
63 ..
64 .        if !\nF==2 \{
65 .            nr % 0
66 .            nr F 2
67 .        \}
68 .    \}
69 .\}
70 .rr rF
71 .\"
72 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
73 .\" Fear.  Run.  Save yourself.  No user-serviceable parts.
74 .    \" fudge factors for nroff and troff
75 .if n \{\
76 .    ds #H 0
77 .    ds #V .8m
78 .    ds #F .3m
79 .    ds #[ \f1
80 .    ds #] \fP
81 .\}
82 .if t \{\
83 .    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
84 .    ds #V .6m
85 .    ds #F 0
86 .    ds #[ \&
87 .    ds #] \&
88 .\}
89 .    \" simple accents for nroff and troff
90 .if n \{\
91 .    ds ' \&
92 .    ds ` \&
93 .    ds ^ \&
94 .    ds , \&
95 .    ds ~ ~
96 .    ds /
97 .\}
98 .if t \{\
99 .    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
100 .    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
101 .    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
102 .    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
103 .    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
104 .    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
105 .\}
106 .    \" troff and (daisy-wheel) nroff accents
107 .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
108 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
109 .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
110 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
111 .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
112 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
113 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
114 .ds ae a\h'-(\w'a'u*4/10)'e
115 .ds Ae A\h'-(\w'A'u*4/10)'E
116 .    \" corrections for vroff
117 .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
118 .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
119 .    \" for low resolution devices (crt and lpr)
120 .if \n(.H>23 .if \n(.V>19 \
121 \{\
122 .    ds : e
123 .    ds 8 ss
124 .    ds o a
125 .    ds d- d\h'-1'\(ga
126 .    ds D- D\h'-1'\(hy
127 .    ds th \o'bp'
128 .    ds Th \o'LP'
129 .    ds ae ae
130 .    ds Ae AE
131 .\}
132 .rm #[ #] #H #V #F C
133 .\" ========================================================================
134 .\"
135 .IX Title "ssl 3"
136 .TH ssl 3 "2016-01-28" "1.0.1r" "OpenSSL"
137 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
138 .\" way too many mistakes in technical documents.
139 .if n .ad l
140 .nh
141 .SH "NAME"
142 SSL \- OpenSSL SSL/TLS library
143 .SH "SYNOPSIS"
144 .IX Header "SYNOPSIS"
145 .SH "DESCRIPTION"
146 .IX Header "DESCRIPTION"
147 The OpenSSL \fBssl\fR library implements the Secure Sockets Layer (\s-1SSL\s0 v2/v3) and
148 Transport Layer Security (\s-1TLS\s0 v1) protocols. It provides a rich \s-1API\s0 which is
149 documented here.
150 .PP
151 At first the library must be initialized; see
152 \&\fISSL_library_init\fR\|(3).
153 .PP
154 Then an \fB\s-1SSL_CTX\s0\fR object is created as a framework to establish
155 \&\s-1TLS/SSL\s0 enabled connections (see \fISSL_CTX_new\fR\|(3)).
156 Various options regarding certificates, algorithms etc. can be set
157 in this object.
158 .PP
159 When a network connection has been created, it can be assigned to an
160 \&\fB\s-1SSL\s0\fR object. After the \fB\s-1SSL\s0\fR object has been created using
161 \&\fISSL_new\fR\|(3), \fISSL_set_fd\fR\|(3) or
162 \&\fISSL_set_bio\fR\|(3) can be used to associate the network
163 connection with the object.
164 .PP
165 Then the \s-1TLS/SSL\s0 handshake is performed using
166 \&\fISSL_accept\fR\|(3) or \fISSL_connect\fR\|(3)
167 respectively.
168 \&\fISSL_read\fR\|(3) and \fISSL_write\fR\|(3) are used
169 to read and write data on the \s-1TLS/SSL\s0 connection.
170 \&\fISSL_shutdown\fR\|(3) can be used to shut down the
171 \&\s-1TLS/SSL\s0 connection.
172 .SH "DATA STRUCTURES"
173 .IX Header "DATA STRUCTURES"
174 Currently the OpenSSL \fBssl\fR library functions deals with the following data
175 structures:
176 .IP "\fB\s-1SSL_METHOD\s0\fR (\s-1SSL\s0 Method)" 4
177 .IX Item "SSL_METHOD (SSL Method)"
178 That's a dispatch structure describing the internal \fBssl\fR library
179 methods/functions which implement the various protocol versions (SSLv1, SSLv2
180 and TLSv1). It's needed to create an \fB\s-1SSL_CTX\s0\fR.
181 .IP "\fB\s-1SSL_CIPHER\s0\fR (\s-1SSL\s0 Cipher)" 4
182 .IX Item "SSL_CIPHER (SSL Cipher)"
183 This structure holds the algorithm information for a particular cipher which
184 are a core part of the \s-1SSL/TLS\s0 protocol. The available ciphers are configured
185 on a \fB\s-1SSL_CTX\s0\fR basis and the actually used ones are then part of the
186 \&\fB\s-1SSL_SESSION\s0\fR.
187 .IP "\fB\s-1SSL_CTX\s0\fR (\s-1SSL\s0 Context)" 4
188 .IX Item "SSL_CTX (SSL Context)"
189 That's the global context structure which is created by a server or client
190 once per program life-time and which holds mainly default values for the
191 \&\fB\s-1SSL\s0\fR structures which are later created for the connections.
192 .IP "\fB\s-1SSL_SESSION\s0\fR (\s-1SSL\s0 Session)" 4
193 .IX Item "SSL_SESSION (SSL Session)"
194 This is a structure containing the current \s-1TLS/SSL\s0 session details for a
195 connection: \fB\s-1SSL_CIPHER\s0\fRs, client and server certificates, keys, etc.
196 .IP "\fB\s-1SSL\s0\fR (\s-1SSL\s0 Connection)" 4
197 .IX Item "SSL (SSL Connection)"
198 That's the main \s-1SSL/TLS\s0 structure which is created by a server or client per
199 established connection. This actually is the core structure in the \s-1SSL API.\s0
200 Under run-time the application usually deals with this structure which has
201 links to mostly all other structures.
202 .SH "HEADER FILES"
203 .IX Header "HEADER FILES"
204 Currently the OpenSSL \fBssl\fR library provides the following C header files
205 containing the prototypes for the data structures and and functions:
206 .IP "\fBssl.h\fR" 4
207 .IX Item "ssl.h"
208 That's the common header file for the \s-1SSL/TLS API. \s0 Include it into your
209 program to make the \s-1API\s0 of the \fBssl\fR library available. It internally
210 includes both more private \s-1SSL\s0 headers and headers from the \fBcrypto\fR library.
211 Whenever you need hard-core details on the internals of the \s-1SSL API,\s0 look
212 inside this header file.
213 .IP "\fBssl2.h\fR" 4
214 .IX Item "ssl2.h"
215 That's the sub header file dealing with the SSLv2 protocol only.
216 \&\fIUsually you don't have to include it explicitly because
217 it's already included by ssl.h\fR.
218 .IP "\fBssl3.h\fR" 4
219 .IX Item "ssl3.h"
220 That's the sub header file dealing with the SSLv3 protocol only.
221 \&\fIUsually you don't have to include it explicitly because
222 it's already included by ssl.h\fR.
223 .IP "\fBssl23.h\fR" 4
224 .IX Item "ssl23.h"
225 That's the sub header file dealing with the combined use of the SSLv2 and
226 SSLv3 protocols.
227 \&\fIUsually you don't have to include it explicitly because
228 it's already included by ssl.h\fR.
229 .IP "\fBtls1.h\fR" 4
230 .IX Item "tls1.h"
231 That's the sub header file dealing with the TLSv1 protocol only.
232 \&\fIUsually you don't have to include it explicitly because
233 it's already included by ssl.h\fR.
234 .SH "API FUNCTIONS"
235 .IX Header "API FUNCTIONS"
236 Currently the OpenSSL \fBssl\fR library exports 214 \s-1API\s0 functions.
237 They are documented in the following:
238 .SS "\s-1DEALING WITH PROTOCOL METHODS\s0"
239 .IX Subsection "DEALING WITH PROTOCOL METHODS"
240 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
241 protocol methods defined in \fB\s-1SSL_METHOD\s0\fR structures.
242 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv2_client_method\fR(void);" 4
243 .IX Item "const SSL_METHOD *SSLv2_client_method(void);"
244 Constructor for the SSLv2 \s-1SSL_METHOD\s0 structure for a dedicated client.
245 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv2_server_method\fR(void);" 4
246 .IX Item "const SSL_METHOD *SSLv2_server_method(void);"
247 Constructor for the SSLv2 \s-1SSL_METHOD\s0 structure for a dedicated server.
248 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv2_method\fR(void);" 4
249 .IX Item "const SSL_METHOD *SSLv2_method(void);"
250 Constructor for the SSLv2 \s-1SSL_METHOD\s0 structure for combined client and server.
251 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv3_client_method\fR(void);" 4
252 .IX Item "const SSL_METHOD *SSLv3_client_method(void);"
253 Constructor for the SSLv3 \s-1SSL_METHOD\s0 structure for a dedicated client.
254 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv3_server_method\fR(void);" 4
255 .IX Item "const SSL_METHOD *SSLv3_server_method(void);"
256 Constructor for the SSLv3 \s-1SSL_METHOD\s0 structure for a dedicated server.
257 .IP "const \s-1SSL_METHOD\s0 *\fBSSLv3_method\fR(void);" 4
258 .IX Item "const SSL_METHOD *SSLv3_method(void);"
259 Constructor for the SSLv3 \s-1SSL_METHOD\s0 structure for combined client and server.
260 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_client_method\fR(void);" 4
261 .IX Item "const SSL_METHOD *TLSv1_client_method(void);"
262 Constructor for the TLSv1 \s-1SSL_METHOD\s0 structure for a dedicated client.
263 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_server_method\fR(void);" 4
264 .IX Item "const SSL_METHOD *TLSv1_server_method(void);"
265 Constructor for the TLSv1 \s-1SSL_METHOD\s0 structure for a dedicated server.
266 .IP "const \s-1SSL_METHOD\s0 *\fBTLSv1_method\fR(void);" 4
267 .IX Item "const SSL_METHOD *TLSv1_method(void);"
268 Constructor for the TLSv1 \s-1SSL_METHOD\s0 structure for combined client and server.
269 .SS "\s-1DEALING WITH CIPHERS\s0"
270 .IX Subsection "DEALING WITH CIPHERS"
271 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
272 ciphers defined in \fB\s-1SSL_CIPHER\s0\fR structures.
273 .IP "char *\fBSSL_CIPHER_description\fR(\s-1SSL_CIPHER\s0 *cipher, char *buf, int len);" 4
274 .IX Item "char *SSL_CIPHER_description(SSL_CIPHER *cipher, char *buf, int len);"
275 Write a string to \fIbuf\fR (with a maximum size of \fIlen\fR) containing a human
276 readable description of \fIcipher\fR. Returns \fIbuf\fR.
277 .IP "int \fBSSL_CIPHER_get_bits\fR(\s-1SSL_CIPHER\s0 *cipher, int *alg_bits);" 4
278 .IX Item "int SSL_CIPHER_get_bits(SSL_CIPHER *cipher, int *alg_bits);"
279 Determine the number of bits in \fIcipher\fR. Because of export crippled ciphers
280 there are two bits: The bits the algorithm supports in general (stored to
281 \&\fIalg_bits\fR) and the bits which are actually used (the return value).
282 .IP "const char *\fBSSL_CIPHER_get_name\fR(\s-1SSL_CIPHER\s0 *cipher);" 4
283 .IX Item "const char *SSL_CIPHER_get_name(SSL_CIPHER *cipher);"
284 Return the internal name of \fIcipher\fR as a string. These are the various
285 strings defined by the \fISSL2_TXT_xxx\fR, \fISSL3_TXT_xxx\fR and \fITLS1_TXT_xxx\fR
286 definitions in the header files.
287 .IP "char *\fBSSL_CIPHER_get_version\fR(\s-1SSL_CIPHER\s0 *cipher);" 4
288 .IX Item "char *SSL_CIPHER_get_version(SSL_CIPHER *cipher);"
289 Returns a string like "\f(CW\*(C`TLSv1/SSLv3\*(C'\fR\*(L" or \*(R"\f(CW\*(C`SSLv2\*(C'\fR" which indicates the
290 \&\s-1SSL/TLS\s0 protocol version to which \fIcipher\fR belongs (i.e. where it was defined
291 in the specification the first time).
292 .SS "\s-1DEALING WITH PROTOCOL CONTEXTS\s0"
293 .IX Subsection "DEALING WITH PROTOCOL CONTEXTS"
294 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
295 protocol context defined in the \fB\s-1SSL_CTX\s0\fR structure.
296 .IP "int \fBSSL_CTX_add_client_CA\fR(\s-1SSL_CTX\s0 *ctx, X509 *x);" 4
297 .IX Item "int SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x);"
298 .PD 0
299 .IP "long \fBSSL_CTX_add_extra_chain_cert\fR(\s-1SSL_CTX\s0 *ctx, X509 *x509);" 4
300 .IX Item "long SSL_CTX_add_extra_chain_cert(SSL_CTX *ctx, X509 *x509);"
301 .IP "int \fBSSL_CTX_add_session\fR(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESSION\s0 *c);" 4
302 .IX Item "int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *c);"
303 .IP "int \fBSSL_CTX_check_private_key\fR(const \s-1SSL_CTX\s0 *ctx);" 4
304 .IX Item "int SSL_CTX_check_private_key(const SSL_CTX *ctx);"
305 .IP "long \fBSSL_CTX_ctrl\fR(\s-1SSL_CTX\s0 *ctx, int cmd, long larg, char *parg);" 4
306 .IX Item "long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, char *parg);"
307 .IP "void \fBSSL_CTX_flush_sessions\fR(\s-1SSL_CTX\s0 *s, long t);" 4
308 .IX Item "void SSL_CTX_flush_sessions(SSL_CTX *s, long t);"
309 .IP "void \fBSSL_CTX_free\fR(\s-1SSL_CTX\s0 *a);" 4
310 .IX Item "void SSL_CTX_free(SSL_CTX *a);"
311 .IP "char *\fBSSL_CTX_get_app_data\fR(\s-1SSL_CTX\s0 *ctx);" 4
312 .IX Item "char *SSL_CTX_get_app_data(SSL_CTX *ctx);"
313 .IP "X509_STORE *\fBSSL_CTX_get_cert_store\fR(\s-1SSL_CTX\s0 *ctx);" 4
314 .IX Item "X509_STORE *SSL_CTX_get_cert_store(SSL_CTX *ctx);"
315 .IP "\s-1STACK\s0 *\fBSSL_CTX_get_client_CA_list\fR(const \s-1SSL_CTX\s0 *ctx);" 4
316 .IX Item "STACK *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx);"
317 .IP "int (*\fBSSL_CTX_get_client_cert_cb\fR(\s-1SSL_CTX\s0 *ctx))(\s-1SSL\s0 *ssl, X509 **x509, \s-1EVP_PKEY\s0 **pkey);" 4
318 .IX Item "int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey);"
319 .IP "void \fBSSL_CTX_get_default_read_ahead\fR(\s-1SSL_CTX\s0 *ctx);" 4
320 .IX Item "void SSL_CTX_get_default_read_ahead(SSL_CTX *ctx);"
321 .IP "char *\fBSSL_CTX_get_ex_data\fR(const \s-1SSL_CTX\s0 *s, int idx);" 4
322 .IX Item "char *SSL_CTX_get_ex_data(const SSL_CTX *s, int idx);"
323 .IP "int \fBSSL_CTX_get_ex_new_index\fR(long argl, char *argp, int (*new_func);(void), int (*dup_func)(void), void (*free_func)(void))" 4
324 .IX Item "int SSL_CTX_get_ex_new_index(long argl, char *argp, int (*new_func);(void), int (*dup_func)(void), void (*free_func)(void))"
325 .IP "void (*\fBSSL_CTX_get_info_callback\fR(\s-1SSL_CTX\s0 *ctx))(\s-1SSL\s0 *ssl, int cb, int ret);" 4
326 .IX Item "void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(SSL *ssl, int cb, int ret);"
327 .IP "int \fBSSL_CTX_get_quiet_shutdown\fR(const \s-1SSL_CTX\s0 *ctx);" 4
328 .IX Item "int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx);"
329 .IP "void \fBSSL_CTX_get_read_ahead\fR(\s-1SSL_CTX\s0 *ctx);" 4
330 .IX Item "void SSL_CTX_get_read_ahead(SSL_CTX *ctx);"
331 .IP "int \fBSSL_CTX_get_session_cache_mode\fR(\s-1SSL_CTX\s0 *ctx);" 4
332 .IX Item "int SSL_CTX_get_session_cache_mode(SSL_CTX *ctx);"
333 .IP "long \fBSSL_CTX_get_timeout\fR(const \s-1SSL_CTX\s0 *ctx);" 4
334 .IX Item "long SSL_CTX_get_timeout(const SSL_CTX *ctx);"
335 .IP "int (*\fBSSL_CTX_get_verify_callback\fR(const \s-1SSL_CTX\s0 *ctx))(int ok, X509_STORE_CTX *ctx);" 4
336 .IX Item "int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int ok, X509_STORE_CTX *ctx);"
337 .IP "int \fBSSL_CTX_get_verify_mode\fR(\s-1SSL_CTX\s0 *ctx);" 4
338 .IX Item "int SSL_CTX_get_verify_mode(SSL_CTX *ctx);"
339 .IP "int \fBSSL_CTX_load_verify_locations\fR(\s-1SSL_CTX\s0 *ctx, char *CAfile, char *CApath);" 4
340 .IX Item "int SSL_CTX_load_verify_locations(SSL_CTX *ctx, char *CAfile, char *CApath);"
341 .IP "long \fBSSL_CTX_need_tmp_RSA\fR(\s-1SSL_CTX\s0 *ctx);" 4
342 .IX Item "long SSL_CTX_need_tmp_RSA(SSL_CTX *ctx);"
343 .IP "\s-1SSL_CTX\s0 *\fBSSL_CTX_new\fR(const \s-1SSL_METHOD\s0 *meth);" 4
344 .IX Item "SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);"
345 .IP "int \fBSSL_CTX_remove_session\fR(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESSION\s0 *c);" 4
346 .IX Item "int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c);"
347 .IP "int \fBSSL_CTX_sess_accept\fR(\s-1SSL_CTX\s0 *ctx);" 4
348 .IX Item "int SSL_CTX_sess_accept(SSL_CTX *ctx);"
349 .IP "int \fBSSL_CTX_sess_accept_good\fR(\s-1SSL_CTX\s0 *ctx);" 4
350 .IX Item "int SSL_CTX_sess_accept_good(SSL_CTX *ctx);"
351 .IP "int \fBSSL_CTX_sess_accept_renegotiate\fR(\s-1SSL_CTX\s0 *ctx);" 4
352 .IX Item "int SSL_CTX_sess_accept_renegotiate(SSL_CTX *ctx);"
353 .IP "int \fBSSL_CTX_sess_cache_full\fR(\s-1SSL_CTX\s0 *ctx);" 4
354 .IX Item "int SSL_CTX_sess_cache_full(SSL_CTX *ctx);"
355 .IP "int \fBSSL_CTX_sess_cb_hits\fR(\s-1SSL_CTX\s0 *ctx);" 4
356 .IX Item "int SSL_CTX_sess_cb_hits(SSL_CTX *ctx);"
357 .IP "int \fBSSL_CTX_sess_connect\fR(\s-1SSL_CTX\s0 *ctx);" 4
358 .IX Item "int SSL_CTX_sess_connect(SSL_CTX *ctx);"
359 .IP "int \fBSSL_CTX_sess_connect_good\fR(\s-1SSL_CTX\s0 *ctx);" 4
360 .IX Item "int SSL_CTX_sess_connect_good(SSL_CTX *ctx);"
361 .IP "int \fBSSL_CTX_sess_connect_renegotiate\fR(\s-1SSL_CTX\s0 *ctx);" 4
362 .IX Item "int SSL_CTX_sess_connect_renegotiate(SSL_CTX *ctx);"
363 .IP "int \fBSSL_CTX_sess_get_cache_size\fR(\s-1SSL_CTX\s0 *ctx);" 4
364 .IX Item "int SSL_CTX_sess_get_cache_size(SSL_CTX *ctx);"
365 .IP "\s-1SSL_SESSION\s0 *(*\fBSSL_CTX_sess_get_get_cb\fR(\s-1SSL_CTX\s0 *ctx))(\s-1SSL\s0 *ssl, unsigned char *data, int len, int *copy);" 4
366 .IX Item "SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(SSL *ssl, unsigned char *data, int len, int *copy);"
367 .IP "int (*\fBSSL_CTX_sess_get_new_cb\fR(\s-1SSL_CTX\s0 *ctx)(\s-1SSL\s0 *ssl, \s-1SSL_SESSION\s0 *sess);" 4
368 .IX Item "int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx)(SSL *ssl, SSL_SESSION *sess);"
369 .IP "void (*\fBSSL_CTX_sess_get_remove_cb\fR(\s-1SSL_CTX\s0 *ctx)(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESSION\s0 *sess);" 4
370 .IX Item "void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx)(SSL_CTX *ctx, SSL_SESSION *sess);"
371 .IP "int \fBSSL_CTX_sess_hits\fR(\s-1SSL_CTX\s0 *ctx);" 4
372 .IX Item "int SSL_CTX_sess_hits(SSL_CTX *ctx);"
373 .IP "int \fBSSL_CTX_sess_misses\fR(\s-1SSL_CTX\s0 *ctx);" 4
374 .IX Item "int SSL_CTX_sess_misses(SSL_CTX *ctx);"
375 .IP "int \fBSSL_CTX_sess_number\fR(\s-1SSL_CTX\s0 *ctx);" 4
376 .IX Item "int SSL_CTX_sess_number(SSL_CTX *ctx);"
377 .IP "void \fBSSL_CTX_sess_set_cache_size\fR(\s-1SSL_CTX\s0 *ctx,t);" 4
378 .IX Item "void SSL_CTX_sess_set_cache_size(SSL_CTX *ctx,t);"
379 .IP "void \fBSSL_CTX_sess_set_get_cb\fR(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESSION\s0 *(*cb)(\s-1SSL\s0 *ssl, unsigned char *data, int len, int *copy));" 4
380 .IX Item "void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx, SSL_SESSION *(*cb)(SSL *ssl, unsigned char *data, int len, int *copy));"
381 .IP "void \fBSSL_CTX_sess_set_new_cb\fR(\s-1SSL_CTX\s0 *ctx, int (*cb)(\s-1SSL\s0 *ssl, \s-1SSL_SESSION\s0 *sess));" 4
382 .IX Item "void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*cb)(SSL *ssl, SSL_SESSION *sess));"
383 .IP "void \fBSSL_CTX_sess_set_remove_cb\fR(\s-1SSL_CTX\s0 *ctx, void (*cb)(\s-1SSL_CTX\s0 *ctx, \s-1SSL_SESSION\s0 *sess));" 4
384 .IX Item "void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx, void (*cb)(SSL_CTX *ctx, SSL_SESSION *sess));"
385 .IP "int \fBSSL_CTX_sess_timeouts\fR(\s-1SSL_CTX\s0 *ctx);" 4
386 .IX Item "int SSL_CTX_sess_timeouts(SSL_CTX *ctx);"
387 .IP "\s-1LHASH\s0 *\fBSSL_CTX_sessions\fR(\s-1SSL_CTX\s0 *ctx);" 4
388 .IX Item "LHASH *SSL_CTX_sessions(SSL_CTX *ctx);"
389 .IP "void \fBSSL_CTX_set_app_data\fR(\s-1SSL_CTX\s0 *ctx, void *arg);" 4
390 .IX Item "void SSL_CTX_set_app_data(SSL_CTX *ctx, void *arg);"
391 .IP "void \fBSSL_CTX_set_cert_store\fR(\s-1SSL_CTX\s0 *ctx, X509_STORE *cs);" 4
392 .IX Item "void SSL_CTX_set_cert_store(SSL_CTX *ctx, X509_STORE *cs);"
393 .IP "void \fBSSL_CTX_set_cert_verify_cb\fR(\s-1SSL_CTX\s0 *ctx, int (*cb)(), char *arg)" 4
394 .IX Item "void SSL_CTX_set_cert_verify_cb(SSL_CTX *ctx, int (*cb)(), char *arg)"
395 .IP "int \fBSSL_CTX_set_cipher_list\fR(\s-1SSL_CTX\s0 *ctx, char *str);" 4
396 .IX Item "int SSL_CTX_set_cipher_list(SSL_CTX *ctx, char *str);"
397 .IP "void \fBSSL_CTX_set_client_CA_list\fR(\s-1SSL_CTX\s0 *ctx, \s-1STACK\s0 *list);" 4
398 .IX Item "void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK *list);"
399 .IP "void \fBSSL_CTX_set_client_cert_cb\fR(\s-1SSL_CTX\s0 *ctx, int (*cb)(\s-1SSL\s0 *ssl, X509 **x509, \s-1EVP_PKEY\s0 **pkey));" 4
400 .IX Item "void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, int (*cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey));"
401 .IP "void \fBSSL_CTX_set_default_passwd_cb\fR(\s-1SSL_CTX\s0 *ctx, int (*cb);(void))" 4
402 .IX Item "void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, int (*cb);(void))"
403 .IP "void \fBSSL_CTX_set_default_read_ahead\fR(\s-1SSL_CTX\s0 *ctx, int m);" 4
404 .IX Item "void SSL_CTX_set_default_read_ahead(SSL_CTX *ctx, int m);"
405 .IP "int \fBSSL_CTX_set_default_verify_paths\fR(\s-1SSL_CTX\s0 *ctx);" 4
406 .IX Item "int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx);"
407 .IP "int \fBSSL_CTX_set_ex_data\fR(\s-1SSL_CTX\s0 *s, int idx, char *arg);" 4
408 .IX Item "int SSL_CTX_set_ex_data(SSL_CTX *s, int idx, char *arg);"
409 .IP "void \fBSSL_CTX_set_info_callback\fR(\s-1SSL_CTX\s0 *ctx, void (*cb)(\s-1SSL\s0 *ssl, int cb, int ret));" 4
410 .IX Item "void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(SSL *ssl, int cb, int ret));"
411 .IP "void \fBSSL_CTX_set_msg_callback\fR(\s-1SSL_CTX\s0 *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, \s-1SSL\s0 *ssl, void *arg));" 4
412 .IX Item "void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg));"
413 .IP "void \fBSSL_CTX_set_msg_callback_arg\fR(\s-1SSL_CTX\s0 *ctx, void *arg);" 4
414 .IX Item "void SSL_CTX_set_msg_callback_arg(SSL_CTX *ctx, void *arg);"
415 .IP "void \fBSSL_CTX_set_options\fR(\s-1SSL_CTX\s0 *ctx, unsigned long op);" 4
416 .IX Item "void SSL_CTX_set_options(SSL_CTX *ctx, unsigned long op);"
417 .IP "void \fBSSL_CTX_set_quiet_shutdown\fR(\s-1SSL_CTX\s0 *ctx, int mode);" 4
418 .IX Item "void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx, int mode);"
419 .IP "void \fBSSL_CTX_set_read_ahead\fR(\s-1SSL_CTX\s0 *ctx, int m);" 4
420 .IX Item "void SSL_CTX_set_read_ahead(SSL_CTX *ctx, int m);"
421 .IP "void \fBSSL_CTX_set_session_cache_mode\fR(\s-1SSL_CTX\s0 *ctx, int mode);" 4
422 .IX Item "void SSL_CTX_set_session_cache_mode(SSL_CTX *ctx, int mode);"
423 .IP "int \fBSSL_CTX_set_ssl_version\fR(\s-1SSL_CTX\s0 *ctx, const \s-1SSL_METHOD\s0 *meth);" 4
424 .IX Item "int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);"
425 .IP "void \fBSSL_CTX_set_timeout\fR(\s-1SSL_CTX\s0 *ctx, long t);" 4
426 .IX Item "void SSL_CTX_set_timeout(SSL_CTX *ctx, long t);"
427 .IP "long \fBSSL_CTX_set_tmp_dh\fR(SSL_CTX* ctx, \s-1DH\s0 *dh);" 4
428 .IX Item "long SSL_CTX_set_tmp_dh(SSL_CTX* ctx, DH *dh);"
429 .IP "long \fBSSL_CTX_set_tmp_dh_callback\fR(\s-1SSL_CTX\s0 *ctx, \s-1DH\s0 *(*cb)(void));" 4
430 .IX Item "long SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, DH *(*cb)(void));"
431 .IP "long \fBSSL_CTX_set_tmp_rsa\fR(\s-1SSL_CTX\s0 *ctx, \s-1RSA\s0 *rsa);" 4
432 .IX Item "long SSL_CTX_set_tmp_rsa(SSL_CTX *ctx, RSA *rsa);"
433 .IP "SSL_CTX_set_tmp_rsa_callback" 4
434 .IX Item "SSL_CTX_set_tmp_rsa_callback"
435 .PD
436 \&\f(CW\*(C`long \f(CBSSL_CTX_set_tmp_rsa_callback\f(CW(SSL_CTX *\f(CBctx\f(CW, RSA *(*\f(CBcb\f(CW)(SSL *\f(CBssl\f(CW, int \f(CBexport\f(CW, int \f(CBkeylength\f(CW));\*(C'\fR
437 .Sp
438 Sets the callback which will be called when a temporary private key is
439 required. The \fB\f(CB\*(C`export\*(C'\fB\fR flag will be set if the reason for needing
440 a temp key is that an export ciphersuite is in use, in which case,
441 \&\fB\f(CB\*(C`keylength\*(C'\fB\fR will contain the required keylength in bits. Generate a key of
442 appropriate size (using ???) and return it.
443 .IP "SSL_set_tmp_rsa_callback" 4
444 .IX Item "SSL_set_tmp_rsa_callback"
445 long \fBSSL_set_tmp_rsa_callback\fR(\s-1SSL\s0 *ssl, \s-1RSA\s0 *(*cb)(\s-1SSL\s0 *ssl, int export, int keylength));
446 .Sp
447 The same as \fBSSL_CTX_set_tmp_rsa_callback\fR, except it operates on an \s-1SSL\s0
448 session instead of a context.
449 .IP "void \fBSSL_CTX_set_verify\fR(\s-1SSL_CTX\s0 *ctx, int mode, int (*cb);(void))" 4
450 .IX Item "void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, int (*cb);(void))"
451 .PD 0
452 .IP "int \fBSSL_CTX_use_PrivateKey\fR(\s-1SSL_CTX\s0 *ctx, \s-1EVP_PKEY\s0 *pkey);" 4
453 .IX Item "int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);"
454 .IP "int \fBSSL_CTX_use_PrivateKey_ASN1\fR(int type, \s-1SSL_CTX\s0 *ctx, unsigned char *d, long len);" 4
455 .IX Item "int SSL_CTX_use_PrivateKey_ASN1(int type, SSL_CTX *ctx, unsigned char *d, long len);"
456 .IP "int \fBSSL_CTX_use_PrivateKey_file\fR(\s-1SSL_CTX\s0 *ctx, char *file, int type);" 4
457 .IX Item "int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, char *file, int type);"
458 .IP "int \fBSSL_CTX_use_RSAPrivateKey\fR(\s-1SSL_CTX\s0 *ctx, \s-1RSA\s0 *rsa);" 4
459 .IX Item "int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa);"
460 .IP "int \fBSSL_CTX_use_RSAPrivateKey_ASN1\fR(\s-1SSL_CTX\s0 *ctx, unsigned char *d, long len);" 4
461 .IX Item "int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, unsigned char *d, long len);"
462 .IP "int \fBSSL_CTX_use_RSAPrivateKey_file\fR(\s-1SSL_CTX\s0 *ctx, char *file, int type);" 4
463 .IX Item "int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, char *file, int type);"
464 .IP "int \fBSSL_CTX_use_certificate\fR(\s-1SSL_CTX\s0 *ctx, X509 *x);" 4
465 .IX Item "int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);"
466 .IP "int \fBSSL_CTX_use_certificate_ASN1\fR(\s-1SSL_CTX\s0 *ctx, int len, unsigned char *d);" 4
467 .IX Item "int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, unsigned char *d);"
468 .IP "int \fBSSL_CTX_use_certificate_file\fR(\s-1SSL_CTX\s0 *ctx, char *file, int type);" 4
469 .IX Item "int SSL_CTX_use_certificate_file(SSL_CTX *ctx, char *file, int type);"
470 .IP "void \fBSSL_CTX_set_psk_client_callback\fR(\s-1SSL_CTX\s0 *ctx, unsigned int (*callback)(\s-1SSL\s0 *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len));" 4
471 .IX Item "void SSL_CTX_set_psk_client_callback(SSL_CTX *ctx, unsigned int (*callback)(SSL *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len));"
472 .IP "int \fBSSL_CTX_use_psk_identity_hint\fR(\s-1SSL_CTX\s0 *ctx, const char *hint);" 4
473 .IX Item "int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *hint);"
474 .IP "void \fBSSL_CTX_set_psk_server_callback\fR(\s-1SSL_CTX\s0 *ctx, unsigned int (*callback)(\s-1SSL\s0 *ssl, const char *identity, unsigned char *psk, int max_psk_len));" 4
475 .IX Item "void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx, unsigned int (*callback)(SSL *ssl, const char *identity, unsigned char *psk, int max_psk_len));"
476 .PD
477 .SS "\s-1DEALING WITH SESSIONS\s0"
478 .IX Subsection "DEALING WITH SESSIONS"
479 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
480 sessions defined in the \fB\s-1SSL_SESSION\s0\fR structures.
481 .IP "int \fBSSL_SESSION_cmp\fR(const \s-1SSL_SESSION\s0 *a, const \s-1SSL_SESSION\s0 *b);" 4
482 .IX Item "int SSL_SESSION_cmp(const SSL_SESSION *a, const SSL_SESSION *b);"
483 .PD 0
484 .IP "void \fBSSL_SESSION_free\fR(\s-1SSL_SESSION\s0 *ss);" 4
485 .IX Item "void SSL_SESSION_free(SSL_SESSION *ss);"
486 .IP "char *\fBSSL_SESSION_get_app_data\fR(\s-1SSL_SESSION\s0 *s);" 4
487 .IX Item "char *SSL_SESSION_get_app_data(SSL_SESSION *s);"
488 .IP "char *\fBSSL_SESSION_get_ex_data\fR(const \s-1SSL_SESSION\s0 *s, int idx);" 4
489 .IX Item "char *SSL_SESSION_get_ex_data(const SSL_SESSION *s, int idx);"
490 .IP "int \fBSSL_SESSION_get_ex_new_index\fR(long argl, char *argp, int (*new_func);(void), int (*dup_func)(void), void (*free_func)(void))" 4
491 .IX Item "int SSL_SESSION_get_ex_new_index(long argl, char *argp, int (*new_func);(void), int (*dup_func)(void), void (*free_func)(void))"
492 .IP "long \fBSSL_SESSION_get_time\fR(const \s-1SSL_SESSION\s0 *s);" 4
493 .IX Item "long SSL_SESSION_get_time(const SSL_SESSION *s);"
494 .IP "long \fBSSL_SESSION_get_timeout\fR(const \s-1SSL_SESSION\s0 *s);" 4
495 .IX Item "long SSL_SESSION_get_timeout(const SSL_SESSION *s);"
496 .IP "unsigned long \fBSSL_SESSION_hash\fR(const \s-1SSL_SESSION\s0 *a);" 4
497 .IX Item "unsigned long SSL_SESSION_hash(const SSL_SESSION *a);"
498 .IP "\s-1SSL_SESSION\s0 *\fBSSL_SESSION_new\fR(void);" 4
499 .IX Item "SSL_SESSION *SSL_SESSION_new(void);"
500 .IP "int \fBSSL_SESSION_print\fR(\s-1BIO\s0 *bp, const \s-1SSL_SESSION\s0 *x);" 4
501 .IX Item "int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x);"
502 .IP "int \fBSSL_SESSION_print_fp\fR(\s-1FILE\s0 *fp, const \s-1SSL_SESSION\s0 *x);" 4
503 .IX Item "int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *x);"
504 .IP "void \fBSSL_SESSION_set_app_data\fR(\s-1SSL_SESSION\s0 *s, char *a);" 4
505 .IX Item "void SSL_SESSION_set_app_data(SSL_SESSION *s, char *a);"
506 .IP "int \fBSSL_SESSION_set_ex_data\fR(\s-1SSL_SESSION\s0 *s, int idx, char *arg);" 4
507 .IX Item "int SSL_SESSION_set_ex_data(SSL_SESSION *s, int idx, char *arg);"
508 .IP "long \fBSSL_SESSION_set_time\fR(\s-1SSL_SESSION\s0 *s, long t);" 4
509 .IX Item "long SSL_SESSION_set_time(SSL_SESSION *s, long t);"
510 .IP "long \fBSSL_SESSION_set_timeout\fR(\s-1SSL_SESSION\s0 *s, long t);" 4
511 .IX Item "long SSL_SESSION_set_timeout(SSL_SESSION *s, long t);"
512 .PD
513 .SS "\s-1DEALING WITH CONNECTIONS\s0"
514 .IX Subsection "DEALING WITH CONNECTIONS"
515 Here we document the various \s-1API\s0 functions which deal with the \s-1SSL/TLS\s0
516 connection defined in the \fB\s-1SSL\s0\fR structure.
517 .IP "int \fBSSL_accept\fR(\s-1SSL\s0 *ssl);" 4
518 .IX Item "int SSL_accept(SSL *ssl);"
519 .PD 0
520 .IP "int \fBSSL_add_dir_cert_subjects_to_stack\fR(\s-1STACK\s0 *stack, const char *dir);" 4
521 .IX Item "int SSL_add_dir_cert_subjects_to_stack(STACK *stack, const char *dir);"
522 .IP "int \fBSSL_add_file_cert_subjects_to_stack\fR(\s-1STACK\s0 *stack, const char *file);" 4
523 .IX Item "int SSL_add_file_cert_subjects_to_stack(STACK *stack, const char *file);"
524 .IP "int \fBSSL_add_client_CA\fR(\s-1SSL\s0 *ssl, X509 *x);" 4
525 .IX Item "int SSL_add_client_CA(SSL *ssl, X509 *x);"
526 .IP "char *\fBSSL_alert_desc_string\fR(int value);" 4
527 .IX Item "char *SSL_alert_desc_string(int value);"
528 .IP "char *\fBSSL_alert_desc_string_long\fR(int value);" 4
529 .IX Item "char *SSL_alert_desc_string_long(int value);"
530 .IP "char *\fBSSL_alert_type_string\fR(int value);" 4
531 .IX Item "char *SSL_alert_type_string(int value);"
532 .IP "char *\fBSSL_alert_type_string_long\fR(int value);" 4
533 .IX Item "char *SSL_alert_type_string_long(int value);"
534 .IP "int \fBSSL_check_private_key\fR(const \s-1SSL\s0 *ssl);" 4
535 .IX Item "int SSL_check_private_key(const SSL *ssl);"
536 .IP "void \fBSSL_clear\fR(\s-1SSL\s0 *ssl);" 4
537 .IX Item "void SSL_clear(SSL *ssl);"
538 .IP "long \fBSSL_clear_num_renegotiations\fR(\s-1SSL\s0 *ssl);" 4
539 .IX Item "long SSL_clear_num_renegotiations(SSL *ssl);"
540 .IP "int \fBSSL_connect\fR(\s-1SSL\s0 *ssl);" 4
541 .IX Item "int SSL_connect(SSL *ssl);"
542 .IP "void \fBSSL_copy_session_id\fR(\s-1SSL\s0 *t, const \s-1SSL\s0 *f);" 4
543 .IX Item "void SSL_copy_session_id(SSL *t, const SSL *f);"
544 .IP "long \fBSSL_ctrl\fR(\s-1SSL\s0 *ssl, int cmd, long larg, char *parg);" 4
545 .IX Item "long SSL_ctrl(SSL *ssl, int cmd, long larg, char *parg);"
546 .IP "int \fBSSL_do_handshake\fR(\s-1SSL\s0 *ssl);" 4
547 .IX Item "int SSL_do_handshake(SSL *ssl);"
548 .IP "\s-1SSL\s0 *\fBSSL_dup\fR(\s-1SSL\s0 *ssl);" 4
549 .IX Item "SSL *SSL_dup(SSL *ssl);"
550 .IP "\s-1STACK\s0 *\fBSSL_dup_CA_list\fR(\s-1STACK\s0 *sk);" 4
551 .IX Item "STACK *SSL_dup_CA_list(STACK *sk);"
552 .IP "void \fBSSL_free\fR(\s-1SSL\s0 *ssl);" 4
553 .IX Item "void SSL_free(SSL *ssl);"
554 .IP "\s-1SSL_CTX\s0 *\fBSSL_get_SSL_CTX\fR(const \s-1SSL\s0 *ssl);" 4
555 .IX Item "SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);"
556 .IP "char *\fBSSL_get_app_data\fR(\s-1SSL\s0 *ssl);" 4
557 .IX Item "char *SSL_get_app_data(SSL *ssl);"
558 .IP "X509 *\fBSSL_get_certificate\fR(const \s-1SSL\s0 *ssl);" 4
559 .IX Item "X509 *SSL_get_certificate(const SSL *ssl);"
560 .IP "const char *\fBSSL_get_cipher\fR(const \s-1SSL\s0 *ssl);" 4
561 .IX Item "const char *SSL_get_cipher(const SSL *ssl);"
562 .IP "int \fBSSL_get_cipher_bits\fR(const \s-1SSL\s0 *ssl, int *alg_bits);" 4
563 .IX Item "int SSL_get_cipher_bits(const SSL *ssl, int *alg_bits);"
564 .IP "char *\fBSSL_get_cipher_list\fR(const \s-1SSL\s0 *ssl, int n);" 4
565 .IX Item "char *SSL_get_cipher_list(const SSL *ssl, int n);"
566 .IP "char *\fBSSL_get_cipher_name\fR(const \s-1SSL\s0 *ssl);" 4
567 .IX Item "char *SSL_get_cipher_name(const SSL *ssl);"
568 .IP "char *\fBSSL_get_cipher_version\fR(const \s-1SSL\s0 *ssl);" 4
569 .IX Item "char *SSL_get_cipher_version(const SSL *ssl);"
570 .IP "\s-1STACK\s0 *\fBSSL_get_ciphers\fR(const \s-1SSL\s0 *ssl);" 4
571 .IX Item "STACK *SSL_get_ciphers(const SSL *ssl);"
572 .IP "\s-1STACK\s0 *\fBSSL_get_client_CA_list\fR(const \s-1SSL\s0 *ssl);" 4
573 .IX Item "STACK *SSL_get_client_CA_list(const SSL *ssl);"
574 .IP "\s-1SSL_CIPHER\s0 *\fBSSL_get_current_cipher\fR(\s-1SSL\s0 *ssl);" 4
575 .IX Item "SSL_CIPHER *SSL_get_current_cipher(SSL *ssl);"
576 .IP "long \fBSSL_get_default_timeout\fR(const \s-1SSL\s0 *ssl);" 4
577 .IX Item "long SSL_get_default_timeout(const SSL *ssl);"
578 .IP "int \fBSSL_get_error\fR(const \s-1SSL\s0 *ssl, int i);" 4
579 .IX Item "int SSL_get_error(const SSL *ssl, int i);"
580 .IP "char *\fBSSL_get_ex_data\fR(const \s-1SSL\s0 *ssl, int idx);" 4
581 .IX Item "char *SSL_get_ex_data(const SSL *ssl, int idx);"
582 .IP "int \fBSSL_get_ex_data_X509_STORE_CTX_idx\fR(void);" 4
583 .IX Item "int SSL_get_ex_data_X509_STORE_CTX_idx(void);"
584 .IP "int \fBSSL_get_ex_new_index\fR(long argl, char *argp, int (*new_func);(void), int (*dup_func)(void), void (*free_func)(void))" 4
585 .IX Item "int SSL_get_ex_new_index(long argl, char *argp, int (*new_func);(void), int (*dup_func)(void), void (*free_func)(void))"
586 .IP "int \fBSSL_get_fd\fR(const \s-1SSL\s0 *ssl);" 4
587 .IX Item "int SSL_get_fd(const SSL *ssl);"
588 .IP "void (*\fBSSL_get_info_callback\fR(const \s-1SSL\s0 *ssl);)()" 4
589 .IX Item "void (*SSL_get_info_callback(const SSL *ssl);)()"
590 .IP "\s-1STACK\s0 *\fBSSL_get_peer_cert_chain\fR(const \s-1SSL\s0 *ssl);" 4
591 .IX Item "STACK *SSL_get_peer_cert_chain(const SSL *ssl);"
592 .IP "X509 *\fBSSL_get_peer_certificate\fR(const \s-1SSL\s0 *ssl);" 4
593 .IX Item "X509 *SSL_get_peer_certificate(const SSL *ssl);"
594 .IP "\s-1EVP_PKEY\s0 *\fBSSL_get_privatekey\fR(\s-1SSL\s0 *ssl);" 4
595 .IX Item "EVP_PKEY *SSL_get_privatekey(SSL *ssl);"
596 .IP "int \fBSSL_get_quiet_shutdown\fR(const \s-1SSL\s0 *ssl);" 4
597 .IX Item "int SSL_get_quiet_shutdown(const SSL *ssl);"
598 .IP "\s-1BIO\s0 *\fBSSL_get_rbio\fR(const \s-1SSL\s0 *ssl);" 4
599 .IX Item "BIO *SSL_get_rbio(const SSL *ssl);"
600 .IP "int \fBSSL_get_read_ahead\fR(const \s-1SSL\s0 *ssl);" 4
601 .IX Item "int SSL_get_read_ahead(const SSL *ssl);"
602 .IP "\s-1SSL_SESSION\s0 *\fBSSL_get_session\fR(const \s-1SSL\s0 *ssl);" 4
603 .IX Item "SSL_SESSION *SSL_get_session(const SSL *ssl);"
604 .IP "char *\fBSSL_get_shared_ciphers\fR(const \s-1SSL\s0 *ssl, char *buf, int len);" 4
605 .IX Item "char *SSL_get_shared_ciphers(const SSL *ssl, char *buf, int len);"
606 .IP "int \fBSSL_get_shutdown\fR(const \s-1SSL\s0 *ssl);" 4
607 .IX Item "int SSL_get_shutdown(const SSL *ssl);"
608 .IP "const \s-1SSL_METHOD\s0 *\fBSSL_get_ssl_method\fR(\s-1SSL\s0 *ssl);" 4
609 .IX Item "const SSL_METHOD *SSL_get_ssl_method(SSL *ssl);"
610 .IP "int \fBSSL_get_state\fR(const \s-1SSL\s0 *ssl);" 4
611 .IX Item "int SSL_get_state(const SSL *ssl);"
612 .IP "long \fBSSL_get_time\fR(const \s-1SSL\s0 *ssl);" 4
613 .IX Item "long SSL_get_time(const SSL *ssl);"
614 .IP "long \fBSSL_get_timeout\fR(const \s-1SSL\s0 *ssl);" 4
615 .IX Item "long SSL_get_timeout(const SSL *ssl);"
616 .IP "int (*\fBSSL_get_verify_callback\fR(const \s-1SSL\s0 *ssl))(int,X509_STORE_CTX *)" 4
617 .IX Item "int (*SSL_get_verify_callback(const SSL *ssl))(int,X509_STORE_CTX *)"
618 .IP "int \fBSSL_get_verify_mode\fR(const \s-1SSL\s0 *ssl);" 4
619 .IX Item "int SSL_get_verify_mode(const SSL *ssl);"
620 .IP "long \fBSSL_get_verify_result\fR(const \s-1SSL\s0 *ssl);" 4
621 .IX Item "long SSL_get_verify_result(const SSL *ssl);"
622 .IP "char *\fBSSL_get_version\fR(const \s-1SSL\s0 *ssl);" 4
623 .IX Item "char *SSL_get_version(const SSL *ssl);"
624 .IP "\s-1BIO\s0 *\fBSSL_get_wbio\fR(const \s-1SSL\s0 *ssl);" 4
625 .IX Item "BIO *SSL_get_wbio(const SSL *ssl);"
626 .IP "int \fBSSL_in_accept_init\fR(\s-1SSL\s0 *ssl);" 4
627 .IX Item "int SSL_in_accept_init(SSL *ssl);"
628 .IP "int \fBSSL_in_before\fR(\s-1SSL\s0 *ssl);" 4
629 .IX Item "int SSL_in_before(SSL *ssl);"
630 .IP "int \fBSSL_in_connect_init\fR(\s-1SSL\s0 *ssl);" 4
631 .IX Item "int SSL_in_connect_init(SSL *ssl);"
632 .IP "int \fBSSL_in_init\fR(\s-1SSL\s0 *ssl);" 4
633 .IX Item "int SSL_in_init(SSL *ssl);"
634 .IP "int \fBSSL_is_init_finished\fR(\s-1SSL\s0 *ssl);" 4
635 .IX Item "int SSL_is_init_finished(SSL *ssl);"
636 .IP "\s-1STACK\s0 *\fBSSL_load_client_CA_file\fR(char *file);" 4
637 .IX Item "STACK *SSL_load_client_CA_file(char *file);"
638 .IP "void \fBSSL_load_error_strings\fR(void);" 4
639 .IX Item "void SSL_load_error_strings(void);"
640 .IP "\s-1SSL\s0 *\fBSSL_new\fR(\s-1SSL_CTX\s0 *ctx);" 4
641 .IX Item "SSL *SSL_new(SSL_CTX *ctx);"
642 .IP "long \fBSSL_num_renegotiations\fR(\s-1SSL\s0 *ssl);" 4
643 .IX Item "long SSL_num_renegotiations(SSL *ssl);"
644 .IP "int \fBSSL_peek\fR(\s-1SSL\s0 *ssl, void *buf, int num);" 4
645 .IX Item "int SSL_peek(SSL *ssl, void *buf, int num);"
646 .IP "int \fBSSL_pending\fR(const \s-1SSL\s0 *ssl);" 4
647 .IX Item "int SSL_pending(const SSL *ssl);"
648 .IP "int \fBSSL_read\fR(\s-1SSL\s0 *ssl, void *buf, int num);" 4
649 .IX Item "int SSL_read(SSL *ssl, void *buf, int num);"
650 .IP "int \fBSSL_renegotiate\fR(\s-1SSL\s0 *ssl);" 4
651 .IX Item "int SSL_renegotiate(SSL *ssl);"
652 .IP "char *\fBSSL_rstate_string\fR(\s-1SSL\s0 *ssl);" 4
653 .IX Item "char *SSL_rstate_string(SSL *ssl);"
654 .IP "char *\fBSSL_rstate_string_long\fR(\s-1SSL\s0 *ssl);" 4
655 .IX Item "char *SSL_rstate_string_long(SSL *ssl);"
656 .IP "long \fBSSL_session_reused\fR(\s-1SSL\s0 *ssl);" 4
657 .IX Item "long SSL_session_reused(SSL *ssl);"
658 .IP "void \fBSSL_set_accept_state\fR(\s-1SSL\s0 *ssl);" 4
659 .IX Item "void SSL_set_accept_state(SSL *ssl);"
660 .IP "void \fBSSL_set_app_data\fR(\s-1SSL\s0 *ssl, char *arg);" 4
661 .IX Item "void SSL_set_app_data(SSL *ssl, char *arg);"
662 .IP "void \fBSSL_set_bio\fR(\s-1SSL\s0 *ssl, \s-1BIO\s0 *rbio, \s-1BIO\s0 *wbio);" 4
663 .IX Item "void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio);"
664 .IP "int \fBSSL_set_cipher_list\fR(\s-1SSL\s0 *ssl, char *str);" 4
665 .IX Item "int SSL_set_cipher_list(SSL *ssl, char *str);"
666 .IP "void \fBSSL_set_client_CA_list\fR(\s-1SSL\s0 *ssl, \s-1STACK\s0 *list);" 4
667 .IX Item "void SSL_set_client_CA_list(SSL *ssl, STACK *list);"
668 .IP "void \fBSSL_set_connect_state\fR(\s-1SSL\s0 *ssl);" 4
669 .IX Item "void SSL_set_connect_state(SSL *ssl);"
670 .IP "int \fBSSL_set_ex_data\fR(\s-1SSL\s0 *ssl, int idx, char *arg);" 4
671 .IX Item "int SSL_set_ex_data(SSL *ssl, int idx, char *arg);"
672 .IP "int \fBSSL_set_fd\fR(\s-1SSL\s0 *ssl, int fd);" 4
673 .IX Item "int SSL_set_fd(SSL *ssl, int fd);"
674 .IP "void \fBSSL_set_info_callback\fR(\s-1SSL\s0 *ssl, void (*cb);(void))" 4
675 .IX Item "void SSL_set_info_callback(SSL *ssl, void (*cb);(void))"
676 .IP "void \fBSSL_set_msg_callback\fR(\s-1SSL\s0 *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, \s-1SSL\s0 *ssl, void *arg));" 4
677 .IX Item "void SSL_set_msg_callback(SSL *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg));"
678 .IP "void \fBSSL_set_msg_callback_arg\fR(\s-1SSL\s0 *ctx, void *arg);" 4
679 .IX Item "void SSL_set_msg_callback_arg(SSL *ctx, void *arg);"
680 .IP "void \fBSSL_set_options\fR(\s-1SSL\s0 *ssl, unsigned long op);" 4
681 .IX Item "void SSL_set_options(SSL *ssl, unsigned long op);"
682 .IP "void \fBSSL_set_quiet_shutdown\fR(\s-1SSL\s0 *ssl, int mode);" 4
683 .IX Item "void SSL_set_quiet_shutdown(SSL *ssl, int mode);"
684 .IP "void \fBSSL_set_read_ahead\fR(\s-1SSL\s0 *ssl, int yes);" 4
685 .IX Item "void SSL_set_read_ahead(SSL *ssl, int yes);"
686 .IP "int \fBSSL_set_rfd\fR(\s-1SSL\s0 *ssl, int fd);" 4
687 .IX Item "int SSL_set_rfd(SSL *ssl, int fd);"
688 .IP "int \fBSSL_set_session\fR(\s-1SSL\s0 *ssl, \s-1SSL_SESSION\s0 *session);" 4
689 .IX Item "int SSL_set_session(SSL *ssl, SSL_SESSION *session);"
690 .IP "void \fBSSL_set_shutdown\fR(\s-1SSL\s0 *ssl, int mode);" 4
691 .IX Item "void SSL_set_shutdown(SSL *ssl, int mode);"
692 .IP "int \fBSSL_set_ssl_method\fR(\s-1SSL\s0 *ssl, const \s-1SSL_METHOD\s0 *meth);" 4
693 .IX Item "int SSL_set_ssl_method(SSL *ssl, const SSL_METHOD *meth);"
694 .IP "void \fBSSL_set_time\fR(\s-1SSL\s0 *ssl, long t);" 4
695 .IX Item "void SSL_set_time(SSL *ssl, long t);"
696 .IP "void \fBSSL_set_timeout\fR(\s-1SSL\s0 *ssl, long t);" 4
697 .IX Item "void SSL_set_timeout(SSL *ssl, long t);"
698 .IP "void \fBSSL_set_verify\fR(\s-1SSL\s0 *ssl, int mode, int (*callback);(void))" 4
699 .IX Item "void SSL_set_verify(SSL *ssl, int mode, int (*callback);(void))"
700 .IP "void \fBSSL_set_verify_result\fR(\s-1SSL\s0 *ssl, long arg);" 4
701 .IX Item "void SSL_set_verify_result(SSL *ssl, long arg);"
702 .IP "int \fBSSL_set_wfd\fR(\s-1SSL\s0 *ssl, int fd);" 4
703 .IX Item "int SSL_set_wfd(SSL *ssl, int fd);"
704 .IP "int \fBSSL_shutdown\fR(\s-1SSL\s0 *ssl);" 4
705 .IX Item "int SSL_shutdown(SSL *ssl);"
706 .IP "int \fBSSL_state\fR(const \s-1SSL\s0 *ssl);" 4
707 .IX Item "int SSL_state(const SSL *ssl);"
708 .IP "char *\fBSSL_state_string\fR(const \s-1SSL\s0 *ssl);" 4
709 .IX Item "char *SSL_state_string(const SSL *ssl);"
710 .IP "char *\fBSSL_state_string_long\fR(const \s-1SSL\s0 *ssl);" 4
711 .IX Item "char *SSL_state_string_long(const SSL *ssl);"
712 .IP "long \fBSSL_total_renegotiations\fR(\s-1SSL\s0 *ssl);" 4
713 .IX Item "long SSL_total_renegotiations(SSL *ssl);"
714 .IP "int \fBSSL_use_PrivateKey\fR(\s-1SSL\s0 *ssl, \s-1EVP_PKEY\s0 *pkey);" 4
715 .IX Item "int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey);"
716 .IP "int \fBSSL_use_PrivateKey_ASN1\fR(int type, \s-1SSL\s0 *ssl, unsigned char *d, long len);" 4
717 .IX Item "int SSL_use_PrivateKey_ASN1(int type, SSL *ssl, unsigned char *d, long len);"
718 .IP "int \fBSSL_use_PrivateKey_file\fR(\s-1SSL\s0 *ssl, char *file, int type);" 4
719 .IX Item "int SSL_use_PrivateKey_file(SSL *ssl, char *file, int type);"
720 .IP "int \fBSSL_use_RSAPrivateKey\fR(\s-1SSL\s0 *ssl, \s-1RSA\s0 *rsa);" 4
721 .IX Item "int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa);"
722 .IP "int \fBSSL_use_RSAPrivateKey_ASN1\fR(\s-1SSL\s0 *ssl, unsigned char *d, long len);" 4
723 .IX Item "int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, unsigned char *d, long len);"
724 .IP "int \fBSSL_use_RSAPrivateKey_file\fR(\s-1SSL\s0 *ssl, char *file, int type);" 4
725 .IX Item "int SSL_use_RSAPrivateKey_file(SSL *ssl, char *file, int type);"
726 .IP "int \fBSSL_use_certificate\fR(\s-1SSL\s0 *ssl, X509 *x);" 4
727 .IX Item "int SSL_use_certificate(SSL *ssl, X509 *x);"
728 .IP "int \fBSSL_use_certificate_ASN1\fR(\s-1SSL\s0 *ssl, int len, unsigned char *d);" 4
729 .IX Item "int SSL_use_certificate_ASN1(SSL *ssl, int len, unsigned char *d);"
730 .IP "int \fBSSL_use_certificate_file\fR(\s-1SSL\s0 *ssl, char *file, int type);" 4
731 .IX Item "int SSL_use_certificate_file(SSL *ssl, char *file, int type);"
732 .IP "int \fBSSL_version\fR(const \s-1SSL\s0 *ssl);" 4
733 .IX Item "int SSL_version(const SSL *ssl);"
734 .IP "int \fBSSL_want\fR(const \s-1SSL\s0 *ssl);" 4
735 .IX Item "int SSL_want(const SSL *ssl);"
736 .IP "int \fBSSL_want_nothing\fR(const \s-1SSL\s0 *ssl);" 4
737 .IX Item "int SSL_want_nothing(const SSL *ssl);"
738 .IP "int \fBSSL_want_read\fR(const \s-1SSL\s0 *ssl);" 4
739 .IX Item "int SSL_want_read(const SSL *ssl);"
740 .IP "int \fBSSL_want_write\fR(const \s-1SSL\s0 *ssl);" 4
741 .IX Item "int SSL_want_write(const SSL *ssl);"
742 .IP "int \fBSSL_want_x509_lookup\fR(const \s-1SSL\s0 *ssl);" 4
743 .IX Item "int SSL_want_x509_lookup(const SSL *ssl);"
744 .IP "int \fBSSL_write\fR(\s-1SSL\s0 *ssl, const void *buf, int num);" 4
745 .IX Item "int SSL_write(SSL *ssl, const void *buf, int num);"
746 .IP "void \fBSSL_set_psk_client_callback\fR(\s-1SSL\s0 *ssl, unsigned int (*callback)(\s-1SSL\s0 *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len));" 4
747 .IX Item "void SSL_set_psk_client_callback(SSL *ssl, unsigned int (*callback)(SSL *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len));"
748 .IP "int \fBSSL_use_psk_identity_hint\fR(\s-1SSL\s0 *ssl, const char *hint);" 4
749 .IX Item "int SSL_use_psk_identity_hint(SSL *ssl, const char *hint);"
750 .IP "void \fBSSL_set_psk_server_callback\fR(\s-1SSL\s0 *ssl, unsigned int (*callback)(\s-1SSL\s0 *ssl, const char *identity, unsigned char *psk, int max_psk_len));" 4
751 .IX Item "void SSL_set_psk_server_callback(SSL *ssl, unsigned int (*callback)(SSL *ssl, const char *identity, unsigned char *psk, int max_psk_len));"
752 .IP "const char *\fBSSL_get_psk_identity_hint\fR(\s-1SSL\s0 *ssl);" 4
753 .IX Item "const char *SSL_get_psk_identity_hint(SSL *ssl);"
754 .IP "const char *\fBSSL_get_psk_identity\fR(\s-1SSL\s0 *ssl);" 4
755 .IX Item "const char *SSL_get_psk_identity(SSL *ssl);"
756 .PD
757 .SH "SEE ALSO"
758 .IX Header "SEE ALSO"
759 \&\fIopenssl\fR\|(1), \fIcrypto\fR\|(3),
760 \&\fISSL_accept\fR\|(3), \fISSL_clear\fR\|(3),
761 \&\fISSL_connect\fR\|(3),
762 \&\fISSL_CIPHER_get_name\fR\|(3),
763 \&\fISSL_COMP_add_compression_method\fR\|(3),
764 \&\fISSL_CTX_add_extra_chain_cert\fR\|(3),
765 \&\fISSL_CTX_add_session\fR\|(3),
766 \&\fISSL_CTX_ctrl\fR\|(3),
767 \&\fISSL_CTX_flush_sessions\fR\|(3),
768 \&\fISSL_CTX_get_ex_new_index\fR\|(3),
769 \&\fISSL_CTX_get_verify_mode\fR\|(3),
770 \&\fISSL_CTX_load_verify_locations\fR\|(3)
771 \&\fISSL_CTX_new\fR\|(3),
772 \&\fISSL_CTX_sess_number\fR\|(3),
773 \&\fISSL_CTX_sess_set_cache_size\fR\|(3),
774 \&\fISSL_CTX_sess_set_get_cb\fR\|(3),
775 \&\fISSL_CTX_sessions\fR\|(3),
776 \&\fISSL_CTX_set_cert_store\fR\|(3),
777 \&\fISSL_CTX_set_cert_verify_callback\fR\|(3),
778 \&\fISSL_CTX_set_cipher_list\fR\|(3),
779 \&\fISSL_CTX_set_client_CA_list\fR\|(3),
780 \&\fISSL_CTX_set_client_cert_cb\fR\|(3),
781 \&\fISSL_CTX_set_default_passwd_cb\fR\|(3),
782 \&\fISSL_CTX_set_generate_session_id\fR\|(3),
783 \&\fISSL_CTX_set_info_callback\fR\|(3),
784 \&\fISSL_CTX_set_max_cert_list\fR\|(3),
785 \&\fISSL_CTX_set_mode\fR\|(3),
786 \&\fISSL_CTX_set_msg_callback\fR\|(3),
787 \&\fISSL_CTX_set_options\fR\|(3),
788 \&\fISSL_CTX_set_quiet_shutdown\fR\|(3),
789 \&\fISSL_CTX_set_read_ahead\fR\|(3),
790 \&\fISSL_CTX_set_session_cache_mode\fR\|(3),
791 \&\fISSL_CTX_set_session_id_context\fR\|(3),
792 \&\fISSL_CTX_set_ssl_version\fR\|(3),
793 \&\fISSL_CTX_set_timeout\fR\|(3),
794 \&\fISSL_CTX_set_tmp_rsa_callback\fR\|(3),
795 \&\fISSL_CTX_set_tmp_dh_callback\fR\|(3),
796 \&\fISSL_CTX_set_verify\fR\|(3),
797 \&\fISSL_CTX_use_certificate\fR\|(3),
798 \&\fISSL_alert_type_string\fR\|(3),
799 \&\fISSL_do_handshake\fR\|(3),
800 \&\fISSL_get_SSL_CTX\fR\|(3),
801 \&\fISSL_get_ciphers\fR\|(3),
802 \&\fISSL_get_client_CA_list\fR\|(3),
803 \&\fISSL_get_default_timeout\fR\|(3),
804 \&\fISSL_get_error\fR\|(3),
805 \&\fISSL_get_ex_data_X509_STORE_CTX_idx\fR\|(3),
806 \&\fISSL_get_ex_new_index\fR\|(3),
807 \&\fISSL_get_fd\fR\|(3),
808 \&\fISSL_get_peer_cert_chain\fR\|(3),
809 \&\fISSL_get_rbio\fR\|(3),
810 \&\fISSL_get_session\fR\|(3),
811 \&\fISSL_get_verify_result\fR\|(3),
812 \&\fISSL_get_version\fR\|(3),
813 \&\fISSL_library_init\fR\|(3),
814 \&\fISSL_load_client_CA_file\fR\|(3),
815 \&\fISSL_new\fR\|(3),
816 \&\fISSL_pending\fR\|(3),
817 \&\fISSL_read\fR\|(3),
818 \&\fISSL_rstate_string\fR\|(3),
819 \&\fISSL_session_reused\fR\|(3),
820 \&\fISSL_set_bio\fR\|(3),
821 \&\fISSL_set_connect_state\fR\|(3),
822 \&\fISSL_set_fd\fR\|(3),
823 \&\fISSL_set_session\fR\|(3),
824 \&\fISSL_set_shutdown\fR\|(3),
825 \&\fISSL_shutdown\fR\|(3),
826 \&\fISSL_state_string\fR\|(3),
827 \&\fISSL_want\fR\|(3),
828 \&\fISSL_write\fR\|(3),
829 \&\fISSL_SESSION_free\fR\|(3),
830 \&\fISSL_SESSION_get_ex_new_index\fR\|(3),
831 \&\fISSL_SESSION_get_time\fR\|(3),
832 \&\fId2i_SSL_SESSION\fR\|(3),
833 \&\fISSL_CTX_set_psk_client_callback\fR\|(3),
834 \&\fISSL_CTX_use_psk_identity_hint\fR\|(3),
835 \&\fISSL_get_psk_identity\fR\|(3)
836 .SH "HISTORY"
837 .IX Header "HISTORY"
838 The \fIssl\fR\|(3) document appeared in OpenSSL 0.9.2