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

#include <peer_fingerprint.hpp>

Public Member Functions

 PeerFingerprint (const std::string &fp, const std::size_t size)
 
 PeerFingerprint (const std::vector< uint8_t > &fingerprint)
 
bool operator== (const PeerFingerprint &that) const
 
std::string str () const
 

Protected Attributes

std::vector< uint8_t > fingerprint_
 

Detailed Description

Definition at line 19 of file peer_fingerprint.hpp.

Constructor & Destructor Documentation

◆ PeerFingerprint() [1/2]

openvpn::PeerFingerprint::PeerFingerprint ( const std::string &  fp,
const std::size_t  size 
)
inline

Definition at line 21 of file peer_fingerprint.hpp.

◆ PeerFingerprint() [2/2]

openvpn::PeerFingerprint::PeerFingerprint ( const std::vector< uint8_t > &  fingerprint)
inlineexplicit

Definition at line 47 of file peer_fingerprint.hpp.

Member Function Documentation

◆ operator==()

bool openvpn::PeerFingerprint::operator== ( const PeerFingerprint that) const
inline

Definition at line 52 of file peer_fingerprint.hpp.

◆ str()

std::string openvpn::PeerFingerprint::str ( ) const
inline

Definition at line 57 of file peer_fingerprint.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ fingerprint_

std::vector<uint8_t> openvpn::PeerFingerprint::fingerprint_
protected

Definition at line 75 of file peer_fingerprint.hpp.


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