OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::CommonNameReject Class Referenceabstract

#include <cn_reject_handler.hpp>

Public Types

typedef std::unique_ptr< CommonNameRejectUPtr
 

Public Member Functions

virtual bool reject (const std::string &cn)=0
 
virtual ~CommonNameReject ()=default
 

Detailed Description

Abstract base class used to provide early rejection of specific Common Names during SSL/TLS handshake.

Definition at line 23 of file cn_reject_handler.hpp.

Member Typedef Documentation

◆ UPtr

Definition at line 26 of file cn_reject_handler.hpp.

Constructor & Destructor Documentation

◆ ~CommonNameReject()

virtual openvpn::CommonNameReject::~CommonNameReject ( )
virtualdefault

Member Function Documentation

◆ reject()

virtual bool openvpn::CommonNameReject::reject ( const std::string &  cn)
pure virtual

Should a leaf certificate having Common Name cn be rejected during SSL/TLS handshake?

Parameters
cnCommon Name
Returns
true if certificate should be rejected.
Here is the caller graph for this function:

The documentation for this class was generated from the following file: