RevocationResult

sealed class RevocationResult

Sealed result of TrustWeave.revokeResult { }.

Every outcome of revoke { } that is a thrown exception there has its own variant here.

Inheritors

Types

Link copied to clipboard
data class Failure(val reason: String, val cause: Throwable) : RevocationResult

The revocation manager failed.

Link copied to clipboard
data class InvalidRequest(val reason: String) : RevocationResult

The request was incomplete, for example credential(...) or statusList(...) is missing.

Link copied to clipboard
data class NotConfigured(val reason: String) : RevocationResult

No revocation manager is configured.

Link copied to clipboard

The manager answered false: it did not change the entry (for example an unknown index).

Link copied to clipboard

The revocation manager revoked the credential.

Link copied to clipboard
data class TimedOut(val timeout: Duration, val cause: Throwable? = null) : RevocationResult

The operation exceeded timeout; its outcome is unknown, so re-check the status before retrying.