issue Credential
abstract suspend fun issueCredential(subjectPublicKey: CryptoPublicKey, attributeTypes: Collection<String>, representation: ConstantIndex.CredentialRepresentation, claimNames: Collection<String>? = null, dataProviderOverride: IssuerCredentialDataProvider? = null): Issuer.IssuedCredentialResult
Issues credentials for some attributeTypes (i.e. some of at.asitplus.wallet.lib.data.ConstantIndex.CredentialScheme.vcType) 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