AusweisApp2
StateGetSelfAuthenticationData.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
9 #include "AbstractState.h"
12 #include "NetworkManager.h"
13 
14 class test_StateGetSelfAuthenticationData;
15 
16 namespace governikus
17 {
18 
20  : public AbstractState
21  , public GenericContextContainer<SelfAuthContext>
22 {
23  Q_OBJECT
24 
25  friend class StateBuilder;
26  friend class ::test_StateGetSelfAuthenticationData;
27 
28  private:
29  QSharedPointer<QNetworkReply> mReply;
30 
31  explicit StateGetSelfAuthenticationData(const QSharedPointer<WorkflowContext>& pContext);
32  void run() override;
33  void reportCommunicationError(const GlobalStatus& pStatus);
34  void checkSslConnectionAndSaveCertificate(const QSslConfiguration& pSslConfiguration);
35 
36  private Q_SLOTS:
37  void onSslErrors(const QList<QSslError>& pErrors);
38  void onSslHandshakeDone();
39  void onNetworkReply();
40 
41  public:
42  void onExit(QEvent* pEvent) override;
43 };
44 
45 } // namespace governikus
Definition: StateGetSelfAuthenticationData.h:19
Definition: GlobalStatus.h:19
void onExit(QEvent *pEvent) override
Definition: StateGetSelfAuthenticationData.cpp:145
Definition: AbstractState.h:18
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:14
Definition: GenericContextContainer.h:19
Definition: StateBuilder.h:17