From cf3b60ea29526417a35734a4ae4f5a7b0d5560d5 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Sat, 20 Jun 2020 00:42:46 +0200 Subject: Adds new feature: Auto-enable and host matching for client certificates --- src/cryptoidentity.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/cryptoidentity.hpp') diff --git a/src/cryptoidentity.hpp b/src/cryptoidentity.hpp index b693427..9c35cd0 100644 --- a/src/cryptoidentity.hpp +++ b/src/cryptoidentity.hpp @@ -35,6 +35,12 @@ struct CryptoIdentity bool isValid() const { return (not this->certificate.isNull()) and (not this->private_key.isNull()); } + + //! returns true if a host does not match the filter criterion + bool isHostFiltered(QUrl const & url) const; + + //! returns true when the identity should be enabled on url + bool isAutomaticallyEnabledOn(QUrl const & url) const; }; #endif // CRYPTOIDENTITIY_HPP -- cgit v1.2.3