resolve
Resolve trust path using infix syntax.
This is the recommended way to use the trustsPath infix operator.
Example:
trustWeave.trust {
val path = resolve(verifierDid trustsPath issuerDid)
when (path) {
is TrustPath.Verified -> println("Path found: ${path.length} hops")
is TrustPath.NotFound -> println("No path found")
}
}Content copied to clipboard