OpenVPN 3 Core Library
Loading...
Searching...
No Matches
cn_reject_handler.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
23
class
CommonNameReject
24
{
25
public
:
26
typedef
std::unique_ptr<CommonNameReject>
UPtr
;
27
35
virtual
bool
reject
(
const
std::string &cn) = 0;
36
37
virtual
~CommonNameReject
() =
default
;
38
};
39
40
}
// namespace openvpn
openvpn::CommonNameReject
Definition
cn_reject_handler.hpp:24
openvpn::CommonNameReject::UPtr
std::unique_ptr< CommonNameReject > UPtr
Definition
cn_reject_handler.hpp:26
openvpn::CommonNameReject::reject
virtual bool reject(const std::string &cn)=0
openvpn::CommonNameReject::~CommonNameReject
virtual ~CommonNameReject()=default
openvpn
Definition
ovpncli.cpp:97
openvpn
ssl
cn_reject_handler.hpp
Generated by
1.9.8