AusweisApp2
Lade ...
Suche ...
Keine Treffer
IfdEstablishContext.h
gehe zur Dokumentation dieser Datei
1
5#pragma once
6
7#include "DeviceInfo.h"
8#include "IfdMessage.h"
9#include "IfdVersion.h"
10
11#include <QJsonObject>
12#include <QString>
13
14
15namespace governikus
16{
18 : public IfdMessage
19{
20 private:
21 QString mProtocolRaw;
22 IfdVersion mProtocol;
23 QString mUdName;
24
25 public:
26 IfdEstablishContext(const IfdVersion::Version& pVersion, const QString& pUdName);
27 explicit IfdEstablishContext(const QJsonObject& pMessageObject);
28 ~IfdEstablishContext() override = default;
29
30 [[nodiscard]] const IfdVersion& getProtocol() const;
31 [[nodiscard]] const QString& getProtocolRaw() const;
32 [[nodiscard]] const QString& getUdName() const;
33 [[nodiscard]] QByteArray toByteArray(IfdVersion::Version pIfdVersion, const QString& pContextHandle) const override;
34};
35
36
37} // namespace governikus
Definition: IfdEstablishContext.h:19
const IfdVersion & getProtocol() const
Definition: IfdEstablishContext.cpp:46
QByteArray toByteArray(IfdVersion::Version pIfdVersion, const QString &pContextHandle) const override
Definition: IfdEstablishContext.cpp:64
const QString & getUdName() const
Definition: IfdEstablishContext.cpp:58
const QString & getProtocolRaw() const
Definition: IfdEstablishContext.cpp:52
~IfdEstablishContext() override=default
Definition: IfdVersion.h:14
Version
Definition: IfdVersion.h:17
Implementation of GeneralAuthenticate response APDUs.
Definition: CommandApdu.h:16