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

Accept-and-remember on first use; reject on change (OpenSSH accept-new). More...

#include <host_key_verifier.hpp>

Inheritance diagram for sshpp::TofuHostKeyPolicy:
[legend]
Collaboration diagram for sshpp::TofuHostKeyPolicy:
[legend]

Public Member Functions

Decision verify (const Context &) const override
 
- Public Member Functions inherited from sshpp::HostKeyVerifier
virtual ~HostKeyVerifier ()=default
 

Additional Inherited Members

- Public Types inherited from sshpp::HostKeyVerifier
enum class  Decision { accept , accept_and_remember , reject }
 

Detailed Description

Accept-and-remember on first use; reject on change (OpenSSH accept-new).

Member Function Documentation

◆ verify()

SSHPP_INLINE HostKeyVerifier::Decision sshpp::TofuHostKeyPolicy::verify ( const Context ctx) const
overridevirtual

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