findTrustPath

abstract suspend fun findTrustPath(from: VerifierIdentity, to: IssuerIdentity): TrustPath

Finds a trust path between two identities (first-class type).

Returns a sealed TrustPath type that makes trust relationships explicit.

Return

TrustPath.Verified if a path exists, TrustPath.NotFound otherwise

Parameters

from

The starting identity (typically the verifier)

to

The target identity (typically the issuer)