Diag-Client-Lib
tls_version.h
Go to the documentation of this file.
1 /* Diagnostic Client library
2  * Copyright (C) 2024 Avijit Dey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
8 #ifndef DIAG_CLIENT_LIB_LIB_BOOST_SUPPORT_INCLUDE_BOOST_SUPPORT_SERVER_TLS_TLS_VERSION_H_
9 #define DIAG_CLIENT_LIB_LIB_BOOST_SUPPORT_INCLUDE_BOOST_SUPPORT_SERVER_TLS_TLS_VERSION_H_
10 
11 #include <cstdint>
12 #include <initializer_list>
13 
15 
16 namespace boost_support {
17 namespace server {
18 namespace tls {
19 namespace detail {
25 template<typename CipherSuite>
26 struct TlsVersion {
27  std::initializer_list<CipherSuite> cipher_suites{};
28 };
29 } // namespace detail
30 
35 
40 
41 } // namespace tls
42 } // namespace server
43 } // namespace boost_support
44 #endif // DIAG_CLIENT_LIB_LIB_BOOST_SUPPORT_INCLUDE_BOOST_SUPPORT_SERVER_TLS_TLS_VERSION_H_
Template type for Tls version.
Definition: tls_version.h:26
std::initializer_list< CipherSuite > cipher_suites
Definition: tls_version.h:27