TrustedIssuerPolicy

fun interface TrustedIssuerPolicy

Decides whether issuerDid may vouch for contract in DefaultSmartContractService.verifyContract.

Consulted in addition to the built-in rules (the issuer is a party to the contract, or it is the issuer DID this service itself used when it issued the credential).

Functions

Link copied to clipboard
abstract suspend fun isTrusted(issuerDid: String, contract: SmartContract): Boolean