aries / net.globalid.aries.ledger / LedgerService / lookupRevocationRegistryDefinitionJson

lookupRevocationRegistryDefinitionJson

abstract fun lookupRevocationRegistryDefinitionJson(agent: Agent, registryId: String): Single<String>

Retrieves the revocation registry definition from the ledger.

Parameters

agent - for which to lookup the definition.

registryId - is the revocation registry ID to lookup.

Return
revocationRegistryDefinitionJson String as: { "id": string - ID of the Revocation Registry, "revocDefType": string - Revocation Registry type (only CL_ACCUM is supported for now), "tag": string - Unique descriptive ID of the Registry, "credDefId": string - ID of the corresponding CredentialDefinition, "value": Registry-specific data { "issuanceType": string - Type of Issuance(ISSUANCE_BY_DEFAULT or ISSUANCE_ON_DEMAND), "maxCredNum": number - Maximum number of credentials the Registry can serve. "tailsHash": string - Hash of tails. "tailsLocation": string - Location of tails file. "publicKeys": <public_keys> - Registry's public key (opaque type that contains data structures internal to Ursa. It should not be parsed and are likely to change in future versions). }, "ver": string - version of revocation registry definition json. }