OSSL_QUIC_client_method.3ossl - Man Page

Provide SSL_METHOD objects for QUIC enabled functions

Synopsis

 #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);

Description

The OSSL_QUIC_client_method(), OSSL_QUIC_client_thread_method(), and OSSL_QUIC_server_method() functions provide methods for the 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.

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 OSSL_QUIC_server_method() with SSL_new(3) will result in an error.

Return Values

These functions return pointers to the constant method objects.

See Also

SSL_CTX_new_ex(3), SSL_new_listener(3)

History

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

OSSL_QUIC_server_method() was added in OpenSSL 3.5.

Referenced By

openssl-quic.7ossl(7), openssl-quic-concurrency.7ossl(7), ossl-guide-quic-client-block.7ossl(7), SSL_inject_net_dgram.3ossl(3), SSL_new_listener.3ossl(3).

The man pages OSSL_QUIC_client_thread_method.3ossl(3) and OSSL_QUIC_server_method.3ossl(3) are aliases of OSSL_QUIC_client_method.3ossl(3).

2025-04-15 3.5.0 OpenSSL