AusweisApp2
StateCheckCertificates.h
gehe zur Dokumentation dieser Datei
1 
9 #pragma once
10 
11 #include "AbstractState.h"
12 #include "context/AuthContext.h"
14 
15 namespace governikus
16 {
17 
19  : public AbstractState
20  , public GenericContextContainer<AuthContext>
21 {
22  Q_OBJECT
23  friend class StateBuilder;
24 
25  explicit StateCheckCertificates(const QSharedPointer<WorkflowContext>& pContext);
26  void run() override;
27 };
28 
29 } // namespace governikus
StateCheckCertificates.h
AuthContext.h
TlsChecker.h
governikus::TlsChecker::getCertificateIssuerName
static QString getCertificateIssuerName(const QSslCertificate &pCertificate)
This method is only needed until QSslCertificate provides its own method issuerDisplayName in Qt 5....
Definition: TlsChecker.cpp:102
governikus::StateCheckCertificates
Definition: StateCheckCertificates.h:21
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()
governikus::TlsChecker::checkCertificate
static bool checkCertificate(const QSslCertificate &pCertificate, QCryptographicHash::Algorithm pAlgorithm, const QSet< QString > &pAcceptedCertificateHashes)
Checks, whether the certificate's hash is contained in a set of accepted certificate hashes.
Definition: TlsChecker.cpp:27
governikus::AbstractState::fireAbort
void fireAbort()
GenericContextContainer.h
governikus::StateBuilder
Definition: StateBuilder.h:18
AbstractState.h
governikus::GlobalStatus::Code::Workflow_TrustedChannel_Hash_Not_In_Description
@ Workflow_TrustedChannel_Hash_Not_In_Description
governikus
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15
governikus::GenericContextContainer
Definition: GenericContextContainer.h:20
governikus::GlobalStatus::ExternalInformation::CERTIFICATE_ISSUER_NAME
@ CERTIFICATE_ISSUER_NAME
governikus::AbstractState::updateStatus
void updateStatus(const GlobalStatus &pStatus)
Definition: AbstractState.cpp:138