OSSL_QUIC_CLIENT_METHOD(3ossl)

πŸ“¦ version 3.5.0, in opensuse-leap 16.0

πŸ’– NAME πŸ’–

Okay so bestie, welcome to the 3ossl manual page for OSSL_QUIC_CLIENT_METHOD β€” aka the QUIC method squad πŸ’…. These functions provide SSL_METHOD objects for QUIC enabled functions:

  • OSSL_QUIC_client_method β€” the no-threads client method.
  • OSSL_QUIC_client_thread_method β€” the threaded client method.
  • OSSL_QUIC_server_method β€” the server-side method.

✨ 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 πŸ¦‹

Okay so the trio β€” OSSL_QUIC_client_method(), OSSL_QUIC_client_thread_method(), and OSSL_QUIC_server_method() β€” are literally the methods you feed to SSL_CTX_new_ex(3) when you want QUIC protocol support. Slay.

  • 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. It's giving β€œthreads handle the waiting, bestie” energy 🧡✨.
  • OSSL_QUIC_client_method() β€” does not use threads and depends on nonblocking mode of operation and the application periodically calling SSL functions. So yeah, you gotta check in on it like a group chat πŸ’¬.
  • 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. No cap, that combo is a no πŸ™ˆ.

🌈 RETURN VALUES 🌈

These functions return pointers to the constant method objects. Periodt. That's the whole return vibe β€” constant method object pointers, iconic πŸ‘‘.


πŸŽ€ SEE ALSO πŸŽ€


⭐ 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.

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>.

okay bye bestie, that's the whole page β€” OpenSSL 3.5.0, dated 2026-09-25, signing off with maximum QUIC energy πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from