and
Policy composition operators for combining trust policies.
Example:
val policy = requireAnchor(caDid) and requireSchema(degreeSchema) or allowExpired()Content copied to clipboard
Compose two trust policies with AND logic.
Both policies must pass for the issuer to be trusted.
Example:
val policy = TrustPolicy.allowlist(issuers) and TrustPolicy.blocklist(blocked)Content copied to clipboard