summaryrefslogtreecommitdiffstats
path: root/doc/man3/OSSL_QUIC_client_method.pod
blob: eaae2b049d29430bb95177bfb5b3566cab9f13d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
=pod

=head1 NAME

OSSL_QUIC_client_method, OSSL_QUIC_client_thread_method
- Provide SSL_METHOD objects for QUIC enabled functions

=head1 SYNOPSIS

 #include <openssl/quic.h>

 const SSL_METHOD *OSSL_QUIC_client_method(void);
 const SSL_METHOD *OSSL_QUIC_client_thread_method(void);

=head1 DESCRIPTION

The OSSL_QUIC_client_method(), OSSL_QUIC_client_thread_method(), and
OSSL_QUIC_server_method() functions provide methods for the
L<SSL_CTX_new_ex(3)> function to provide QUIC protocol support.

The OSSL_QUIC_client_thread_method() uses threads to allow for a blocking
mode of operation and avoid the need to return control to the
OpenSSL library for processing time based events.
The OSSL_QUIC_client_method() does not use threads and depends on
nonblocking mode of operation and the application periodically calling SSL
functions.

=head1 RETURN VALUES

These functions return pointers to the constant method objects.

=head1 SEE ALSO

L<SSL_CTX_new_ex(3)>

=head1 HISTORY

OSSL_QUIC_client_method() and OSSL_QUIC_client_thread_method() were added in
OpenSSL 3.2.

=head1 COPYRIGHT

Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License").  You may not use
this file except in compliance with the License.  You can obtain a copy
in the file LICENSE in the source distribution or at
L<https://www.openssl.org/source/license.html>.

=cut