Diag-Client-Lib
diag-client-lib
lib
boost-support
include
boost-support
client
tls
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
14
#include "
boost-support/client/tls/tls_cipher_list.h
"
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
28
using
TlsVersion12
=
TlsVersion<Tls12CipherSuites>
;
29
33
using
TlsVersion13
=
TlsVersion<Tls13CipherSuites>
;
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_
tls_cipher_list.h
boost_support
Definition:
tcp_client.h:17
boost_support::client::tls::TlsVersion
Definition:
tls_version.h:21
boost_support::client::tls::TlsVersion::cipher_suites
std::initializer_list< CipherSuite > cipher_suites
Definition:
tls_version.h:22
Generated by
1.9.1