AusweisApp2
Lade ...
Suche ...
Keine Treffer
MsgHandlerAccessRights.h
gehe zur Dokumentation dieser Datei
1
7#pragma once
8
9#include "MsgContext.h"
10#include "MsgHandler.h"
11#include "context/AuthContext.h"
12
13#include <functional>
14
15namespace governikus
16{
17
19 : public MsgHandler
20{
21 private:
22 void setError(const QLatin1String pError);
23
24 void handleSetChatData(const QJsonArray& pChat, const QSharedPointer<AuthContext>& pContext);
25 [[nodiscard]] QJsonArray getAccessRights(const QSet<AccessRight>& pRights) const;
26 void fillAccessRights(const QSharedPointer<const AuthContext>& pContext);
27 [[nodiscard]] QJsonObject getAuxiliaryData(const QSharedPointer<const AuthContext>& pContext) const;
28
29 public:
30 explicit MsgHandlerAccessRights(const MsgContext& pContext);
31 explicit MsgHandlerAccessRights(const QJsonObject& pObj, MsgContext& pContext);
32};
33
34
35} // namespace governikus
Definition: MsgContext.h:17
Definition: MsgHandlerAccessRights.h:20
Definition: MsgHandler.h:18
Implementation of GeneralAuthenticate response APDUs.
Definition: CommandApdu.h:16
QSet< AccessRight > getAccessRights() const