libfilezilla
Classes | Namespaces | Functions
tls_info.hpp File Reference

Classes to query parameters of a TLS session, including the certificate chain. More...

#include "time.hpp"
Include dependency graph for tls_info.hpp:

Go to the source code of this file.

Classes

class  x509_certificate
 Represents all relevant information of a X.509 certificate as used by TLS. More...
 
class  x509_certificate::subject_name
 A subject name, typically a DNS hostname. More...
 
class  tls_session_info
 Information about a TLS session. More...
 

Namespaces

 fz
 The namespace used by libfilezilla.
 

Functions

std::vector< x509_certificate > load_certificates_file (native_string const &certsfile, bool pem, bool sort, logger_interface *logger=nullptr)
 Gets the certificate information for the certificates in the file. More...
 
std::vector< x509_certificate > load_certificates (std::string_view const &certdata, bool pem, bool sort, logger_interface *logger=nullptr)
 
native_string check_certificate_status (std::string_view const &key, std::string_view const &certs, native_string const &password, bool pem=true)
 Checks that the key and certificates chain are valid and matching. More...
 

Detailed Description

Classes to query parameters of a TLS session, including the certificate chain.