issue Credential
abstract suspend fun issueCredential(subjectPublicKey: CryptoPublicKey, credentialScheme: ConstantIndex.CredentialScheme, representation: ConstantIndex.CredentialRepresentation, claimNames: Collection<String>? = null, dataProviderOverride: IssuerCredentialDataProvider? = null): KmmResult<Issuer.IssuedCredential>
Issues credentials for some credentialScheme to the subject specified with its public key in subjectPublicKey in the format specified by representation. Callers may optionally define some attribute names from ConstantIndex.CredentialScheme.claimNames in claimNames to request only some claims (if supported by the representation).
Parameters
data Provider Override
Set this parameter to override the default IssuerCredentialDataProvider for this issuing process