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  virtual void run() override;
33  void reportCommunicationError(const GlobalStatus& pStatus);
34  bool checkSslConnectionAndSaveCertificate(const QSslConfiguration& pSslConfiguration);
35 
36  private Q_SLOTS:
37  void onNetworkReply();
38  void onSslErrors(const QList<QSslError>& pErrors);
39  void onSslHandshakeDone();
40 };
41 
42 } // namespace governikus
Definition: AbstractState.h:20
Definition: GenericContextContainer.h:20
Definition: GlobalStatus.h:20
Definition: StateBuilder.h:18
Definition: StateGetSelfAuthenticationData.h:22
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15