Provides information about a certificate error. This class is used as a parameter of
- class PySide6.QtWebEngineCore.QWebEngineCertificateError(other)¶
This enum describes the type of certificate error encountered.
The values of this enum type match the SSL errors Chromium provides.
SslError values are not used directly, because the Qt error categories cannot be mapped to the Chromium error categories.
The certificate did not match the built-in public keys pinned for the host name.
The certificate’s common name did not match the host name.
The certificate is not valid at the current date and time.
The certificate is not signed by a trusted authority.
The certificate contains errors.
The certificate has no mechanism for determining if it has been revoked.
Revocation information for the certificate is not available.
The certificate has been revoked.
The certificate is invalid.
The certificate is signed using a weak signature algorithm.
The host name specified in the certificate is not unique.
The certificate contains a weak key.
The certificate claimed DNS names that are in violation of name constraints.
The certificate has a validity period that is too long. (Added in Qt 5.7)
Certificate Transparency was required for this connection, but the server did not provide CT information that complied with the policy. (Added in Qt 5.8)
The certificate is known to be used for interception by an entity other the device owner. (Added in 5.15)
The connection uses an obsolete version of SSL/TLS. (Added in Qt 6.0)
The certificate is a legacy Symantec one that’s no longer valid. (Added in Qt 6.0)
Accepts the certificate and continues the loading of the requested URL.
- Return type
Returns the peer’s chain of digital certificates.
Chain starts with the peer’s immediate certificate and ending with the CA’s certificate.
Marks the certificate error for delayed handling.
This function should be called when there is a need to postpone the decision whether to accept a certificate, for example, while waiting for user input. When called, the function pauses the URL request until
rejectCertificate() is called.
It is only possible to defer overridable certificate errors.
- Return type
- Return type
This property holds Whether this error can be overridden and accepted..
Rejects the certificate and aborts the loading of the requested URL.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.