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  friend class StateBuilder;
25  friend class ::test_StateGetSelfAuthenticationData;
26 
27  QPointer<QNetworkReply> mReply;
28 
29  explicit StateGetSelfAuthenticationData(const QSharedPointer<WorkflowContext>& pContext);
30  virtual void run() override;
31  void reportCommunicationError(const GlobalStatus& pStatus);
32  bool checkSslConnectionAndSaveCertificate(const QSslConfiguration& pSslConfiguration);
33 
34  public:
35  virtual ~StateGetSelfAuthenticationData() override;
36 
37  private Q_SLOTS:
38  void onNetworkReply();
39  void onSslErrors(const QList<QSslError>& pErrors);
40  void onSslHandshakeDone();
41 };
42 
43 } // namespace governikus
Definition: StateGetSelfAuthenticationData.h:19
Definition: GlobalStatus.h:19
Definition: AbstractState.h:18
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:14
virtual ~StateGetSelfAuthenticationData() override
Definition: StateGetSelfAuthenticationData.cpp:28
Definition: GenericContextContainer.h:19
Definition: StateBuilder.h:17