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