RevocationChecker

Interface for checking and managing the revocation status of digital credentials.

Handles downloading, caching, and verifying ISO/IEC 18013-5 or IETF SD-JWT revocation payloads such as status lists and identifier lists.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun check(revocationStatus: RevocationStatus, issuerCert: X509Cert? = null, onlyTrusted: Boolean = true, atTime: Instant = Clock.System.now(), bypassCache: Boolean = false, preferJwt: Boolean = false): RevocationCheckResult

Checks the revocation state for a given non-null RevocationStatus payload.

Link copied to clipboard
suspend fun RevocationChecker.check(credential: Credential, trustManager: TrustManagerInterface, onlyTrusted: Boolean = true, atTime: Instant = Clock.System.now(), bypassCache: Boolean = false, preferJwt: Boolean = false): RevocationCheckResult

Convenience extension to check the revocation state for a given Credential.

Link copied to clipboard
abstract suspend fun clearCache()

Clears all cached revocation status and identifier list entries from storage.