aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cpp/src/data.h')
-rw-r--r--lang/cpp/src/data.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/cpp/src/data.h b/lang/cpp/src/data.h
index 97e42029..efb1e790 100644
--- a/lang/cpp/src/data.h
+++ b/lang/cpp/src/data.h
@@ -82,6 +82,20 @@ public:
Encoding encoding() const;
Error setEncoding(Encoding encoding);
+ enum Type {
+ Invalid,
+ Unknown,
+ PGPSigned,
+ PGPOther,
+ PGPKey,
+ CMSSigned,
+ CMSEncrypted,
+ CMSOther,
+ X509Cert,
+ PKCS12
+ };
+ Type type() const;
+
char *fileName() const;
Error setFileName(const char *name);