RequireTrustPath
data class RequireTrustPath(val maxPathLength: Int = 3, val registry: TrustRegistry, val credentialType: CredentialType? = null) : TrustPolicy
Require a trust path from verifier to issuer.
The issuer must be reachable through a trust path in the registry, with a maximum path length constraint.
Parameters
maxPathLength
Maximum length of trust path (default: 3)
registry
The trust registry to check against
credentialType
Optional credential type filter for trust path discovery
Constructors
Link copied to clipboard
constructor(maxPathLength: Int = 3, registry: TrustRegistry, credentialType: CredentialType? = null)