Module indyrs::ledger

source ·

Functions

Builds an ATTRIB request. Request to add attribute to a NYM record.
Builds an CRED_DEF request. Request to add a Credential Definition (in particular, public key), that Issuer creates for a particular Credential Schema.
Builds a GET_ATTRIB request. Request to get information about an Attribute for the specified DID.
Builds a GET_CRED_DEF request. Request to get a Credential Definition (in particular, public key), that Issuer creates for a particular Credential Schema.
Builds a request to get a DDO.
Builds a GET_NYM request. Request to get information about a DID (NYM).
Builds a GET_REVOC_REG_DEF request. Request to get a revocation registry definition, that Issuer creates for a particular Credential Definition.
Builds a GET_REVOC_REG_DELTA request. Request to get the delta of the accumulated state of the Revocation Registry. The Delta is defined by from and to timestamp fields. If from is not specified, then the whole state till to will be returned.
Builds a GET_REVOC_REG request. Request to get the accumulated state of the Revocation Registry by ID. The state is defined by the given timestamp.
Builds a GET_SCHEMA request. Request to get Credential’s Schema.
Builds a GET_TXN request. Request to get any transaction by its seq_no.
Builds a GET_VALIDATOR_INFO request.
Builds a NODE request. Request to add a new node to the pool, or updates existing in the pool.
Builds a NYM request. Request to create a new NYM record for a specific user.
Builds a POOL_CONFIG request. Request to change Pool’s configuration.
Builds a POOL_RESTART request.
Builds a POOL_UPGRADE request. Request to upgrade the Pool (sent by Trustee). It upgrades the specified Nodes (either all nodes in the Pool, or some specific ones).
Builds a REVOC_REG_DEF request. Request to add the definition of revocation registry to an exists credential definition.
Builds a REVOC_REG_ENTRY request. Request to add the RevocReg entry containing the new accumulator value and issued/revoked indices. This is just a delta of indices, not the whole list. So, it can be sent each time a new credential is issued/revoked.
Builds a SCHEMA request. Request to add Credential’s schema.
Multi signs request message.
Parse a GET_CRED_DEF response to get Credential Definition in the format compatible with Anoncreds API.
Parse a GET_REVOC_REG_DEF response to get Revocation Registry Definition in the format compatible with Anoncreds API.
Parse a GET_REVOC_REG_DELTA response to get Revocation Registry Delta in the format compatible with Anoncreds API.
Parse a GET_REVOC_REG response to get Revocation Registry in the format compatible with Anoncreds API.
Parse a GET_SCHEMA response to get Schema in the format compatible with Anoncreds API.
Signs and submits request message to validator pool.
Signs request message.
Publishes request message to validator pool (no signing, unlike sign_and_submit_request).