TrustManagementService

Domain service for trust registry operations.

Extracted from org.trustweave.trust.TrustWeave to separate the trust management responsibility into a focused service class.

Constructors

Link copied to clipboard
constructor(trustRegistry: TrustRegistry)

Functions

Link copied to clipboard
suspend fun findTrustPath(verifier: VerifierIdentity, issuer: IssuerIdentity, timeout: Duration = 10.seconds): TrustPath

Find a trust path between a verifier and an issuer.

Link copied to clipboard
suspend fun trust(block: suspend TrustBuilder.() -> Unit)

Perform trust operations using the trust DSL.