aboutsummaryrefslogtreecommitdiff
path: root/src/cryptoidentity.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptoidentity.hpp')
-rw-r--r--src/cryptoidentity.hpp6
1 files changed, 6 insertions, 0 deletions
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