![]() |
Qt 6.x
The Qt SDK
|
#include <qx509_schannel_p.h>
Inheritance diagram for QTlsPrivate::X509CertificateSchannel:
Collaboration diagram for QTlsPrivate::X509CertificateSchannel: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 Public Member Functions inherited from QTlsPrivate::X509CertificateGeneric | |
| static QList< QSslCertificate > | certificatesFromPem (const QByteArray &pem, int count) |
| static QList< QSslCertificate > | certificatesFromDer (const QByteArray &der, int count) |
Static Public Member Functions inherited from QTlsPrivate::X509CertificateBase | |
| static QByteArray | subjectInfoToString (QSslCertificate::SubjectInfo info) |
| static bool | matchLineFeed (const QByteArray &pem, int *offset) |
Additional Inherited Members | |
Protected Member Functions inherited from QTlsPrivate::X509CertificateGeneric | |
| bool | parse (const QByteArray &data) |
| bool | parseExtension (const QByteArray &data, X509CertificateExtension &extension) |
Protected Member Functions inherited from QTlsPrivate::X509CertificateBase | |
| bool | validIndex (qsizetype index) const |
Protected Attributes inherited from QTlsPrivate::X509CertificateGeneric | |
| bool | subjectMatchesIssuer = false |
| QSsl::KeyAlgorithm | publicKeyAlgorithm = QSsl::Rsa |
| QByteArray | publicKeyDerData |
| QMultiMap< QSsl::AlternativeNameEntryType, QString > | saNames |
| QByteArray | derData |
Protected Attributes inherited from QTlsPrivate::X509CertificateBase | |
| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function: