13 #include <QCoreApplication>
15 #include <QJsonObject>
19 #include <QSharedData>
55 PlaceOfResidenceNoPlaceInfo)
67 Q_DECLARE_TR_FUNCTIONS(governikus::SelfData)
70 bool parse(
const QByteArray& pData);
71 bool parseOperationsAllowedByUser(
const QJsonObject& pObject);
72 bool parsePersonalData(
const QJsonObject& pObject);
73 bool tryToInsertChild(
const QJsonValue& pValue, SelfAuthData pAuthData);
77 const QDateTime mDateTime;
78 QMap<SelfAuthData, SelfAuthDataPermission> mOperationsAllowed;
79 QMap<SelfAuthData, QString> mSelfAuthData;
81 explicit SelfData(
const QByteArray& pData);
82 QString getValue(SelfAuthData pData)
const;
86 QSharedDataPointer<SelfData> d;
95 [[nodiscard]]
bool isValid()
const;
96 [[nodiscard]] QString getValue(SelfAuthData pData)
const;
97 [[nodiscard]]
const QDateTime& getDateTime()
const;
Definition: SelfAuthenticationData.h:59
QVector< QPair< QString, QString > > OrderedSelfData
Definition: SelfAuthenticationData.h:61
~SelfAuthenticationData()=default
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15
UNKNOWN
Definition: SmartCardDefinitions.h:18
DateOfExpiry
Definition: SelfAuthenticationData.h:36
RestrictedID
Definition: SelfAuthenticationData.h:47
BirthName
Definition: AccessRoleAndRight.h:75
GivenNames
Definition: AccessRoleAndRight.h:82
IssuingState
Definition: SelfAuthenticationData.h:35
PlaceOfResidenceCity
Definition: SelfAuthenticationData.h:52
defineEnumType(KeyAgreementType, DH, ECDH) defineEnumType(MappingType
Method used for key agreement:
PlaceOfResidence
Definition: SelfAuthenticationData.h:44
PlaceOfResidenceCountry
Definition: SelfAuthenticationData.h:53
PlaceOfResidenceStreet
Definition: SelfAuthenticationData.h:51
DateOfBirth
Definition: AccessRoleAndRight.h:78
FamilyNames
Definition: SelfAuthenticationData.h:38
ResidencePermitI
Definition: AccessRoleAndRight.h:72
AcademicTitle
Definition: SelfAuthenticationData.h:40
Nationality
Definition: AccessRoleAndRight.h:76
PlaceOfResidenceZipCode
Definition: SelfAuthenticationData.h:54
PlaceVerification
Definition: SelfAuthenticationData.h:49
DocumentType
Definition: AccessRoleAndRight.h:85
ArtisticName
Definition: AccessRoleAndRight.h:80
AgeVerification
Definition: AccessRoleAndRight.h:89
PlaceOfBirth
Definition: AccessRoleAndRight.h:77