diff options
Diffstat (limited to 'Swiften/TLS/Certificate.h')
-rw-r--r-- | Swiften/TLS/Certificate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swiften/TLS/Certificate.h b/Swiften/TLS/Certificate.h index 3a812a8..6b62457 100644 --- a/Swiften/TLS/Certificate.h +++ b/Swiften/TLS/Certificate.h @@ -9,6 +9,7 @@ #include <boost/shared_ptr.hpp> #include "Swiften/Base/String.h" +#include "Swiften/Base/ByteArray.h" namespace Swift { class Certificate { @@ -22,6 +23,8 @@ namespace Swift { virtual std::vector<String> getDNSNames() const = 0; virtual std::vector<String> getXMPPAddresses() const = 0; + virtual ByteArray toDER() const = 0; + protected: static const char* ID_ON_XMPPADDR_OID; static const char* ID_ON_DNSSRV_OID; |