Companion

object Companion

Functions

Link copied to clipboard
fun status(bytes: ByteArray, bits: Int, idx: Int): AltIdAttestationStatus

Extracts the status value at idx from the decompressed status byte array (LSB-first bit indexing, ยง5.7.1).

Link copied to clipboard
fun statusReference(documentBytes: ByteArray): Pair<String, Int>?

Reads the MSO status.status_list reference from a document, or null when the attestation carries no status element (step 12 is then skipped).

Link copied to clipboard
fun validate(jwt: String, expectedUri: String, idx: Int, trustList: List<X509Certificate>, currentTimeSeconds: Long, clockSkewSeconds: Long): AltIdAttestationStatus

Validates a Status List JWT (signature, signer trust, temporal claims, sub) and resolves the status value at idx. Split from the fetch for testability.