blob: 1d073e092847b45834f1695ecbba71abfd977c5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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);
}
}
|