AusweisApp2
Lade ...
Suche ...
Keine Treffer
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-2022 Governikus GmbH & Co. KG, Germany
5 */
6
7#pragma once
8
9#include "AbstractState.h"
11#include "context/AuthContext.h"
12
13#include <QDateTime>
14
15
16namespace governikus
17{
18
20 : public AbstractState
21 , public GenericContextContainer<AuthContext>
22{
23 Q_OBJECT
24 friend class StateBuilder;
25 friend class ::test_StatePreVerification;
26
27 private:
28 const QVector<QSharedPointer<const CVCertificate>> mTrustedCvcas;
29 const QDateTime mValidationDateTime;
30
31 explicit StatePreVerification(const QSharedPointer<WorkflowContext>& pContext);
32 void run() override;
33
34 bool isValid(const QVector<QSharedPointer<const CVCertificate>>& pCertificates);
35 void saveCvcaLinkCertificates(const QVector<QSharedPointer<const CVCertificate>>& pCertificates);
36};
37
38} // namespace governikus
Definition: AbstractState.h:20
Definition: GenericContextContainer.h:20
Definition: StateBuilder.h:18
Definition: StatePreVerification.h:22
A simple template renderer.
Definition: ActivationContext.h:15