Module indyrs::anoncreds

source ·

Functions

Create revocation state for a credential in the particular time moment.
Create credential definition entity that encapsulates credentials issuer DID, credential schema, secrets used for signing credentials and secrets used for credentials revocation.
Create a new revocation registry for the given credential definition as tuple of entities
Check Cred Request for the given Cred Offer and issue Credential for the given Cred Request.
Create credential offer that will be used by Prover for credential request creation. Offer includes nonce and key correctness proof for authentication between protocol steps and integrity checking.
Create credential schema entity that describes credential attributes list and allows credentials interoperability.
Merge two revocation registry deltas (returned by create_credential or revoke_credential) to accumulate common delta. Send common delta to ledger to reduce the load.
Revoke a credential identified by a cred_revoc_id (returned by indy_issuer_create_credential).
Close credentials search (make search handle invalid)
Close credentials search for proof request (make search handle invalid)
Creates a credential request for the given credential offer.
Creates a master secret with a given id and stores it in the wallet. The id must be unique.
Creates a proof according to the given proof request Either a corresponding credential with optionally revealed attributes or self-attested attribute must be provided for each requested attribute (see indy_prover_get_credentials_for_pool_req). A proof request may request multiple credentials from different schemas and different issuers. All required schemas, public keys and revocation registries must be provided. The proof request also contains nonce. The proof contains either proof or self-attested attribute value for each requested attribute.
Fetch next credentials for search.
Fetch next credentials for the requested item using proof request search handle (created by search_credentials_for_proof_req).
Gets human readable credential by the given id.
Gets human readable credentials according to the filter. If filter is NULL, then all credentials are returned. Credentials can be filtered by Issuer, credential_def and/or Schema.
Gets human readable credentials matching the given proof request.
Search for credentials stored in wallet. Credentials can be filtered by tags created during saving of credential.
Search for credentials matching the given proof request.
Check credential provided by Issuer for the given credential request, updates the credential by a master secret and stores in a secure wallet.
Create new revocation state for a credential based on existed state at the particular time moment (to reduce calculation time).
Verifies a proof (of multiple credential). All required schemas, public keys and revocation registries must be provided.