Verified

data class Verified(val from: VerifierIdentity, val to: IssuerIdentity, val anchors: List<TrustAnchor>, val verified: Boolean = true, val verifiedAt: Instant, val trustScore: Double = 1.0) : TrustPath

Verified trust path from verifier to issuer.

Parameters

from

The verifier identity

to

The issuer identity

anchors

List of trust anchors forming the path (excluding endpoints)

verified

Whether the path has been verified

verifiedAt

Timestamp when the path was verified

trustScore

Trust score between 0.0 and 1.0 (higher is more trusted)

Constructors

Link copied to clipboard
constructor(from: VerifierIdentity, to: IssuerIdentity, anchors: List<TrustAnchor>, verified: Boolean = true, verifiedAt: Instant, trustScore: Double = 1.0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Get the full path including endpoints.

Link copied to clipboard
val length: Int

Get the path length (number of hops).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard