| Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslpresharedkeyauthenticator.cpp |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||||||||
| 2 | - | |||||||||||||
| 3 | - | |||||||||||||
| 4 | - | |||||||||||||
| 5 | - | |||||||||||||
| 6 | - | |||||||||||||
| 7 | - | |||||||||||||
| 8 | QSslPreSharedKeyAuthenticatorPrivate::QSslPreSharedKeyAuthenticatorPrivate() | - | ||||||||||||
| 9 | : maximumIdentityLength(0), | - | ||||||||||||
| 10 | maximumPreSharedKeyLength(0) | - | ||||||||||||
| 11 | { | - | ||||||||||||
| 12 | } never executed: end of block | 0 | ||||||||||||
| 13 | QSslPreSharedKeyAuthenticator::QSslPreSharedKeyAuthenticator() | - | ||||||||||||
| 14 | : d(new QSslPreSharedKeyAuthenticatorPrivate) | - | ||||||||||||
| 15 | { | - | ||||||||||||
| 16 | } never executed: end of block | 0 | ||||||||||||
| 17 | - | |||||||||||||
| 18 | - | |||||||||||||
| 19 | - | |||||||||||||
| 20 | - | |||||||||||||
| 21 | QSslPreSharedKeyAuthenticator::~QSslPreSharedKeyAuthenticator() | - | ||||||||||||
| 22 | { | - | ||||||||||||
| 23 | } | - | ||||||||||||
| 24 | - | |||||||||||||
| 25 | - | |||||||||||||
| 26 | - | |||||||||||||
| 27 | - | |||||||||||||
| 28 | - | |||||||||||||
| 29 | - | |||||||||||||
| 30 | QSslPreSharedKeyAuthenticator::QSslPreSharedKeyAuthenticator(const QSslPreSharedKeyAuthenticator &authenticator) | - | ||||||||||||
| 31 | : d(authenticator.d) | - | ||||||||||||
| 32 | { | - | ||||||||||||
| 33 | } never executed: end of block | 0 | ||||||||||||
| 34 | - | |||||||||||||
| 35 | - | |||||||||||||
| 36 | - | |||||||||||||
| 37 | - | |||||||||||||
| 38 | - | |||||||||||||
| 39 | QSslPreSharedKeyAuthenticator &QSslPreSharedKeyAuthenticator::operator=(const QSslPreSharedKeyAuthenticator &authenticator) | - | ||||||||||||
| 40 | { | - | ||||||||||||
| 41 | d = authenticator.d; | - | ||||||||||||
| 42 | return never executed: *this;return *this;never executed: return *this; | 0 | ||||||||||||
| 43 | } | - | ||||||||||||
| 44 | QByteArray QSslPreSharedKeyAuthenticator::identityHint() const | - | ||||||||||||
| 45 | { | - | ||||||||||||
| 46 | return never executed: d->identityHint;return d->identityHint;never executed: return d->identityHint; | 0 | ||||||||||||
| 47 | } | - | ||||||||||||
| 48 | void QSslPreSharedKeyAuthenticator::setIdentity(const QByteArray &identity) | - | ||||||||||||
| 49 | { | - | ||||||||||||
| 50 | d->identity = identity; | - | ||||||||||||
| 51 | } never executed: end of block | 0 | ||||||||||||
| 52 | - | |||||||||||||
| 53 | - | |||||||||||||
| 54 | - | |||||||||||||
| 55 | - | |||||||||||||
| 56 | - | |||||||||||||
| 57 | - | |||||||||||||
| 58 | QByteArray QSslPreSharedKeyAuthenticator::identity() const | - | ||||||||||||
| 59 | { | - | ||||||||||||
| 60 | return never executed: d->identity;return d->identity;never executed: return d->identity; | 0 | ||||||||||||
| 61 | } | - | ||||||||||||
| 62 | int QSslPreSharedKeyAuthenticator::maximumIdentityLength() const | - | ||||||||||||
| 63 | { | - | ||||||||||||
| 64 | return never executed: d->maximumIdentityLength;return d->maximumIdentityLength;never executed: return d->maximumIdentityLength; | 0 | ||||||||||||
| 65 | } | - | ||||||||||||
| 66 | void QSslPreSharedKeyAuthenticator::setPreSharedKey(const QByteArray &preSharedKey) | - | ||||||||||||
| 67 | { | - | ||||||||||||
| 68 | d->preSharedKey = preSharedKey; | - | ||||||||||||
| 69 | } never executed: end of block | 0 | ||||||||||||
| 70 | - | |||||||||||||
| 71 | - | |||||||||||||
| 72 | - | |||||||||||||
| 73 | - | |||||||||||||
| 74 | - | |||||||||||||
| 75 | - | |||||||||||||
| 76 | QByteArray QSslPreSharedKeyAuthenticator::preSharedKey() const | - | ||||||||||||
| 77 | { | - | ||||||||||||
| 78 | return never executed: d->preSharedKey;return d->preSharedKey;never executed: return d->preSharedKey; | 0 | ||||||||||||
| 79 | } | - | ||||||||||||
| 80 | int QSslPreSharedKeyAuthenticator::maximumPreSharedKeyLength() const | - | ||||||||||||
| 81 | { | - | ||||||||||||
| 82 | return never executed: d->maximumPreSharedKeyLength;return d->maximumPreSharedKeyLength;never executed: return d->maximumPreSharedKeyLength; | 0 | ||||||||||||
| 83 | } | - | ||||||||||||
| 84 | bool operator==(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &rhs) | - | ||||||||||||
| 85 | { | - | ||||||||||||
| 86 | return never executed: ((return ((lhs.d == rhs.d) || (lhs.d->identityHint == rhs.d->identityHint && lhs.d->identity == rhs.d->identity && lhs.d->maximumIdentityLength == rhs.d->maximumIdentityLength && lhs.d->preSharedKey == rhs.d->preSharedKey && lhs.d->maximumPreSharedKeyLength == rhs.d->maximumPreSharedKeyLength));
never executed: return ((lhs.d == rhs.d) || (lhs.d->identityHint == rhs.d->identityHint && lhs.d->identity == rhs.d->identity && lhs.d->maximumIdentityLength == rhs.d->maximumIdentityLength && lhs.d->preSharedKey == rhs.d->preSharedKey && lhs.d->maximumPreSharedKeyLength == rhs.d->maximumPreSharedKeyLength)); | 0 | ||||||||||||
| 87 | (lhs.d->identityHint == rhs.d->identityHint
never executed: return ((lhs.d == rhs.d) || (lhs.d->identityHint == rhs.d->identityHint && lhs.d->identity == rhs.d->identity && lhs.d->maximumIdentityLength == rhs.d->maximumIdentityLength && lhs.d->preSharedKey == rhs.d->preSharedKey && lhs.d->maximumPreSharedKeyLength == rhs.d->maximumPreSharedKeyLength)); | 0 | ||||||||||||
| 88 | lhs.d->identity == rhs.d->identity
never executed: return ((lhs.d == rhs.d) || (lhs.d->identityHint == rhs.d->identityHint && lhs.d->identity == rhs.d->identity && lhs.d->maximumIdentityLength == rhs.d->maximumIdentityLength && lhs.d->preSharedKey == rhs.d->preSharedKey && lhs.d->maximumPreSharedKeyLength == rhs.d->maximumPreSharedKeyLength)); | 0 | ||||||||||||
| 89 | lhs.d->maximumIdentityLength == rhs.d->maximumIdentityLength
never executed: return ((lhs.d == rhs.d) || (lhs.d->identityHint == rhs.d->identityHint && lhs.d->identity == rhs.d->identity && lhs.d->maximumIdentityLength == rhs.d->maximumIdentityLength && lhs.d->preSharedKey == rhs.d->preSharedKey && lhs.d->maximumPreSharedKeyLength == rhs.d->maximumPreSharedKeyLength)); | 0 | ||||||||||||
| 90 | lhs.d->preSharedKey == rhs.d->preSharedKey
never executed: return ((lhs.d == rhs.d) || (lhs.d->identityHint == rhs.d->identityHint && lhs.d->identity == rhs.d->identity && lhs.d->maximumIdentityLength == rhs.d->maximumIdentityLength && lhs.d->preSharedKey == rhs.d->preSharedKey && lhs.d->maximumPreSharedKeyLength == rhs.d->maximumPreSharedKeyLength)); | 0 | ||||||||||||
| 91 | lhs.d->maximumPreSharedKeyLength == rhs.d->maximumPreSharedKeyLength
never executed: return ((lhs.d == rhs.d) || (lhs.d->identityHint == rhs.d->identityHint && lhs.d->identity == rhs.d->identity && lhs.d->maximumIdentityLength == rhs.d->maximumIdentityLength && lhs.d->preSharedKey == rhs.d->preSharedKey && lhs.d->maximumPreSharedKeyLength == rhs.d->maximumPreSharedKeyLength)); | 0 | ||||||||||||
| 92 | } | - | ||||||||||||
| 93 | - | |||||||||||||
| Switch to Source code | Preprocessed file |