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
"
12
#include "
GenericContextContainer.h
"
13
#include "
context/AuthContext.h
"
14
15
#include <QDateTime>
16
17
18
namespace
governikus
19
{
20
21
class
StatePreVerification
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
QList<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
QList<
QSharedPointer<const CVCertificate>
>&
pCertificates
)
const
;
37
void
saveCvcaLinkCertificates(
const
QList<
QSharedPointer<const CVCertificate>
>&
pCertificates
)
const
;
38
};
39
40
}
// namespace governikus
AbstractState.h
AuthContext.h
GenericContextContainer.h
governikus::AbstractState
Definition
AbstractState.h:36
governikus::GenericContextContainer
Definition
GenericContextContainer.h:22
governikus::StateBuilder
Definition
StateBuilder.h:19
governikus::StatePreVerification
Definition
StatePreVerification.h:24
governikus
Implementation of GeneralAuthenticate response APDUs.
Definition
CommandApdu.h:17
governikus::decodeObject
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition
ASN1TemplateUtil.h:114
src
workflows
base
states
StatePreVerification.h
Erzeugt von
1.10.0