Package model is a model abstraction of health authorities.
HealthAuthority represents a public health authority that is authorized to issue diagnosis verification certificates accepted by this server.
Validate returns an error if the HealthAuthority struct is not valid.
HealthAuthorityKey represents a public key version for a given health authority.
IsValid returns true if the key is valid based on the current time.
IsValidAt returns true if the key is valid at a specific point in time.
PublicKey decodes the PublicKeyPEM text and returns the `*ecdsa.PublicKey` This system only supports verifying ECDSA JWTs, `alg: ES256`.
Revoke revokes a key.
Validate returns an error if the HealthAuthorityKey is not valid.