OpenCoverage

qsslpresharedkeyauthenticator.cpp

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

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9