storeGetNextIndex

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


open override fun storeGetNextIndex(issuerSignedItemList: List<IssuerSignedItem>, 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 something for ISO revocation?! Returns null if vcId is already registered