AusweisApp2
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:
24 IfdMessageResponse(IfdMessageType pType, ECardApiResult::Minor pResultMinor);
25 explicit IfdMessageResponse(const QJsonObject& pMessageObject);
26 ~IfdMessageResponse() override = default;
27
28 [[nodiscard]] bool resultHasError() const;
29 [[nodiscard]] ECardApiResult::Minor getResultMinor() 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
ECardApiResult::Minor getResultMinor() const
Definition: IfdMessageResponse.cpp:64
~IfdMessageResponse() override=default
Implementation of GeneralAuthenticate response APDUs.
Definition: CommandApdu.h:16