AusweisApp2
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-2020 Governikus GmbH & Co. KG, Germany
5
*/
6
7
#pragma once
8
9
#include "
AbstractState.h
"
10
#include "
context/AuthContext.h
"
11
#include "
GenericContextContainer.h
"
12
13
#include <QDateTime>
14
15
16
namespace
governikus
17
{
18
19
class
StatePreVerification
20
:
public
AbstractState
21
,
public
GenericContextContainer
<AuthContext>
22
{
23
Q_OBJECT
24
friend
class
StateBuilder
;
25
friend
class ::test_StatePreVerification;
26
27
const
QVector<QSharedPointer<const CVCertificate>> mTrustedCvcas;
28
const
QDateTime mValidationDateTime;
29
30
explicit
StatePreVerification
(
const
QSharedPointer<WorkflowContext>& pContext);
31
virtual
void
run()
override
;
32
33
bool
isValid(
const
QVector<QSharedPointer<const CVCertificate>>& pCertificates);
34
void
saveCvcaLinkCertificates(
const
QVector<QSharedPointer<const CVCertificate>>& pCertificates);
35
};
36
37
}
// namespace governikus
governikus::StatePreVerification
Definition:
StatePreVerification.h:22
AuthContext.h
governikus::CVCertificateChain::isProductive
bool isProductive() const
Is this a CVC chain for productive usage?
Definition:
CVCertificateChain.cpp:55
governikus::GlobalStatus::Code::Workflow_Preverification_Developermode_Error
@ Workflow_Preverification_Developermode_Error
AppSettings.h
governikus::AbstractState
Definition:
AbstractState.h:20
governikus::GenericContextContainer< AuthContext >::getContext
virtual QSharedPointer< AuthContext > getContext()
Definition:
GenericContextContainer.h:34
governikus::AbstractState::fireContinue
void fireContinue()
SecureStorage.h
governikus::AbstractState::fireAbort
void fireAbort()
GenericContextContainer.h
governikus::Env
Definition:
Env.h:39
governikus::CVCertificate
struct cvcertificate_st { CVCertificateBody *mBody CVCertificate
Definition:
CVCertificate.h:48
governikus::StateBuilder
Definition:
StateBuilder.h:18
StatePreVerification.h
AbstractState.h
SignatureChecker.h
CVCertificateChainBuilder.h
governikus::SignatureChecker
Definition:
SignatureChecker.h:16
governikus
Implementation of ActivationContext for Intent based activation on Android systems.
Definition:
ActivationContext.h:15
governikus::GenericContextContainer
Definition:
GenericContextContainer.h:20
EnumHelper.h
governikus::AbstractState::updateStatus
void updateStatus(const GlobalStatus &pStatus)
Definition:
AbstractState.cpp:127
governikus::SecureStorage
Definition:
SecureStorage.h:33
governikus::CVCertificateChain
Definition:
CVCertificateChain.h:22
governikus::GlobalStatus::Code::Workflow_Preverification_Error
@ Workflow_Preverification_Error
governikus::CVCertificateChain::isValid
bool isValid() const
Is this a valid CVC chain, i.e.
Definition:
CVCertificateChain.cpp:42
src
core
states
StatePreVerification.h
Erzeugt von
1.8.18