KHealthCertificate
#include <khealthcertificate.h>
Public Types | |
enum | CertificateType { Vaccination , Test , Recovery } |
enum | CertificateValidation { Valid , Partial , Invalid , Unknown } |
enum | SignatureValidation { ValidSignature , InvalidSignature , UnknownSignature , UncheckedSignature } |
Static Public Member Functions | |
static QDateTime | relevantUntil (const QVariant &certificate) |
Detailed Description
Dummy RTTI for QML, which doesn't support instanceof
on Q_GADGETs...
Definition at line 13 of file khealthcertificate.h.
Member Enumeration Documentation
◆ CertificateType
enum KHealthCertificate::CertificateType |
Definition at line 17 of file khealthcertificate.h.
◆ CertificateValidation
enum KHealthCertificate::CertificateValidation |
Definition at line 24 of file khealthcertificate.h.
◆ SignatureValidation
Result of attempting to verify the cryptographic signature of a certificate.
Definition at line 33 of file khealthcertificate.h.
Member Function Documentation
◆ relevantUntil()
Returns the last date until certificate
is relevant.
That is, past the returned date, the certificate is considered expired and thus provides no or only very limited use anymore. This is useful for sorting a set of certificate in the UI in a meaningful way.
Definition at line 14 of file khealthcertificate.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.