OSSL_QUIC_client_method(3ssl)

OSSL_QUIC_client_method3ssl

Provide ssl_method objects for quic enabled functions

Usage

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

Overview

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.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

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.

From openssl 3.6.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.