verify
suspend fun verify(timeout: Duration = 10.seconds, block: VerificationBuilder.() -> Unit): VerificationResult
Verify a verifiable credential.
A verification that exceeds timeout is mapped to VerificationResult.Invalid.InvalidProof (the proof could not be verified within the allotted time) instead of leaking a raw TimeoutCancellationException; real coroutine cancellation of the caller still propagates.
Return
The credential verification result (sealed type for exhaustive error handling)
Parameters
timeout
Maximum time to wait for verification (default: 10 seconds)
block
DSL block for specifying verification parameters