gehe zur Dokumentation dieser Datei
14 class test_StateGetSelfAuthenticationData;
25 friend class ::test_StateGetSelfAuthenticationData;
27 QPointer<QNetworkReply> mReply;
30 virtual void run()
override;
31 void reportCommunicationError(
const GlobalStatus& pStatus);
32 bool checkSslConnectionAndSaveCertificate(
const QSslConfiguration& pSslConfiguration);
38 void onNetworkReply();
39 void onSslErrors(
const QList<QSslError>& pErrors);
40 void onSslHandshakeDone();
@ Workflow_Network_Ssl_Hash_Not_In_Certificate_Description
static CertificateStatus checkAndSaveCertificate(const QSslCertificate &pCertificate, const QUrl &pUrl, const QSharedPointer< DIDAuthenticateEAC1 > &pEAC1, const QSharedPointer< const CVCertificate > &pDvCvc, const std::function< void(const QUrl &, const QSslCertificate &)> &pSaveCertificateFunc)
Checks certificate and, if OK, save it using a callback function.
Definition: CertificateChecker.cpp:20
static bool containsFatalError(QNetworkReply *pReply, const QList< QSslError > &pErrors)
Definition: TlsChecker.cpp:274
@ Workflow_Server_Incomplete_Information_Provided
static QString getCertificateIssuerName(const QSslCertificate &pCertificate)
This method is only needed until QSslCertificate provides its own method issuerDisplayName in Qt 5....
Definition: TlsChecker.cpp:102
@ Unsupported_Algorithm_Or_Length
@ Hash_Not_In_Description
Definition: AbstractState.h:20
virtual QSharedPointer< SelfAuthContext > getContext()
Definition: GenericContextContainer.h:34
Definition: StateBuilder.h:18
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15
static bool hasValidEphemeralKeyLength(const QSslKey &pEphemeralServerKey)
Checks, whether the length of the ephemeral key is of sufficient length.
Definition: TlsChecker.cpp:62
Definition: GenericContextContainer.h:20
@ CERTIFICATE_ISSUER_NAME
@ Workflow_Network_Ssl_Certificate_Unsupported_Algorithm_Or_Length
virtual ~StateGetSelfAuthenticationData() override
Definition: StateGetSelfAuthenticationData.cpp:28
#define spawnMessageLogger(category)
Definition: LogHandler.h:21
Definition: SelfAuthenticationData.h:59
Definition: GlobalStatus.h:20
@ Network_Ssl_Establishment_Error
void updateStatus(const GlobalStatus &pStatus)
Definition: AbstractState.cpp:127
Definition: StateGetSelfAuthenticationData.h:22
static int getLoggedStatusCode(const QNetworkReply *const pReply, const QMessageLogger &pLogger)
Definition: NetworkManager.cpp:298
static void logSslConfig(const QSslConfiguration &pCfg, const QMessageLogger &pLogger)
Definition: TlsChecker.cpp:294
QVector< QMetaObject::Connection > mConnections
Definition: AbstractState.h:33
@ Workflow_Network_Ssl_Connection_Unsupported_Algorithm_Or_Length
QMap< ExternalInformation, QString > ExternalInfoMap
Definition: GlobalStatus.h:134