13 #include <QCoreApplication>
15 #include <QDomElement>
18 #include <QSharedData>
54 PlaceOfResidenceNoPlaceInfo)
66 Q_DECLARE_TR_FUNCTIONS(governikus::SelfData)
69 bool parse(
const QDomDocument& pDoc,
const QString& pElementName,
const std::function<
bool(
const QDomElement&)>& pParserFunc);
70 bool parseOperationsAllowedByUser(
const QDomElement& pElement);
71 bool parsePersonalData(
const QDomElement& pElement);
72 bool tryToInsertChild(
const QDomElement& pElement, SelfAuthData pAuthData);
76 const QDateTime mDateTime;
77 QMap<SelfAuthData, SelfAuthDataPermission> mOperationsAllowed;
78 QMap<SelfAuthData, QString> mSelfAuthData;
80 SelfData(
const QByteArray& pData);
81 QString getValue(SelfAuthData pData)
const;
85 QSharedDataPointer<SelfData> d;
88 SelfAuthenticationData(
const QByteArray& pData = QByteArray());
89 ~SelfAuthenticationData() =
default;
95 QString getValue(SelfAuthData pData)
const;
96 const QDateTime& getDateTime()
const;
97 OrderedSelfData getOrderedSelfData()
const;
PlaceOfBirth
Definition: AccessRoleAndRight.h:77
PlaceVerification
Definition: SelfAuthenticationData.h:32
DateOfExpiry
Definition: SelfAuthenticationData.h:32
RestrictedID
Definition: SelfAuthenticationData.h:32
PlaceOfResidenceCity
Definition: SelfAuthenticationData.h:32
ArtisticName
Definition: AccessRoleAndRight.h:80
Nationality
Definition: AccessRoleAndRight.h:76
PlaceOfResidenceZipCode
Definition: SelfAuthenticationData.h:32
UNKNOWN
Definition: SelfAuthenticationData.h:32
QVector< QPair< QString, QString > > OrderedSelfData
Definition: SelfAuthenticationData.h:60
DateOfBirth
Definition: AccessRoleAndRight.h:78
AcademicTitle
Definition: SelfAuthenticationData.h:32
PlaceOfResidence
Definition: SelfAuthenticationData.h:32
DocumentType
Definition: AccessRoleAndRight.h:85
FamilyNames
Definition: SelfAuthenticationData.h:32
AgeVerification
Definition: AccessRoleAndRight.h:88
BirthName
Definition: AccessRoleAndRight.h:75
defineEnumType(UiModule, CURRENT, DEFAULT, IDENTIFY, SETTINGS, PINMANAGEMENT) defineEnumType(StatusFormat
UI modules that can be requested to show.
PlaceOfResidenceStreet
Definition: SelfAuthenticationData.h:32
Definition: SelfAuthenticationData.h:57
ResidencePermitI
Definition: AccessRoleAndRight.h:72
GivenNames
Definition: AccessRoleAndRight.h:82
PlaceOfResidenceCountry
Definition: SelfAuthenticationData.h:32
IssuingState
Definition: SelfAuthenticationData.h:32