In Memory Issuer Credential Store
Constructors
Types
Link copied to clipboard
data class Credential(val vcId: String, val statusListIndex: Long, var revoked: Boolean, val expirationDate: Instant)
Functions
Link copied to clipboard
Returns a list of revoked credentials, represented by their statusListIndex
Link copied to clipboard
open override fun storeGetNextIndex(vcId: String, credentialSubject: CredentialSubject, 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