AusweisApp2
Lade ...
Suche ...
Keine Treffer
IfdEstablishContext.h
gehe zur Dokumentation dieser Datei
1
5#pragma once
6
7#include "DeviceInfo.h"
8#include "IfdVersion.h"
9#include "RemoteMessage.h"
10
11#include <QJsonObject>
12#include <QString>
13
14
15namespace governikus
16{
18 : public RemoteMessage
19{
20 private:
21 QString mProtocolRaw;
22 IfdVersion mProtocol;
23 QString mUdName;
24
25 public:
26 IfdEstablishContext(const IfdVersion& pProtocol, 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(const IfdVersion& pIfdVersion, const QString& pContextHandle) const override;
34};
35
36
37} // namespace governikus
Definition: IfdEstablishContext.h:19
const IfdVersion & getProtocol() const
Definition: IfdEstablishContext.cpp:46
const QString & getUdName() const
Definition: IfdEstablishContext.cpp:58
const QString & getProtocolRaw() const
Definition: IfdEstablishContext.cpp:52
~IfdEstablishContext() override=default
QByteArray toByteArray(const IfdVersion &pIfdVersion, const QString &pContextHandle) const override
Definition: IfdEstablishContext.cpp:64
Definition: IfdVersion.h:14
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15