40 #ifndef QX509_OPENSSL_P_H
41 #define QX509_OPENSSL_P_H
54 #include <QtNetwork/private/qtnetworkglobal_p.h>
56 #include "../shared/qx509_base_p.h"
58 #include <QtNetwork/private/qtlsbackend_p.h>
60 #include <QtCore/qvariant.h>
61 #include <QtCore/qglobal.h>
62 #include <QtCore/qstring.h>
91 size_t hash(
size_t seed)
const noexcept
override;
110 void parseExtensions();
113 X509 *x509 =
nullptr;
The QByteArray class provides an array of bytes.
The QIODevice class is the base interface class of all I/O devices in Qt.
The QSslCertificate class provides a convenient API for an X509 certificate.
The QSslError class provides an SSL error.
The QSslKey class provides an interface for private and public keys.
The QString class provides a Unicode character string.
static QSslErrorEntry errorEntryFromStoreContext(X509_STORE_CTX *ctx)
static QSslCertificate certificateFromX509(X509 *x)
QByteArray toPem() const override
static bool importPkcs12(QIODevice *device, QSslKey *key, QSslCertificate *cert, QList< QSslCertificate > *caCertificates, const QByteArray &passPhrase)
static QList< QSslCertificate > certificatesFromDer(const QByteArray &der, int count)
QByteArray toDer() const override
QString toText() const override
static QSslError openSSLErrorToQSslError(int errorCode, const QSslCertificate &cert)
static QList< QSslCertificate > certificatesFromPem(const QByteArray &pem, int count)
bool isSelfSigned() const override
TlsKey * publicKey() const override
size_t hash(size_t seed) const noexcept override
~X509CertificateOpenSSL()
bool isEqual(const X509Certificate &rhs) const override
Qt::HANDLE handle() const override
static QList< QSslError > verify(const QList< QSslCertificate > &chain, const QString &hostName)
static QList< QSslCertificate > stackOfX509ToQSslCertificates(STACK_OF(X509) *x509)
QMultiMap< QSsl::AlternativeNameEntryType, QString > subjectAlternativeNames() const override
int qt_X509Callback(int ok, X509_STORE_CTX *ctx)
#define Q_DISABLE_COPY_MOVE(Class)
GLint GLint GLint GLint GLint x
[0]
GLenum GLenum GLsizei count
STACK_OF(X509) *q_X509_STORE_CTX_get0_chain(X509_STORE_CTX *ctx)
QList< QSslCertificate > cert
[0]