TrustAnchorBuilder
class 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")
}
}Content copied to clipboard
Functions
Link copied to clipboard
infix fun TrustAnchorBuilder.because(block: TrustAnchorMetadataBuilder.() -> Unit): TrustAnchorConfig
Infix operator to configure trust anchor metadata: builder because { ... }.
Link copied to clipboard
Link copied to clipboard
Set description.