Verification View Model
This class contains all the methods regarding the verification of the certifications.
Constructors
VerificationViewModel
Link copied to clipboard
@Inject()
Content copied to clipboard
Functions
checkExemptions
Link copied to clipboard
final CertificateStatus checkExemptions(List<Exemption> it, String scanMode)
Content copied to clipboard
This method checks the Exemption and returns a proper CertificateStatus after checking the validity start and end dates.
checkRecoveryStatements
Link copied to clipboard
final CertificateStatus checkRecoveryStatements(List<RecoveryModel> it, Certificate certificate, String scanMode)
Content copied to clipboard
This method checks the given recovery statements passed as a List of RecoveryModel and returns the proper status as CertificateStatus.
checkTests
Link copied to clipboard
This method checks the given tests passed as a List of TestModel and returns the proper status as CertificateStatus.
checkVaccinations
Link copied to clipboard
final CertificateStatus checkVaccinations(List<VaccinationModel> it, String scanMode)
Content copied to clipboard
This method checks the given vaccinations passed as a List of VaccinationModel and returns the proper status as CertificateStatus.
clear
Link copied to clipboard
clearExtraTime
Link copied to clipboard
extractExemption
Link copied to clipboard
This method takes care of retrieving the Exemption from the json received by the Decoder library, and then returns it if present, otherwise it returns null.
extractUVCI
Link copied to clipboard
final String extractUVCI(GreenCertificate greenCertificate, Exemption exemption)
Content copied to clipboard
get_certificate
Link copied to clipboard
get_inProgress
Link copied to clipboard
getAppMinVersion
Link copied to clipboard
getBase45Service
Link copied to clipboard
getCborService
Link copied to clipboard
getCertificate
Link copied to clipboard
getCertificateStatus
Link copied to clipboard
getCompressorService
Link copied to clipboard
getCoseService
Link copied to clipboard
getCryptoService
Link copied to clipboard
getDispatcherProvider
Link copied to clipboard
getFrontCameraStatus
Link copied to clipboard
getInProgress
Link copied to clipboard
getMolecularTestEndHour
Link copied to clipboard
getMolecularTestStartHour
Link copied to clipboard
getPreferences
Link copied to clipboard
getPrefixValidationService
Link copied to clipboard
getRapidTestEndHour
Link copied to clipboard
getRapidTestStartHour
Link copied to clipboard
getRecoveryCertEndDay
Link copied to clipboard
getRecoveryCertPvEndDay
Link copied to clipboard
getRecoveryCertPVStartDay
Link copied to clipboard
getRecoveryCertStartDay
Link copied to clipboard
getScanMode
Link copied to clipboard
getSchemaValidator
Link copied to clipboard
getSDKMinVersion
Link copied to clipboard
This method invokes the getValidationRules method to obtain the validation rules and then extract from it the part regarding the minimum SDK version.
getTotemMode
Link copied to clipboard
getVaccineEndDayComplete
Link copied to clipboard
getVaccineEndDayNotComplete
Link copied to clipboard
getVaccineStartDayComplete
Link copied to clipboard
getVaccineStartDayNotComplete
Link copied to clipboard
getValidationRules
Link copied to clipboard
getVerifierRepository
Link copied to clipboard
isCertificateRevoked
Link copied to clipboard
isDownloadInProgress
Link copied to clipboard
isRecoveryBis
Link copied to clipboard
final Boolean isRecoveryBis(List<RecoveryModel> recoveryStatements, Certificate cert)
Content copied to clipboard
isSDKVersionObsoleted
Link copied to clipboard
This method invokes the getSDKMinVersion method to obtain the minimum SDK version and then compare it with the current SDK version in use.
setFrontCameraStatus
Link copied to clipboard
setTagIfAbsent
Link copied to clipboard
setTotemMode
Link copied to clipboard
Properties
_certificate
Link copied to clipboard
_inProgress
Link copied to clipboard
base45Service
Link copied to clipboard
cborService
Link copied to clipboard
certificate
Link copied to clipboard
compressorService
Link copied to clipboard
coseService
Link copied to clipboard
cryptoService
Link copied to clipboard
dispatcherProvider
Link copied to clipboard
inProgress
Link copied to clipboard
mBagOfTags
Link copied to clipboard
preferences
Link copied to clipboard
prefixValidationService
Link copied to clipboard
schemaValidator
Link copied to clipboard
verifierRepository
Link copied to clipboard