diff options
| author | 2026-04-04 02:39:13 +0100 | |
|---|---|---|
| committer | 2026-04-04 02:39:13 +0100 | |
| commit | 154fc5fb0759d12fe2641457624c09b8a3f4e59b (patch) | |
| tree | a5f766f79fcf81b1d16815430cc7d63f728af704 /include | |
| parent | Add support for multiple I/O hooks per socket. (diff) | |
Fix some missing comments.
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules/tls.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/modules/tls.h b/include/modules/tls.h index be95ba53a..6b0283795 100644 --- a/include/modules/tls.h +++ b/include/modules/tls.h @@ -28,12 +28,17 @@ namespace TLS class Certificate; class IOHook; + /** A shared pointer to a TLS certificate. */ using CertificatePtr = std::shared_ptr<Certificate>; + + /** A list of TLS certificate fingerprints. */ using FingerprintList = std::vector<std::string>; + /** If a socket contains a TLS hook then returns the hook; otherwise, returns nullptr. */ inline IOHook* GetHook(StreamSocket* sock); } +/** Encapsulates information about a TLS certificate. */ class TLS::Certificate : public std::enable_shared_from_this<TLS::Certificate> { |
