diff options
Diffstat (limited to 'src/cryptoidentity.hpp')
| -rw-r--r-- | src/cryptoidentity.hpp | 6 |
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 |
