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_CLIENT_TLS_TLS_VERSION_H_
9 #define DIAG_CLIENT_LIB_LIB_BOOST_SUPPORT_INCLUDE_BOOST_SUPPORT_CLIENT_TLS_TLS_VERSION_H_
10 
11 #include <cstdint>
12 #include <initializer_list>
13 
15 
16 namespace boost_support {
17 namespace client {
18 namespace tls {
19 
20 template<typename CipherSuite>
21 struct TlsVersion {
22  std::initializer_list<CipherSuite> cipher_suites{};
23 };
24 
29 
34 
35 } // namespace tls
36 } // namespace client
37 } // namespace boost_support
38 #endif // DIAG_CLIENT_LIB_LIB_BOOST_SUPPORT_INCLUDE_BOOST_SUPPORT_CLIENT_TLS_TLS_VERSION_H_
std::initializer_list< CipherSuite > cipher_suites
Definition: tls_version.h:22