aboutsummaryrefslogtreecommitdiffstats
path: root/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'context.h')
-rw-r--r--context.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/context.h b/context.h
index 8338fed..375758c 100644
--- a/context.h
+++ b/context.h
@@ -98,6 +98,16 @@ public:
*/
void preventNoDataErr(QByteArray *in);
+ /**
+ * @brief
+ *
+ * @param text
+ * @return \li 2, if the text is completly signed,
+ * \li 1, if the text is partially signed,
+ * \li 0, if the text is not signed at all.
+ */
+ int textIsSigned(const QByteArray &text);
+
signals:
void keyDBChanged();