RevocationStatusListsRefreshResult

@Serializable(with = RevocationStatusListsRefreshResultSerializer::class)
sealed interface RevocationStatusListsRefreshResult

The result type of MobileCredentialVerifier.refreshRevocationStatusLists.

To keep the status lists updated, it is recommended to call MobileCredentialVerifier.refreshRevocationStatusLists before nextUpdate is reached.

Inheritors

Types

Link copied to clipboard
data class Failure(val nextUpdate: Instant?, val failedLists: Map<String, Set<String>>) : RevocationStatusListsRefreshResult

One or more status lists failed to update.

Link copied to clipboard
data class Success(val nextUpdate: Instant?) : RevocationStatusListsRefreshResult

All status lists were updated successfully.

Properties

Link copied to clipboard
abstract val nextUpdate: Instant?

Next update date, recommended date before which to update status lists by calling MobileCredentialVerifier.updateTrustedIssuerStatusLists.