Package-level declarations
Types
Link copied to clipboard
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
interface AltIdReplayGuard
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
Fetches and validates a Token Status List (JWT format) and resolves an attestation's status bits — validation step 12.
Link copied to clipboard
class AltIdStatusListException(val kind: AltIdStatusListException.Kind, message: String) : Exception
Link copied to clipboard
object AltIdTrustList
Issuer trust-list certificates for AltID SignedQR validation.