libsshpp v0.1.7
Modern C++17 wrapper for libssh
Loading...
Searching...
No Matches
sshpp::Fingerprint Class Reference

#include <key.hpp>

Public Member Functions

 Fingerprint ()=default
 
 Fingerprint (HashType type, std::vector< std::byte > bytes)
 
HashType type () const noexcept
 
ByteView bytes () const noexcept
 
std::string to_string () const
 
std::string to_hex () const
 
bool operator== (const Fingerprint &other) const noexcept
 
bool operator!= (const Fingerprint &other) const noexcept
 

Constructor & Destructor Documentation

◆ Fingerprint() [1/2]

sshpp::Fingerprint::Fingerprint ( )
default

◆ Fingerprint() [2/2]

sshpp::Fingerprint::Fingerprint ( HashType  type,
std::vector< std::byte >  bytes 
)
inline

Member Function Documentation

◆ type()

HashType sshpp::Fingerprint::type ( ) const
inlinenoexcept

◆ bytes()

ByteView sshpp::Fingerprint::bytes ( ) const
inlinenoexcept

◆ to_string()

SSHPP_INLINE std::string sshpp::Fingerprint::to_string ( ) const

◆ to_hex()

SSHPP_INLINE std::string sshpp::Fingerprint::to_hex ( ) const

◆ operator==()

SSHPP_INLINE bool sshpp::Fingerprint::operator== ( const Fingerprint other) const
noexcept

◆ operator!=()

bool sshpp::Fingerprint::operator!= ( const Fingerprint other) const
inlinenoexcept

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