![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qx509_base_p.h>
Classes | |
struct | X509CertificateExtension |
Static Public Member Functions | |
static QByteArray | subjectInfoToString (QSslCertificate::SubjectInfo info) |
static bool | matchLineFeed (const QByteArray &pem, int *offset) |
Protected Member Functions | |
bool | validIndex (qsizetype index) const |
Protected Attributes | |
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 34 of file qx509_base_p.h.
|
overridevirtual |
This function is expected to return the date-time that the certificate becomes valid, or an empty QDateTime if this is a null certificate.
Implements QTlsPrivate::X509Certificate.
Definition at line 96 of file qx509_base.cpp.
|
overridevirtual |
This function is expected to return the date-time that the certificate expires, or an empty QDateTime if this is a null certificate.
Implements QTlsPrivate::X509Certificate.
Definition at line 101 of file qx509_base.cpp.
|
overridevirtual |
This function is expected to return the criticality of the extension with index i.
Implements QTlsPrivate::X509Certificate.
Definition at line 129 of file qx509_base.cpp.
|
overridevirtual |
This function is expected to return true
if this extension is supported. In this case, supported simply means that the structure of the QVariant returned by the valueForExtension() accessor will remain unchanged between versions.
Implements QTlsPrivate::X509Certificate.
Definition at line 135 of file qx509_base.cpp.
|
overridevirtual |
Returns true if this certificate was default-constructed and not initialized yet. This function is called by QSslCertificate::isNull().
Implements QTlsPrivate::X509Certificate.
Definition at line 51 of file qx509_base.cpp.
References null.
|
overridevirtual |
This function is expected to return the issuer information for attribute from the certificate, or an empty list if there is no information for attribute in the certificate. There can be more than one entry for an attribute.
Implements QTlsPrivate::X509Certificate.
Definition at line 71 of file qx509_base.cpp.
|
overridevirtual |
This function is expected to return the issuer information for the subject from the certificate, or an empty list if there is no information for subject in the certificate. There can be more than one entry of each type.
Implements QTlsPrivate::X509Certificate.
Definition at line 66 of file qx509_base.cpp.
|
overridevirtual |
This function is expected to return a list of the attributes that have values in the issuer information of this certificate. The information associated with a given attribute can be accessed using the issuerInfo() method. Note that this list may include the OIDs for any elements that are not known by the TLS backend.
Implements QTlsPrivate::X509Certificate.
Definition at line 91 of file qx509_base.cpp.
|
static |
Definition at line 29 of file qx509_base.cpp.
This function is expected to return the name for the extension with index i. If no name is known for the extension then the OID will be returned.
Implements QTlsPrivate::X509Certificate.
Definition at line 117 of file qx509_base.cpp.
|
overridevirtual |
This function is expected to return the number of X509 extensions of this certificate.
Implements QTlsPrivate::X509Certificate.
Definition at line 106 of file qx509_base.cpp.
This function is expected to return the ASN.1 OID for the extension with index i.
Implements QTlsPrivate::X509Certificate.
Definition at line 111 of file qx509_base.cpp.
|
overridevirtual |
This function is expected to return the certificate's serial number string in hexadecimal format.
Implements QTlsPrivate::X509Certificate.
Definition at line 61 of file qx509_base.cpp.
|
overridevirtual |
This function is expected to return the subject information for attribute, or an empty list if there is no information for attribute in the certificate. There can be more than one entry for an attribute.
Implements QTlsPrivate::X509Certificate.
Definition at line 81 of file qx509_base.cpp.
|
overridevirtual |
This function is expected to return the information for the subject, or an empty list if there is no information for subject in the certificate. There can be more than one entry of each type.
Implements QTlsPrivate::X509Certificate.
Definition at line 76 of file qx509_base.cpp.
|
overridevirtual |
This function is expected to return a list of the attributes that have values in the subject information of this certificate. The information associated with a given attribute can be accessed using the subjectInfo() method. Note that this list may include the OIDs for any elements that are not known by the TLS backend.
Implements QTlsPrivate::X509Certificate.
Definition at line 86 of file qx509_base.cpp.
|
static |
Definition at line 11 of file qx509_base.cpp.
|
inlineprotected |
Definition at line 60 of file qx509_base_p.h.
This function is expected to return the value of the extension with index i. The structure of the value returned depends on the extension type
Implements QTlsPrivate::X509Certificate.
Definition at line 123 of file qx509_base.cpp.
|
overridevirtual |
Implements QSslCertificate::version().
Implements QTlsPrivate::X509Certificate.
Definition at line 56 of file qx509_base.cpp.
|
protected |
Definition at line 83 of file qx509_base_p.h.
|
protected |
Definition at line 69 of file qx509_base_p.h.
|
protected |
Definition at line 71 of file qx509_base_p.h.
|
protected |
Definition at line 72 of file qx509_base_p.h.
|
protected |
Definition at line 65 of file qx509_base_p.h.
Referenced by isNull(), QTlsPrivate::X509CertificateGeneric::isSelfSigned(), and QTlsPrivate::X509CertificateGeneric::parse().
|
protected |
Definition at line 67 of file qx509_base_p.h.
|
protected |
Definition at line 70 of file qx509_base_p.h.
|
protected |
Definition at line 66 of file qx509_base_p.h.