gehe zur Dokumentation dieser Datei
14 class test_StateGetSelfAuthenticationData;
26 friend class ::test_StateGetSelfAuthenticationData;
29 QSharedPointer<QNetworkReply> mReply;
33 void reportCommunicationError(
const GlobalStatus& pStatus);
34 void checkSslConnectionAndSaveCertificate(
const QSslConfiguration& pSslConfiguration);
37 void onSslErrors(
const QList<QSslError>& pErrors);
38 void onSslHandshakeDone();
39 void onNetworkReply();
42 void onExit(QEvent* pEvent)
override;
@ 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
@ 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
static int getLoggedStatusCode(const QSharedPointer< const QNetworkReply > &pReply, const QMessageLogger &pLogger)
Definition: NetworkManager.cpp:274
@ Unsupported_Algorithm_Or_Length
@ Hash_Not_In_Description
Definition: AbstractState.h:20
virtual QSharedPointer< SelfAuthContext > getContext()
Definition: GenericContextContainer.h:34
void onExit(QEvent *pEvent) override
Definition: AbstractState.cpp:93
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
static bool containsFatalError(const QSharedPointer< QNetworkReply > &pReply, const QList< QSslError > &pErrors)
Definition: TlsChecker.cpp:275
@ Workflow_Network_Ssl_Certificate_Unsupported_Algorithm_Or_Length
#define spawnMessageLogger(category)
Definition: LogHandler.h:22
Definition: SelfAuthenticationData.h:59
Definition: GlobalStatus.h:20
@ Network_Ssl_Establishment_Error
void updateStatus(const GlobalStatus &pStatus)
Definition: AbstractState.cpp:138
Definition: StateGetSelfAuthenticationData.h:22
void clearConnections()
Definition: AbstractState.cpp:103
void onExit(QEvent *pEvent) override
Definition: StateGetSelfAuthenticationData.cpp:145
static void logSslConfig(const QSslConfiguration &pCfg, const QMessageLogger &pLogger)
Definition: TlsChecker.cpp:295
QVector< QMetaObject::Connection > mConnections
Definition: AbstractState.h:31
@ Workflow_Network_Ssl_Connection_Unsupported_Algorithm_Or_Length
QMap< ExternalInformation, QString > ExternalInfoMap
Definition: GlobalStatus.h:136