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