OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::PeerFingerprints Struct Reference

#include <peer_fingerprint.hpp>

Public Member Functions

 PeerFingerprints ()=default
 
 PeerFingerprints (const OptionList &opt, const std::size_t fp_size)
 
bool match (const PeerFingerprint &fp) const
 
 operator bool ()
 

Protected Attributes

std::vector< PeerFingerprintfingerprints_
 

Detailed Description

Parses the –peer-fingerprint configuration option and provides the logic to validate an X.509 certificate against such an option.

Definition at line 83 of file peer_fingerprint.hpp.

Constructor & Destructor Documentation

◆ PeerFingerprints() [1/2]

openvpn::PeerFingerprints::PeerFingerprints ( )
default

◆ PeerFingerprints() [2/2]

openvpn::PeerFingerprints::PeerFingerprints ( const OptionList opt,
const std::size_t  fp_size 
)
inline

Definition at line 87 of file peer_fingerprint.hpp.

Member Function Documentation

◆ match()

bool openvpn::PeerFingerprints::match ( const PeerFingerprint fp) const
inline

Definition at line 115 of file peer_fingerprint.hpp.

Here is the caller graph for this function:

◆ operator bool()

openvpn::PeerFingerprints::operator bool ( )
inlineexplicit

Definition at line 126 of file peer_fingerprint.hpp.

Member Data Documentation

◆ fingerprints_

std::vector<PeerFingerprint> openvpn::PeerFingerprints::fingerprints_
protected

Definition at line 132 of file peer_fingerprint.hpp.


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