# Functions
NewVerificationClaims initializes a new VerificationClaims struct.
# Constants
ErrorBadRequest indicates that the client sent a request that couldn't be parsed correctly or otherwise contains invalid data, see the extended ErrorMessage for details.
ErrorHealthAuthorityMissingRegionConfiguration indicautes the request can not accepted because the specified health authority is not configured correctly.
ErrorInternalError.
ErrorInvalidReportTypeTransition indicates an uploaded TEK tried to transition to an invalid state (like "positive" -> "likely").
ErrorInvalidRevisionToken indicates a revision token was passed, but is missing a key or has invalid metadata.
ErrorKeyAlreadyRevised indicates one of the uploaded TEKs was marked for revision, but it has already been revised.
ErrorMissingRevisionToken indicates no revision token passed when one is needed.
ErrorPartialFailure indicates that some exposure keys in the publish request had invalid data (size, timing metadata) and were dropped.
ErrorUnableToLoadHealthAuthority indicates a retryable error loading the configuration.
ErrorUnauthorized is returned if the provided bearer token is invalid.
Error Code defintiions.
ErrorVerificationCertificateInvalid indicates a problem with the verification certificate.
ExposureKeyHMACClaim is the JWT claim key for the HMAC of the TEKs.
interval length.
KeyIDHeader is the standard JWT key ID header name.
only valid exposure key keyLength.
The following constants are generally useful in implementations of this API and for clients as well..
The following constants are generally useful in implementations of this API and for clients as well..
Intervals are defined as 10 minute periods, there are 144 of them in a day.
0 indicates, no/unknown risk.
ReportTypeClaim is the JWT claim for the report type (confirmed|likely|negative).
ReportTypeClinical indicates to set ReportType.CONFIRMED_CLINICAL_DIAGNOSIS.
ReportTypeConfirmed indicates to set ReportType.CONFIRMED_TEST.
ReportTypeNegative is allowed by the verification flow.
ReportTypeSelfReport indicates to set ReportType.SELF_REPORT.
SymptomOnsetIntervalClaim is the JWT claim for the interval representing the symptom onset.
TestDateIntervalClaim is the JWT claim for the interval representing the test date.
No description provided by the author
No description provided by the author
No description provided by the author
TransmissionRiskOverrideClaim is the JWT Claim key for transmission risk overrides.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
ExposureKey is the 16 byte key, the start time of the key and the duration of the key.
ExposureKeys represents a set of ExposureKey objects as input to export file generation utility.
Publish represents the body of the PublishInfectedIds API call.
PublishRequests is a summary of one day's publish requests by platform.
PublishResponse is sent back to the client on a publish request.
StatsDay represents stats from an individual day.
StatsRequest represents the request to retrieve publish metrics for a specific health authority.
StatsResponse returns all currently known metrics for the authenticated health authority.
VerificationClaims represents the accepted Claims portion of the verification certificate JWT.
# Type aliases
StatsDays represents a logical collection of stats.