summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-14 18:57:18 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-14 21:36:32 (GMT)
commitcb05f5a908e20006c954ce38755c2e422ecc2388 (patch)
treea793551a5fe279a57d4330119560e8542f745484 /Swiften/TLS/Certificate.h
parentcad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (diff)
downloadswift-cb05f5a908e20006c954ce38755c2e422ecc2388.zip
swift-cb05f5a908e20006c954ce38755c2e422ecc2388.tar.bz2
Removed Swift::String.
Diffstat (limited to 'Swiften/TLS/Certificate.h')
-rw-r--r--Swiften/TLS/Certificate.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Swiften/TLS/Certificate.h b/Swiften/TLS/Certificate.h
index e01aa74..dc93a2d 100644
--- a/Swiften/TLS/Certificate.h
+++ b/Swiften/TLS/Certificate.h
@@ -8,7 +8,7 @@
#include <boost/shared_ptr.hpp>
-#include "Swiften/Base/String.h"
+#include <string>
#include "Swiften/Base/ByteArray.h"
namespace Swift {
@@ -22,16 +22,16 @@ namespace Swift {
* Returns the textual representation of the full Subject
* name.
*/
- virtual String getSubjectName() const = 0;
+ virtual std::string getSubjectName() const = 0;
- virtual std::vector<String> getCommonNames() const = 0;
- virtual std::vector<String> getSRVNames() const = 0;
- virtual std::vector<String> getDNSNames() const = 0;
- virtual std::vector<String> getXMPPAddresses() const = 0;
+ virtual std::vector<std::string> getCommonNames() const = 0;
+ virtual std::vector<std::string> getSRVNames() const = 0;
+ virtual std::vector<std::string> getDNSNames() const = 0;
+ virtual std::vector<std::string> getXMPPAddresses() const = 0;
virtual ByteArray toDER() const = 0;
- virtual String getSHA1Fingerprint() const;
+ virtual std::string getSHA1Fingerprint() const;
protected:
static const char* ID_ON_XMPPADDR_OID;