Package-level declarations

Types

Link copied to clipboard
sealed interface AltIdAttestationStatus

Revocation status of an attestation, resolved from a Token Status List ("Integrating with AltID" v1.0.1 §5.7, Table 9).

Link copied to clipboard
data class AltIdQrPayload(val transactionId: String, val mdocGeneratedNonce: String, val validFrom: Long, val validTo: Long, val docType: String?, val claims: Map<String, Map<String, Any?>>, val documentBytes: ByteArray)

The decoded content of an AltID SignedQR (typ = "AltID-1.0"), assembled from one or more scanned QR frames.

Link copied to clipboard
class AltIdQrVerifier(trustAnchors: List<X509Certificate> = emptyList(), replayGuard: AltIdReplayGuard = AltIdReplayGuard.InMemory, clockSkewSeconds: Long = 60, maxTimeToLiveSeconds: Long = 190)

Verifies an assembled AltID SignedQR (AltIdQrPayload) — the "verification phase".

Link copied to clipboard

Guards against replay of AltID mdocGeneratedNonce values (validation step 13).

Link copied to clipboard

How AltIdQrVerifier.verify's suspending overload treats the status-list check (step 12) when the attestation references one.

Link copied to clipboard
class AltIdStatusListClient(fetch: suspend (String) -> ByteArray = ::defaultFetch)

Fetches and validates a Token Status List (JWT format) and resolves an attestation's status bits — validation step 12.

Link copied to clipboard

Issuer trust-list certificates for AltID SignedQR validation.