OSSL_QUIC_client_method.pod 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. =pod
  2. =head1 NAME
  3. OSSL_QUIC_client_method, OSSL_QUIC_client_thread_method
  4. - Provide SSL_METHOD objects for QUIC enabled functions
  5. =head1 SYNOPSIS
  6. #include <openssl/quic.h>
  7. const SSL_METHOD *OSSL_QUIC_client_method(void);
  8. const SSL_METHOD *OSSL_QUIC_client_thread_method(void);
  9. =head1 DESCRIPTION
  10. The OSSL_QUIC_client_method(), OSSL_QUIC_client_thread_method(), and
  11. OSSL_QUIC_server_method() functions provide methods for the
  12. L<SSL_CTX_new_ex(3)> function to provide QUIC protocol support.
  13. The OSSL_QUIC_client_thread_method() uses threads to allow for a blocking
  14. mode of operation and avoid the need to return control to the
  15. OpenSSL library for processing time based events.
  16. The OSSL_QUIC_client_method() does not use threads and depends on
  17. nonblocking mode of operation and the application periodically calling SSL
  18. functions.
  19. =head1 RETURN VALUES
  20. These functions return pointers to the constant method objects.
  21. =head1 SEE ALSO
  22. L<SSL_CTX_new_ex(3)>
  23. =head1 HISTORY
  24. OSSL_QUIC_client_method() and OSSL_QUIC_client_thread_method() were added in
  25. OpenSSL 3.2.
  26. =head1 COPYRIGHT
  27. Copyright 2022-2023 The OpenSSL Project Authors. All Rights Reserved.
  28. Licensed under the Apache License 2.0 (the "License"). You may not use
  29. this file except in compliance with the License. You can obtain a copy
  30. in the file LICENSE in the source distribution or at
  31. L<https://www.openssl.org/source/license.html>.
  32. =cut