summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/TLS/PKCS12Certificate.h')
m---------Swiften0
-rw-r--r--Swiften/TLS/PKCS12Certificate.h37
2 files changed, 0 insertions, 37 deletions
diff --git a/Swiften b/Swiften
new file mode 160000
+Subproject 8213ba16d0043d2461f4b031c881d61dda5a38c
diff --git a/Swiften/TLS/PKCS12Certificate.h b/Swiften/TLS/PKCS12Certificate.h
deleted file mode 100644
index 4b0e708..0000000
--- a/Swiften/TLS/PKCS12Certificate.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef SWIFTEN_PKCS12Certificate_H
-#define SWIFTEN_PKCS12Certificate_H
-
-#include "Swiften/Base/ByteArray.h"
-
-namespace Swift {
- class PKCS12Certificate {
- public:
- PKCS12Certificate() {}
-
- PKCS12Certificate(const String& filename, const String& password) : password_(password) {
- data_.readFromFile(filename);
- }
-
- bool isNull() const {
- return data_.isEmpty();
- }
-
- const ByteArray& getData() const {
- return data_;
- }
-
- void setData(const ByteArray& data) {
- data_ = data;
- }
-
- const String& getPassword() const {
- return password_;
- }
-
- private:
- ByteArray data_;
- String password_;
- };
-}
-
-#endif