xref: /freebsd/secure/lib/libcrypto/man/man3/OSSL_QUIC_client_method.3 (revision 4757b351ea9d59d71d4a38b82506d2d16fcd560d)
-*- mode: troff; coding: utf-8 -*-
Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45)

Standard preamble:
========================================================================
..
..
.. \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
. ds C` "" . ds C' "" 'br\} . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.

If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.

Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF ========================================================================

Title "OSSL_QUIC_CLIENT_METHOD 3ossl"
OSSL_QUIC_CLIENT_METHOD 3ossl 2025-07-01 3.5.1 OpenSSL
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.
NAME
OSSL_QUIC_client_method, OSSL_QUIC_client_thread_method, OSSL_QUIC_server_method \- Provide SSL_METHOD objects for QUIC enabled functions
SYNOPSIS
Header "SYNOPSIS" .Vb 1 #include <openssl/quic.h> \& const SSL_METHOD *OSSL_QUIC_client_method(void); const SSL_METHOD *OSSL_QUIC_client_thread_method(void); const SSL_METHOD *OSSL_QUIC_server_method(void); .Ve
DESCRIPTION
Header "DESCRIPTION" The OSSL_QUIC_client_method(), OSSL_QUIC_client_thread_method(), and \fBOSSL_QUIC_server_method() functions provide methods for the \fBSSL_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.

The OSSL_QUIC_server_method() provides server-side QUIC protocol support and must be used with the SSL_new_listener\|(3) API. Attempting to use \fBOSSL_QUIC_server_method() with SSL_new\|(3) will result in an error.

"RETURN VALUES"
Header "RETURN VALUES" These functions return pointers to the constant method objects.
"SEE ALSO"
Header "SEE ALSO" \fBSSL_CTX_new_ex\|(3), SSL_new_listener\|(3)
HISTORY
Header "HISTORY" \fBOSSL_QUIC_client_method() and OSSL_QUIC_client_thread_method() were added in OpenSSL 3.2.

\fBOSSL_QUIC_server_method() was added in OpenSSL 3.5.

COPYRIGHT
Header "COPYRIGHT" Copyright 2022-2025 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 <https://www.openssl.org/source/license.html>.