RevocationCheckResult

data class RevocationCheckResult(val state: RevocationCheckState, val isTrusted: Boolean, val error: Throwable? = null)

Result of checking a document's revocation status.

Parameters

isTrusted

indicates if revocation data was validated to be trusted (including signature verification), for non-RevocationCheckState.UNKNOWN state this can only be false when onlyTrusted RevocationChecker.check parameter was set to false

Constructors

Link copied to clipboard
constructor(state: RevocationCheckState, isTrusted: Boolean, error: Throwable? = null)

Properties

Link copied to clipboard

when non-null explains why the check failed (when state is RevocationCheckState.UNKNOWN) or stale (for other state values).

Link copied to clipboard
Link copied to clipboard

high-level state of the revocation status check.