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

Reject anything not already in known_hosts. The only safe default. More...

#include <host_key_verifier.hpp>

Inheritance diagram for sshpp::StrictHostKeyPolicy:
[legend]
Collaboration diagram for sshpp::StrictHostKeyPolicy:
[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

Reject anything not already in known_hosts. The only safe default.

Member Function Documentation

◆ verify()

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

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