AusweisApp
Lade ...
Suche ...
Keine Treffer
IfdMessageResponse.h
gehe zur Dokumentation dieser Datei
1
5#pragma once
6
7#include "ECardApiResult.h"
8#include "IfdMessage.h"
9
10
11namespace governikus
12{
14 : public IfdMessage
15{
16 private:
17 ECardApiResult::Major mResultMajor;
18 ECardApiResult::Minor mResultMinor;
19
20 protected:
21 [[nodiscard]] QJsonObject createMessageBody(const QString& pContextHandle) const override;
22
23 public:
26 ~IfdMessageResponse() override = default;
27
28 [[nodiscard]] bool resultHasError() const;
30};
31
32
33} // namespace governikus
Minor
Definition ECardApiResult.h:50
Major
Definition ECardApiResult.h:42
Definition IfdMessageResponse.h:15
bool resultHasError() const
Definition IfdMessageResponse.cpp:58
QJsonObject createMessageBody(const QString &pContextHandle) const override
Definition IfdMessageResponse.cpp:24
IfdMessageResponse(IfdMessageType pType, ECardApiResult::Minor pResultMinor)
Definition IfdMessageResponse.cpp:34
ECardApiResult::Minor getResultMinor() const
Definition IfdMessageResponse.cpp:64
~IfdMessageResponse() override=default
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