Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: person details when fn and gn are missing
* Fix person details when fn and gn are missing This commit fixes output display issues with those certificates that don't include the fn (familyName) and gn (givenName) fields, but for instance only the fnt field. ----------------- Details : Some foreign certificates only include the fnt field = no fn and gn fields. Therefore - owing to the current declaration of fun setPersonData - the validation output of such certificates doesn't contain any person details of the certificate holder. ----------------- Fix description : It checks if the fn field name is null/empty. - If true setPersonData uses the fnt + gnt + gn fields in order to arrange the text for the person details into the validation output. - Otherwise setPersonData uses fn + gn . Issue Reference : - DGC-SDK 119 - ministero-salute/it-dgc-verificac19-sdk-android#119 * Delete codeql-analysis.yml
- Loading branch information