TrustAnchorBuilder

Builder for trust anchor configuration using infix syntax.

Used with the trusts infix operator to build trust anchor metadata.

Example:

trustWeave.trust {
universityDid trusts "EducationCredential" because {
description("Trusted university")
}
}

Constructors

Link copied to clipboard
constructor()

Properties

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

Functions

Link copied to clipboard
fun addedAt(instant: Instant)

Set added at timestamp.

Link copied to clipboard

Infix operator to configure trust anchor metadata: builder because { ... }.

Link copied to clipboard

Set credential types.

Link copied to clipboard
fun description(desc: String)

Set description.