PythonQt.QtNetwork.QSslPreSharedKeyAuthenticator · declarations 001
Back to PythonQt.QtNetwork.QSslPreSharedKeyAuthenticator
identity
identity() -> Any
X.identity() -> PythonQt.QtCore.QByteArray
Supplemental documentation: Qt 5 reference:
QByteArray QSslPreSharedKeyAuthenticator::identity() const
Returns the PSK client identity.
See also setIdentity().
Upstream PySide2 reference signatures (binding differences may apply):
identity(self) -> PySide2.QtCore.QByteArray
Source: https://doc.qt.io/archives/qt-5.15/qsslpresharedkeyauthenticator.html#identity
identityHint
identityHint() -> Any
X.identityHint() -> PythonQt.QtCore.QByteArray
Supplemental documentation: Qt 5 reference:
QByteArray QSslPreSharedKeyAuthenticator::identityHint() const
Returns the PSK identity hint as provided by the server. The interpretation of this hint is left to the application.
Upstream PySide2 reference signatures (binding differences may apply):
identityHint(self) -> PySide2.QtCore.QByteArray
Source: https://doc.qt.io/archives/qt-5.15/qsslpresharedkeyauthenticator.html#identityHint
maximumIdentityLength
maximumIdentityLength() -> int
X.maximumIdentityLength() -> int
Supplemental documentation: Qt 5 reference:
int QSslPreSharedKeyAuthenticator::maximumIdentityLength() const
Returns the maximum length, in bytes, of the PSK client identity.
Note: it is possible to set an identity whose length is greater than maximumIdentityLength(); in this case, only the first maximumIdentityLength() bytes will be actually sent to the server.
See also setIdentity().
Upstream PySide2 reference signatures (binding differences may apply):
maximumIdentityLength(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qsslpresharedkeyauthenticator.html#maximumIdentityLength
maximumPreSharedKeyLength
maximumPreSharedKeyLength() -> int
X.maximumPreSharedKeyLength() -> int
Supplemental documentation: Qt 5 reference:
int QSslPreSharedKeyAuthenticator::maximumPreSharedKeyLength() const
Returns the maximum length, in bytes, of the pre shared key.
Note: it is possible to set a key whose length is greater than the maximumPreSharedKeyLength(); in this case, only the first maximumPreSharedKeyLength() bytes will be actually sent to the server.
See also setPreSharedKey().
Upstream PySide2 reference signatures (binding differences may apply):
maximumPreSharedKeyLength(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qsslpresharedkeyauthenticator.html#maximumPreSharedKeyLength
operator_assign
operator_assign(authenticator: Any) -> Any
X.operator_assign(authenticator) -> PythonQt.QtNetwork.QSslPreSharedKeyAuthenticator
preSharedKey
preSharedKey() -> Any
X.preSharedKey() -> PythonQt.QtCore.QByteArray
Supplemental documentation: Qt 5 reference:
QByteArray QSslPreSharedKeyAuthenticator::preSharedKey() const
Returns the pre shared key.
See also setPreSharedKey().
Upstream PySide2 reference signatures (binding differences may apply):
preSharedKey(self) -> PySide2.QtCore.QByteArray
Source: https://doc.qt.io/archives/qt-5.15/qsslpresharedkeyauthenticator.html#preSharedKey
setIdentity
setIdentity(identity: Any) -> None
X.setIdentity(identity)
Supplemental documentation: Qt 5 reference:
void QSslPreSharedKeyAuthenticator::setIdentity(const QByteArray \&identity)
Sets the PSK client identity (to be advised to the server) to identity.
Note: it is possible to set an identity whose length is greater than maximumIdentityLength(); in this case, only the first maximumIdentityLength() bytes will be actually sent to the server.
See also identity() and maximumIdentityLength().
Upstream PySide2 reference signatures (binding differences may apply):
setIdentity(self, identity: PySide2.QtCore.QByteArray) -> None
Source: https://doc.qt.io/archives/qt-5.15/qsslpresharedkeyauthenticator.html#setIdentity
setPreSharedKey
setPreSharedKey(preSharedKey: Any) -> None
X.setPreSharedKey(preSharedKey)
Supplemental documentation: Qt 5 reference:
void QSslPreSharedKeyAuthenticator::setPreSharedKey(const QByteArray \&preSharedKey)
Sets the pre shared key to preSharedKey.
Note: it is possible to set a key whose length is greater than the maximumPreSharedKeyLength(); in this case, only the first maximumPreSharedKeyLength() bytes will be actually sent to the server.
See also preSharedKey(), maximumPreSharedKeyLength(), and QByteArray::fromHex().
Upstream PySide2 reference signatures (binding differences may apply):
setPreSharedKey(self, preSharedKey: PySide2.QtCore.QByteArray) -> None
Source: https://doc.qt.io/archives/qt-5.15/qsslpresharedkeyauthenticator.html#setPreSharedKey
swap
swap(other: Any) -> None
X.swap(other)
Supplemental documentation: Qt 5 reference:
void QSslPreSharedKeyAuthenticator::swap(QSslPreSharedKeyAuthenticator \&authenticator)
Swaps the QSslPreSharedKeyAuthenticator object authenticator with this object. This operation is very fast and never fails.
Upstream PySide2 reference signatures (binding differences may apply):
swap(self, other: PySide2.QtNetwork.QSslPreSharedKeyAuthenticator) -> None
Source: https://doc.qt.io/archives/qt-5.15/qsslpresharedkeyauthenticator.html#swap