isTrustedIssuer

abstract suspend fun isTrustedIssuer(issuerDid: String, credentialType: String?): Boolean

Checks if an issuer DID is trusted for a specific credential type.

Return

true if the issuer is trusted, false otherwise

Parameters

issuerDid

The DID of the issuer to check

credentialType

The credential type (null means "trusted for at least one type": an existence check, not a statement about any particular credential; see isTrustedForAllTypes)


open suspend fun isTrustedIssuer(issuer: IssuerIdentity, credentialType: CredentialType?): Boolean

Checks if an issuer is trusted for a specific credential type (type-safe overload).

Return

true if the issuer is trusted, false otherwise

Parameters

issuer

The issuer identity (type-safe)

credentialType

The credential type (null means check for any type)