Issuer Credential Store
interface IssuerCredentialStore
Stores all issued credentials, keeps track of the index for the revocation list
Inheritors
Functions
Link copied to clipboard
Returns a list of revoked credentials, represented by their statusListIndex
Link copied to clipboard
abstract fun storeGetNextIndex(credential: IssuerCredentialStore.Credential, subjectPublicKey: CryptoPublicKey, issuanceDate: Instant, expirationDate: Instant, timePeriod: Int): Long?
Called by the issuer when creating a new credential. Expected to return a new index to use as a statusListIndex Returns null if vcId is already registered