![]() |
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_openssl_p.h>
Additional Inherited Members | |
Protected Member Functions inherited from QTlsPrivate::X509CertificateBase | |
bool | validIndex (qsizetype index) const |
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 36 of file qx509_openssl_p.h.
|
default |
QTlsPrivate::X509CertificateOpenSSL::~X509CertificateOpenSSL | ( | ) |
Definition at line 400 of file qx509_openssl.cpp.
References q_X509_free().
|
static |
Definition at line 540 of file qx509_openssl.cpp.
References q_X509_dup(), q_X509_get_serialNumber(), q_X509_getm_notAfter(), and q_X509_getm_notBefore().
|
static |
Definition at line 755 of file qx509_openssl.cpp.
References q_d2i_X509(), and q_X509_free().
|
static |
Definition at line 721 of file qx509_openssl.cpp.
References q_X509_free().
|
static |
Definition at line 593 of file qx509_openssl.cpp.
References q_X509_STORE_CTX_get_error(), and q_X509_STORE_CTX_get_error_depth().
Referenced by QTlsPrivate::TlsCryptographOpenSSL::emitErrorFromCallback(), QTlsPrivate::q_X509Callback(), dtlscallbacks::q_X509DtlsCallback(), and QTlsPrivate::qt_X509Callback().
|
overridevirtual |
This function is expected to return a pointer to the native certificate handle, if there is one, else nullptr.
Implements QTlsPrivate::X509Certificate.
Definition at line 522 of file qx509_openssl.cpp.
|
overridevirtualnoexcept |
This function is expected to return the hash value for this certificate, using seed to seed the calculation.
Implements QTlsPrivate::X509Certificate.
Definition at line 527 of file qx509_openssl.cpp.
References q_EVP_sha1(), and q_X509_digest().
|
static |
Definition at line 775 of file qx509_openssl.cpp.
References q_BIO_free(), q_d2i_PKCS12_bio(), q_ERR_error_string(), q_ERR_get_error(), q_EVP_PKEY_free(), q_OPENSSL_sk_pop_free(), q_PKCS12_free(), and q_X509_free().
|
overridevirtual |
This function is expected to return true
if this certificate is the same as the other, false
otherwise. Used by QSslCertificate's comparison operators.
Implements QTlsPrivate::X509Certificate.
Definition at line 406 of file qx509_openssl.cpp.
References QTlsBackendOpenSSL::logAndClearErrorQueue().
|
overridevirtual |
This function is needed to implement QSslCertificate::isSelfSigned()
Implements QTlsPrivate::X509Certificate.
Definition at line 420 of file qx509_openssl.cpp.
References q_X509_check_issued().
|
static |
Definition at line 838 of file qx509_openssl.cpp.
|
overridevirtual |
Returns the certificate subject's public key.
Reimplemented from QTlsPrivate::X509Certificate.
Definition at line 490 of file qx509_openssl.cpp.
References QTlsPrivate::TlsKeyOpenSSL::publicKeyFromX509().
|
static |
Definition at line 579 of file qx509_openssl.cpp.
|
overridevirtual |
This function is expected to return the list of alternative subject names for this certificate. The alternative names typically contain host names, optionally with wildcards, that are valid for this certificate.
Implements QTlsPrivate::X509Certificate.
Definition at line 429 of file qx509_openssl.cpp.
References q_ASN1_STRING_get0_data(), q_ASN1_STRING_length(), q_GENERAL_NAME_free(), q_OPENSSL_sk_pop_free(), and q_X509_get_ext_d2i().
|
overridevirtual |
This function is expected to return this certificate converted to a DER (binary) encoded representation.
Implements QTlsPrivate::X509Certificate.
Definition at line 506 of file qx509_openssl.cpp.
|
overridevirtual |
This function is expected to return this certificate converted to a PEM (Base64) encoded representation.
Implements QTlsPrivate::X509Certificate.
Definition at line 498 of file qx509_openssl.cpp.
|
overridevirtual |
This function is expected to return this certificate converted to a human-readable text representation.
Implements QTlsPrivate::X509Certificate.
Definition at line 514 of file qx509_openssl.cpp.
|
static |
Definition at line 616 of file qx509_openssl.cpp.
References q_OPENSSL_sk_free(), q_OPENSSL_sk_new_null(), q_X509_STORE_CTX_init(), q_X509_STORE_CTX_new(), q_X509_STORE_free(), q_X509_STORE_new(), q_X509_STORE_set_verify_cb(), q_X509_verify_cert(), and QTlsPrivate::qt_X509Callback().
|
static |
Definition at line 600 of file qx509_openssl.cpp.