Functions

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

Generates 80-bit numbers that can be used as a nonce for proof request.

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).

Apply temporary keys as main for an existing Credential Definition (owned by the caller of the library).

Generate temporary credential definitional keys for an existing one (owned by the caller of the library).

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.

Deletes credential by given id.

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.

Get credential attribute tagging policy by credential definition 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.

Set credential attribute tagging policy. Writes a non-secret record marking attributes to tag, and optionally updates tags on existing credentials on the credential definition to match.

Check credential provided by Issuer for the given credential request, updates the credential by a master secret and stores in a secure wallet.

Get unqualified form (short form without method) of a fully qualified entity like DID.

Create a new revocation state for a credential based on a revocation state created before. Note that provided revocation delta must cover the registry gap from based state creation until the specified time (this new delta should be received with parameters: from: state_timestamp and to: needed_time).

Verifies a proof (of multiple credential). All required schemas, public keys and revocation registries must be provided.