withTrustPolicy
Use a custom trust policy.
Example:
val policy = TrustEvaluator.allowlist(trustedIssuers)
trustWeave.verify {
credential(credential)
withTrustPolicy(policy)
}Content copied to clipboard
Parameters
policy
The trust policy to use