![]() |
Qt 6.x
The Qt SDK
|
#include <qx509_schannel_p.h>
Static Public Member Functions | |
static QSslCertificate | QSslCertificate_from_CERT_CONTEXT (const CERT_CONTEXT *certificateContext) |
static bool | importPkcs12 (QIODevice *device, QSslKey *key, QSslCertificate *cert, QList< QSslCertificate > *caCertificates, const QByteArray &passPhrase) |
![]() | |
static QList< QSslCertificate > | certificatesFromPem (const QByteArray &pem, int count) |
static QList< QSslCertificate > | certificatesFromDer (const QByteArray &der, int count) |
![]() | |
static QByteArray | subjectInfoToString (QSslCertificate::SubjectInfo info) |
static bool | matchLineFeed (const QByteArray &pem, int *offset) |
Additional Inherited Members | |
![]() | |
bool | parse (const QByteArray &data) |
bool | parseExtension (const QByteArray &data, X509CertificateExtension &extension) |
![]() | |
bool | validIndex (qsizetype index) const |
![]() | |
bool | subjectMatchesIssuer = false |
QSsl::KeyAlgorithm | publicKeyAlgorithm = QSsl::Rsa |
QByteArray | publicKeyDerData |
QMultiMap< QSsl::AlternativeNameEntryType, QString > | saNames |
QByteArray | derData |
![]() | |
bool | null = true |
QByteArray | versionString |
QByteArray | serialNumberString |
QMultiMap< QByteArray, QString > | issuerInfoEntries |
QMultiMap< QByteArray, QString > | subjectInfoEntries |
QDateTime | notValidAfter |
QDateTime | notValidBefore |
QList< X509CertificateExtension > | extensions |
Definition at line 29 of file qx509_schannel_p.h.
|
default |
QTlsPrivate::X509CertificateSchannel::~X509CertificateSchannel | ( | ) |
Definition at line 19 of file qx509_schannel.cpp.
|
overridevirtual |
This function is expected to return a pointer to the native certificate handle, if there is one, else nullptr.
Reimplemented from QTlsPrivate::X509CertificateGeneric.
Definition at line 34 of file qx509_schannel.cpp.
|
static |
Definition at line 51 of file qx509_schannel.cpp.
References QList< T >::append(), cert, QByteArray::data(), QSsl::Der, QTlsPrivate::X509CertificateGeneric::derData, device, QString::fromUtf8(), policy, QSsl::PrivateKey, Q_ASSERT, qCWarning, qPrintable, QSslCertificate_from_CERT_CONTEXT(), QSsl::Rsa, QByteArray::size(), and Qt::Uninitialized.
Referenced by QSchannelBackend::X509Pkcs12Reader().
|
overridevirtual |
Returns the certificate subject's public key.
Reimplemented from QTlsPrivate::X509Certificate.
Definition at line 25 of file qx509_schannel.cpp.
References QSsl::Opaque, QSsl::PublicKey, QTlsPrivate::X509CertificateGeneric::publicKeyAlgorithm, and QTlsPrivate::X509CertificateGeneric::publicKeyDerData.
|
static |
Definition at line 39 of file qx509_schannel.cpp.
References QSsl::Der, QTlsPrivate::X509CertificateGeneric::derData, and Q_ASSERT.
Referenced by importPkcs12().