OpenVPN 3 Core Library
Loading...
Searching...
No Matches
sni_metadata.hpp
Go to the documentation of this file.
1
// OpenVPN -- An application to securely tunnel IP networks
2
// over a single port, with support for SSL/TLS-based
3
// session authentication and key exchange,
4
// packet encryption, packet authentication, and
5
// packet compression.
6
//
7
// Copyright (C) 2012- OpenVPN Inc.
8
//
9
// SPDX-License-Identifier: MPL-2.0 OR AGPL-3.0-only WITH openvpn3-openssl-exception
10
//
11
12
#pragma once
13
14
#include <string>
15
#include <memory>
16
17
namespace
openvpn
{
18
19
class
AuthCert;
20
21
namespace
SNI {
22
23
class
Metadata
24
{
25
public
:
26
typedef
std::unique_ptr<Metadata>
UPtr
;
27
28
virtual
std::string
sni_client_name
(
const
AuthCert
&ac)
const
= 0;
29
30
virtual
~Metadata
() =
default
;
31
};
32
33
}
// namespace SNI
34
}
// namespace openvpn
openvpn::AuthCert
Definition
authcert.hpp:40
openvpn::SNI::Metadata
Definition
sni_metadata.hpp:24
openvpn::SNI::Metadata::UPtr
std::unique_ptr< Metadata > UPtr
Definition
sni_metadata.hpp:26
openvpn::SNI::Metadata::~Metadata
virtual ~Metadata()=default
openvpn::SNI::Metadata::sni_client_name
virtual std::string sni_client_name(const AuthCert &ac) const =0
openvpn
Support deferred server-side state creation when client connects.
Definition
ovpncli.cpp:95
openvpn
ssl
sni_metadata.hpp
Generated by
1.9.8