AusweisApp
Lade ...
Suche ...
Keine Treffer
PaosHandler.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
12#include "paos/PaosMessage.h"
13
14#include <QSharedPointer>
15#include <QXmlStreamReader>
16
17namespace governikus
18{
19
21 : private ElementDetector
22{
24
25 private:
26 const QByteArray mXmlData;
27 PaosType mDetectedType;
28 QSharedPointer<PaosMessage> mParsedObject;
29
30 void detect();
31 void parse();
32 void setParsedObject(PaosMessage* pParsedObject);
33
34 bool handleFoundElement(QStringView pElementName, const QString& pValue, const QXmlStreamAttributes& pAttributes) override;
35
36 public:
37 explicit PaosHandler(const QByteArray& pXmlData);
38
41};
42
43} // namespace governikus
Definition ElementDetector.h:19
Definition PaosHandler.h:22
QSharedPointer< PaosMessage > getPaosMessage() const
Definition PaosHandler.cpp:137
PaosHandler(const QByteArray &pXmlData)
Definition PaosHandler.cpp:21
PaosType getDetectedPaosType() const
Definition PaosHandler.cpp:131
Definition PaosMessage.h:21
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