diff options
Diffstat (limited to 'Swiften/TLS/SecureTransport/SecureTransportContext.cpp')
-rw-r--r-- | Swiften/TLS/SecureTransport/SecureTransportContext.cpp | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Swiften/TLS/SecureTransport/SecureTransportContext.cpp b/Swiften/TLS/SecureTransport/SecureTransportContext.cpp new file mode 100644 index 0000000..1d073e0 --- /dev/null +++ b/Swiften/TLS/SecureTransport/SecureTransportContext.cpp @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2012 Tobias Markmann + * Licensed under the simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ +#include <Swiften/Base/Platform.h> + +#include <vector> +#include <boost/smart_ptr/make_shared.hpp> + +#include <Swiften/TLS/SecureTransport/SecureTransportContext.h> +#include <Swiften/TLS/SecureTransport/SecureTransportCertificate.h> +#include <Swiften/TLS/CertificateWithKey.h> +#include <Swiften/TLS/PKCS12Certificate.h> + + +namespace Swift { + + +SecureTransportContext::SecureTransportContext() : state_(Start) { + assert(false); +} + +SecureTransportContext::~SecureTransportContext() { + assert(false); +} + +void SecureTransportContext::ensureLibraryInitialized() { + assert(false); +} + +void SecureTransportContext::connect() { + assert(false); +} + +void SecureTransportContext::doConnect() { + assert(false); +} + +void SecureTransportContext::handleDataFromNetwork(const SafeByteArray& data) { + assert(false); +} + +void SecureTransportContext::handleDataFromApplication(const SafeByteArray& data) { + assert(false); +} + +bool SecureTransportContext::setClientCertificate(CertificateWithKey::ref certificate) { + assert(false); +} + +std::vector<Certificate::ref> SecureTransportContext::getPeerCertificateChain() const { + assert(false); +} + +boost::shared_ptr<CertificateVerificationError> SecureTransportContext::getPeerCertificateVerificationError() const { + assert(false); +} + +ByteArray SecureTransportContext::getFinishMessage() const { + assert(false); +} + +CertificateVerificationError::Type SecureTransportContext::getVerificationErrorTypeForResult(int result) { + assert(false); +} + +} |