AusweisApp
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{
26 friend class StateBuilder;
27 friend class ::test_StatePreVerification;
28
29 private:
30 const QList<QSharedPointer<const CVCertificate>> mTrustedCvcas;
31 const QDateTime mValidationDateTime;
32
34 void run() override;
35
36 bool isValid(const QList<QSharedPointer<const CVCertificate>>& pCertificates) const;
37 void saveCvcaLinkCertificates(const QList<QSharedPointer<const CVCertificate>>& pCertificates) const;
38};
39
40} // namespace governikus
Definition AbstractState.h:36
Definition GenericContextContainer.h:22
Definition StateBuilder.h:19
Definition StatePreVerification.h:24
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114