AusweisApp2
Lade ...
Suche ...
Keine Treffer
StatePreVerification.h
gehe zur Dokumentation dieser Datei
1
5/*
6 * \brief Performs the pre-verification of cvcs. If the pre-verification succeeds the cvc chain is set to the authentication model.
7 */
8
9#pragma once
10
11#include "AbstractState.h"
13#include "context/AuthContext.h"
14
15#include <QDateTime>
16
17
18namespace governikus
19{
20
22 : public AbstractState
23 , public GenericContextContainer<AuthContext>
24{
25 Q_OBJECT
26 friend class StateBuilder;
27 friend class ::test_StatePreVerification;
28
29 private:
30 const QVector<QSharedPointer<const CVCertificate>> mTrustedCvcas;
31 const QDateTime mValidationDateTime;
32
33 explicit StatePreVerification(const QSharedPointer<WorkflowContext>& pContext);
34 void run() override;
35
36 bool isValid(const QVector<QSharedPointer<const CVCertificate>>& pCertificates);
37 void saveCvcaLinkCertificates(const QVector<QSharedPointer<const CVCertificate>>& pCertificates);
38};
39
40} // namespace governikus
Definition: AbstractState.h:23
Definition: GenericContextContainer.h:22
Definition: StateBuilder.h:20
Definition: StatePreVerification.h:24
Implementation of GeneralAuthenticate response APDUs.
Definition: CommandApdu.h:16