AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
StatePreVerification.h
gehe zur Dokumentation dieser Datei
1 /*
2  * \brief Performs the pre-verification of cvcs. If the pre-verification succeeds the cvc chain is set to the authentication model.
3  *
4  * \copyright Copyright (c) 2014-2018 Governikus GmbH & Co. KG, Germany
5  */
6 
7 #pragma once
8 
9 #include "context/AuthContext.h"
11 
12 #include <QDateTime>
13 
14 class test_StatePreVerification;
15 
16 namespace governikus
17 {
18 
20  : public AbstractGenericState<AuthContext>
21 {
22  Q_OBJECT
23  friend class StateBuilder;
24  friend class ::test_StatePreVerification;
25 
26  const QVector<QSharedPointer<const CVCertificate> > mTrustedCvcas;
27  const QDateTime mValidationDateTime;
28 
29  StatePreVerification(const QSharedPointer<WorkflowContext>& pContext);
30  virtual void run() override;
31 
32  bool isValid(const QVector<QSharedPointer<const CVCertificate> >& pCertificates);
33  void saveCvcaLinkCertificates(const QVector<QSharedPointer<const CVCertificate> >& pCertificates);
34 };
35 
36 } /* namespace governikus */
Definition: StatePreVerification.h:19
Definition: AbstractGenericState.h:21
Definition: StateBuilder.h:17