AusweisApp
Lade ...
Suche ...
Keine Treffer
IfdEstablishContext.h
gehe zur Dokumentation dieser Datei
1
4
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
const IfdVersion & getProtocol() const
Definition IfdEstablishContext.cpp:43
QByteArray toByteArray(IfdVersion::Version pIfdVersion, const QString &pContextHandle) const override
Definition IfdEstablishContext.cpp:61
const QString & getUdName() const
Definition IfdEstablishContext.cpp:55
IfdEstablishContext(const IfdVersion::Version &pVersion, const QString &pUdName)
Definition IfdEstablishContext.cpp:25
const QString & getProtocolRaw() const
Definition IfdEstablishContext.cpp:49
~IfdEstablishContext() override=default
Definition IfdVersion.h:14
Version
Definition IfdVersion.h:17
Defines the AccessRight and AccessRole enum.
Definition CommandApdu.h:17