aries / net.globalid.aries.utils / RxAnoncreds / createRevocationStateForCredential

createRevocationStateForCredential

fun createRevocationStateForCredential(blobStorageReader: BlobStorageReader, revocationRegistryDefinitionJson: String, revocationRegistryDeltaJson: String, epochTimestamp: Long, credentialRevocationId: String): Single<String>

Create revocation state for a credential that corresponds to a particular time.

Parameters

blobStorageReader - the configuration of blob storage reader handle that will allow to read revocation tails

revocationRegistryDefinitionJson - the revocation registry definition json

revocationRegistryDeltaJson - the revocation registry delta which covers the whole registry existence time

epochTimestamp - the time represented as a total number of seconds from Unix Epoch

credentialRevocationId - the user credential revocation id in revocation registry

See Also

Anoncreds.createRevocationStat

Return
a revocation state json