StatusCheckPolicy
object StatusCheckPolicy
Applies the verifier's RevocationFailurePolicy to an engine-level status check, so proof-engine plugins treat an undeterminable status (a CredentialStatusCheckResult.CheckFailed result or an exception from the checker) the way the built-in engines do: fail closed by default, warn under FAIL_WITH_WARNING, continue under FAIL_OPEN. A conclusive result (valid, revoked, suspended) comes back in StatusCheckVerdict.status for the engine to map to its own typed result.
Functions
Link copied to clipboard
suspend fun evaluate(credential: VerifiableCredential, checker: CredentialStatusChecker, policy: RevocationFailurePolicy): StatusCheckVerdict