8#include "Arp/System/Core/Enum.hxx"
10namespace Arp {
namespace System {
namespace Commons {
namespace Net
27 EnableTlsv12 = (1 << 1),
28 EnableTlsv13 = (1 << 2),
29 SupportSessionRenegotiation = (1 << 3),
30 CheckLeafCrl = (1 << 4),
31 CheckAllCrl = (1 << 5)
43 using U = std::underlying_type<TlsOptions>::type;
44 return static_cast<TlsOptions>(
static_cast<U
>(lhs) &
static_cast<U
>(rhs));
49 using U = std::underlying_type<TlsOptions>::type;
50 return static_cast<TlsOptions>(
static_cast<U
>(lhs) |
static_cast<U
>(rhs));
67 using U = std::underlying_type<TlsOptions>::type;
68 return static_cast<TlsOptions>(~static_cast<U>(arg));
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:35
@ System
System components used by the System, Device, Plc or Io domains.
std::ostream & operator<<(std::ostream &os, const IpAddress &ipAddress)
The ostream operator is used for logging and string formatting.
Definition: IpAddress.hpp:107
std::istream & operator>>(std::istream &is, IpAddress &ipAddress)
The istream operator is used for string parsing.
Definition: IpAddress.hpp:114
TlsOptions
This enum is used to select different options for the TlsSocket class
Definition: TlsOptions.hpp:24
Root namespace for the PLCnext API