Enumerations#
- class QDtlsError#
Describes errors that can be found by
QDtls
andQDtlsClientVerifier
.This enum describes general and TLS-specific errors that can be encountered by objects of the classes
QDtlsClientVerifier
andQDtls
.Constant
Description
QDtls.QDtlsError.NoError
No error occurred, the last operation was successful.
QDtls.QDtlsError.InvalidInputParameters
Input parameters provided by a caller were invalid.
QDtls.QDtlsError.InvalidOperation
An operation was attempted in a state that did not permit it.
QDtls.QDtlsError.UnderlyingSocketError
writeDatagram()
failed,error()
and QUdpSocket::errorString() can provide more specific information.QDtls.QDtlsError.RemoteClosedConnectionError
TLS shutdown alert message was received.
QDtls.QDtlsError.PeerVerificationError
Peer’s identity could not be verified during the TLS handshake.
QDtls.QDtlsError.TlsInitializationError
An error occurred while initializing an underlying TLS backend.
QDtls.QDtlsError.TlsFatalError
A fatal error occurred during TLS handshake, other than peer verification error or TLS initialization error.
QDtls.QDtlsError.TlsNonFatalError
A failure to encrypt or decrypt a datagram, non-fatal, meaning
QDtls
can continue working after this error.
- class QOcspCertificateStatus#
Describes the Online Certificate Status
Constant
Description
QOcspResponse.QOcspCertificateStatus.Good
The certificate is not revoked, but this does not necessarily mean that the certificate was ever issued or that the time at which the response was produced is within the certificate’s validity interval.
QOcspResponse.QOcspCertificateStatus.Revoked
This state indicates that the certificate has been revoked (either permanently or temporarily - on hold).
QOcspResponse.QOcspCertificateStatus.Unknown
This state indicates that the responder doesn’t know about the certificate being requested.
See also
QOcspRevocationReason
- class QOcspRevocationReason#
Describes the reason for revocation
This enumeration describes revocation reasons, defined in RFC 5280, section 5.3.1
Constant
Description
QOcspResponse.QOcspRevocationReason.None
QOcspResponse.QOcspRevocationReason.Unspecified
QOcspResponse.QOcspRevocationReason.KeyCompromise
QOcspResponse.QOcspRevocationReason.CACompromise
QOcspResponse.QOcspRevocationReason.AffiliationChanged
QOcspResponse.QOcspRevocationReason.Superseded
QOcspResponse.QOcspRevocationReason.CessationOfOperation
QOcspResponse.QOcspRevocationReason.CertificateHold
QOcspResponse.QOcspRevocationReason.RemoveFromCRL