Crate libindy_sys[−][src]
Constants
Functions
indy_abbreviate_verkey⚠ |
Retrieves abbreviated verkey if it is possible otherwise return full verkey. |
indy_add_request_fees⚠ |
Modifies Indy request by adding information how to pay fees for this transaction according to this payment method. |
indy_add_wallet_record⚠ |
Create a new non-secret record in the wallet |
indy_add_wallet_record_tags⚠ |
Add new tags to the wallet record |
indy_build_attrib_request⚠ |
Builds an ATTRIB request. Request to add attribute to a NYM record. |
indy_build_cred_def_request⚠ |
Builds an CRED_DEF request. Request to add a Credential Definition (in particular, public key), that Issuer creates for a particular Credential Schema. |
indy_build_get_attrib_request⚠ |
Builds a GET_ATTRIB request. Request to get information about an Attribute for the specified DID. |
indy_build_get_cred_def_request⚠ |
Builds a GET_CRED_DEF request. Request to get a Credential Definition (in particular, public key), that Issuer creates for a particular Credential Schema. |
indy_build_get_ddo_request⚠ |
Builds a request to get a DDO. |
indy_build_get_nym_request⚠ |
Builds a GET_NYM request. Request to get information about a DID (NYM). |
indy_build_get_payment_sources_request⚠ |
Builds Indy request for getting sources list for payment address according to this payment method. |
indy_build_get_revoc_reg_def_request⚠ |
Builds a GET_REVOC_REG_DEF request. Request to get a revocation registry definition, that Issuer creates for a particular Credential Definition. |
indy_build_get_revoc_reg_delta_request⚠ |
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. |
indy_build_get_revoc_reg_request⚠ |
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. |
indy_build_get_schema_request⚠ |
Builds a GET_SCHEMA request. Request to get Credential's Schema. |
indy_build_get_txn_fees_req⚠ |
Builds Indy get request for getting fees for transactions in the ledger |
indy_build_get_txn_request⚠ |
Builds a GET_TXN request. Request to get any transaction by its seq_no. |
indy_build_get_validator_info_request⚠ |
Builds a GET_VALIDATOR_INFO request. |
indy_build_mint_req⚠ |
Builds Indy request for doing minting according to this payment method. |
indy_build_node_request⚠ |
Builds a NODE request. Request to add a new node to the pool, or updates existing in the pool. |
indy_build_nym_request⚠ |
Builds a NYM request. Request to create a new NYM record for a specific user. |
indy_build_payment_req⚠ |
Builds Indy request for doing payment according to this payment method. |
indy_build_pool_config_request⚠ |
Builds a POOL_CONFIG request. Request to change Pool's configuration. |
indy_build_pool_restart_request⚠ |
Builds a POOL_RESTART request. |
indy_build_pool_upgrade_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). |
indy_build_revoc_reg_def_request⚠ |
Builds a REVOC_REG_DEF request. Request to add the definition of revocation registry to an exists credential definition. |
indy_build_revoc_reg_entry_request⚠ |
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. |
indy_build_schema_request⚠ |
Builds a SCHEMA request. Request to add Credential's schema. |
indy_build_set_txn_fees_req⚠ |
Builds Indy request for setting fees for transactions in the ledger |
indy_build_verify_payment_req⚠ |
Builds Indy request for information to verify the payment receipt |
indy_close_pool_ledger⚠ |
Closes opened pool ledger, opened nodes connections and frees allocated resources. |
indy_close_wallet⚠ |
Closes opened wallet and frees allocated resources. |
indy_close_wallet_search⚠ |
Close wallet search (make search handle invalid) |
indy_create_and_store_my_did⚠ |
Creates keys (signing and encryption keys) for a new DID (owned by the caller of the library). Identity's DID must be either explicitly provided, or taken as the first 16 bit of verkey. Saves the Identity DID with keys in a secured Wallet, so that it can be used to sign and encrypt transactions. |
indy_create_key⚠ |
Creates keys pair and stores in the wallet. |
indy_create_pairwise⚠ |
Creates pairwise. |
indy_create_payment_address⚠ |
Create the payment address for specified payment method |
indy_create_pool_ledger_config⚠ |
Creates a new local pool ledger configuration that can be used later to connect pool nodes. |
indy_create_revocation_state⚠ |
Create revocation state for a credential in the particular time moment. |
indy_create_wallet⚠ |
Create a new secure wallet. |
indy_crypto_anon_crypt⚠ |
Encrypts a message by anonymous-encryption scheme. |
indy_crypto_anon_decrypt⚠ |
Decrypts a message by anonymous-encryption scheme. |
indy_crypto_auth_crypt⚠ |
Encrypt a message by authenticated-encryption scheme. |
indy_crypto_auth_decrypt⚠ |
Decrypt a message by authenticated-encryption scheme. |
indy_crypto_sign⚠ |
Signs a message with a key. |
indy_crypto_verify⚠ |
Verify a signature with a verkey. |
indy_delete_pool_ledger_config⚠ |
Deletes created pool ledger configuration. |
indy_delete_wallet⚠ |
Deletes created wallet. |
indy_delete_wallet_record⚠ |
Delete an existing wallet record in the wallet |
indy_delete_wallet_record_tags⚠ |
Delete tags from the wallet record |
indy_export_wallet⚠ |
Exports opened wallet |
indy_fetch_wallet_search_next_records⚠ |
Get an wallet record by id |
indy_generate_wallet_key⚠ |
Generate wallet master key. Returned key is compatible with "RAW" key derivation method. It allows to avoid expensive key derivation for use cases when wallet keys can be stored in a secure enclave. |
indy_get_did_metadata⚠ |
Retrieves the meta information for the giving DID in the wallet. |
indy_get_endpoint_for_did⚠ |
Returns endpoint information for the given DID. |
indy_get_key_metadata⚠ |
Retrieves the meta information for the giving key in the wallet. |
indy_get_logger⚠ |
Get the currently used logger. |
indy_get_my_did_with_meta⚠ |
Retrieves the information about the giving DID in the wallet. |
indy_get_pairwise⚠ |
Gets pairwise information for specific their_did. |
indy_get_wallet_record⚠ |
Get an wallet record by id |
indy_import_wallet⚠ |
Creates a new secure wallet and then imports its content according to fields provided in import_config This can be seen as an indy_create_wallet call with additional content import |
indy_is_pairwise_exists⚠ |
Check if pairwise is exists. |
indy_issuer_create_and_store_credential_def⚠ |
Create credential definition entity that encapsulates credentials issuer DID, credential schema, secrets used for signing credentials and secrets used for credentials revocation. |
indy_issuer_create_and_store_revoc_reg⚠ |
Create a new revocation registry for the given credential definition as tuple of entities |
indy_issuer_create_credential⚠ |
Check Cred Request for the given Cred Offer and issue Credential for the given Cred Request. |
indy_issuer_create_credential_offer⚠ |
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. |
indy_issuer_create_schema⚠ |
Create credential schema entity that describes credential attributes list and allows credentials interoperability. |
indy_issuer_merge_revocation_registry_deltas⚠ |
Merge two revocation registry deltas (returned by indy_issuer_create_credential or indy_issuer_revoke_credential) to accumulate common delta. Send common delta to ledger to reduce the load. |
indy_issuer_revoke_credential⚠ |
Revoke a credential identified by a cred_revoc_id (returned by indy_issuer_create_credential). |
indy_key_for_did⚠ |
Returns ver key (key id) for the given DID. |
indy_key_for_local_did⚠ |
Returns ver key (key id) for the given DID. |
indy_list_my_dids_with_meta⚠ |
Retrieves the information about all DIDs stored in the wallet. |
indy_list_pairwise⚠ |
Get list of saved pairwise. |
indy_list_payment_addresses⚠ |
Lists all payment addresses that are stored in the wallet |
indy_list_pools⚠ |
Lists names of created pool ledgers |
indy_multi_sign_request⚠ |
Multi signs request message. |
indy_open_blob_storage_reader⚠ | |
indy_open_blob_storage_writer⚠ | |
indy_open_pool_ledger⚠ |
Opens pool ledger and performs connecting to pool nodes. |
indy_open_wallet⚠ |
Open the wallet. |
indy_open_wallet_search⚠ |
Search for wallet records. |
indy_parse_get_cred_def_response⚠ |
Parse a GET_CRED_DEF response to get Credential Definition in the format compatible with Anoncreds API. |
indy_parse_get_payment_sources_response⚠ |
Parses response for Indy request for getting sources list. |
indy_parse_get_revoc_reg_def_response⚠ |
Parse a GET_REVOC_REG_DEF response to get Revocation Registry Definition in the format compatible with Anoncreds API. |
indy_parse_get_revoc_reg_delta_response⚠ |
Parse a GET_REVOC_REG_DELTA response to get Revocation Registry Delta in the format compatible with Anoncreds API. |
indy_parse_get_revoc_reg_response⚠ |
Parse a GET_REVOC_REG response to get Revocation Registry in the format compatible with Anoncreds API. |
indy_parse_get_schema_response⚠ |
Parse a GET_SCHEMA response to get Schema in the format compatible with Anoncreds API. |
indy_parse_get_txn_fees_response⚠ |
Parses response for Indy request for getting fees |
indy_parse_payment_response⚠ |
Parses response for Indy request for payment txn. |
indy_parse_response_with_fees⚠ |
Parses response for Indy request with fees. |
indy_parse_verify_payment_response⚠ |
Parses Indy response with information to verify receipt |
indy_prover_close_credentials_search⚠ |
Close credentials search (make search handle invalid) |
indy_prover_close_credentials_search_for_proof_req⚠ |
Close credentials search for proof request (make search handle invalid) |
indy_prover_create_credential_req⚠ |
Creates a credential request for the given credential offer. |
indy_prover_create_master_secret⚠ |
Creates a master secret with a given id and stores it in the wallet. The id must be unique. |
indy_prover_create_proof⚠ |
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. |
indy_prover_fetch_credentials⚠ |
Fetch next credentials for search. |
indy_prover_fetch_credentials_for_proof_req⚠ |
Fetch next credentials for the requested item using proof request search handle (created by indy_prover_search_credentials_for_proof_req). |
indy_prover_get_credential⚠ |
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. |
indy_prover_get_credentials⚠ |
Gets human readable credential by the given id. |
indy_prover_get_credentials_for_proof_req⚠ |
Gets human readable credentials matching the given proof request. |
indy_prover_search_credentials⚠ |
Search for credentials stored in wallet. Credentials can be filtered by tags created during saving of credential. |
indy_prover_search_credentials_for_proof_req⚠ |
Search for credentials matching the given proof request. |
indy_prover_store_credential⚠ |
Check credential provided by Issuer for the given credential request, updates the credential by a master secret and stores in a secure wallet. |
indy_refresh_pool_ledger⚠ |
Refreshes a local copy of a pool ledger and updates pool nodes connections. |
indy_register_payment_method⚠ |
Registers custom wallet storage implementation. |
indy_register_transaction_parser_for_sp⚠ |
Register callbacks (see type description for |
indy_register_wallet_storage⚠ |
Registers custom wallet storage implementation. |
indy_replace_keys_apply⚠ |
Apply temporary keys as main for an existing DID (owned by the caller of the library). |
indy_replace_keys_start⚠ |
Generated temporary keys (signing and encryption keys) for an existing DID (owned by the caller of the library). |
indy_set_default_logger⚠ |
Set default logger implementation. |
indy_set_did_metadata⚠ |
Saves/replaces the meta information for the giving DID in the wallet. |
indy_set_endpoint_for_did⚠ |
Set/replaces endpoint information for the given DID. |
indy_set_key_metadata⚠ |
Saves/replaces the meta information for the giving key in the wallet. |
indy_set_logger⚠ |
Set custom logger implementation. |
indy_set_pairwise_metadata⚠ |
Save some data in the Wallet for pairwise associated with Did. |
indy_set_protocol_version⚠ |
Set PROTOCOL_VERSION to specific version. |
indy_sign_and_submit_request⚠ |
Signs and submits request message to validator pool. |
indy_sign_request⚠ |
Signs request message. |
indy_store_their_did⚠ |
Saves their DID for a pairwise connection in a secured Wallet, so that it can be used to verify transaction. |
indy_submit_action⚠ |
Send action to particular nodes of validator pool. |
indy_submit_request⚠ |
Publishes request message to validator pool (no signing, unlike sign_and_submit_request). |
indy_update_revocation_state⚠ |
Create new revocation state for a credential based on existed state at the particular time moment (to reduce calculation time). |
indy_update_wallet_record_tags⚠ |
Update a non-secret wallet record tags |
indy_update_wallet_record_value⚠ |
Update a non-secret wallet record value |
indy_verifier_verify_proof⚠ |
Verifies a proof (of multiple credential). All required schemas, public keys and revocation registries must be provided. |
Type Definitions
indyAddRequestFeesCB |
Modifies Indy request by adding information how to pay fees for this transaction according to this payment method. |
indyBuildGetPaymentSourcesRequestCB |
Builds Indy request for getting sources list for payment address according to this payment method. |
indyBuildGetTxnFeesReqCB |
Builds Indy get request for getting fees for transactions in the ledger |
indyBuildMintReqCB |
Builds Indy request for doing minting according to this payment method. |
indyBuildPaymentReqCB |
Builds Indy request for doing payment according to this payment method. |
indyBuildSetTxnFeesReqCB |
Builds Indy request for setting fees for transactions in the ledger |
indyBuildVerifyPaymentReqCB |
Builds Indy request for getting information to verify the payment receipt |
indyCloseWalletCb |
Close the opened walled storage (For example, closing database connection) |
indyCreatePaymentAddressCB |
Create the payment address for this payment method. |
indyCreateWalletCb |
Create the wallet storage (For example, database creation) |
indyDeleteWalletCb |
Delete the wallet storage (For example, database deletion) |
indyGetLoggerEnabledCb | |
indyGetLoggerFlushCb | |
indyGetLoggerLogCb | |
indyLedgerCustomFreeCb | |
indyLedgerCustomTransactionParserCb | |
indyLoggerEnabledCb | |
indyLoggerFlushCb | |
indyLoggerLogCb | |
indyOpenWalletCb |
Open the wallet storage (For example, opening database connection) |
indyParseGetPaymentSourcesResponseCB |
Parses response for Indy request for getting sources list. |
indyParseGetTxnFeesResponseCB |
Parses response for Indy request for getting fees |
indyParsePaymentResponseCB |
Parses response for Indy request for payment txn. |
indyParseResponseWithFeesCB |
Parses response for Indy request with fees. |
indyParseVerifyPaymentResponseCB |
Parses Indy response with information to verify receipt |
indyWalletAddRecordCb |
Create a new record in the wallet storage |
indyWalletAddRecordTagsCb |
Add new tags to the record |
indyWalletDeleteRecordCb |
Delete an existing record in the wallet storage |
indyWalletDeleteRecordTagsCb |
Delete tags from the record |
indyWalletFetchSearchNextRecordsCb |
Get the next wallet storage record handle retrieved by this wallet search. |
indyWalletFreeRecordCb |
Free retrieved wallet record (make retrieved record handle invalid) |
indyWalletFreeSearchCb |
Free wallet search (make search handle invalid) |
indyWalletFreeStorageMetadataCb |
Free retrieved storage metadata record (make retrieved storage metadata handle invalid) |
indyWalletGetRecordCb |
Get an wallet storage record by id |
indyWalletGetRecordIdCb |
Get an id for retrieved wallet storage record |
indyWalletGetRecordTagsCb |
Get an tags for retrieved wallet record |
indyWalletGetRecordTypeCb |
Get an type for retrieved wallet storage record |
indyWalletGetRecordValueCb |
Get an value for retrieved wallet storage record |
indyWalletGetSearchTotalCountCb |
Get total count of records that corresponds to wallet storage search query |
indyWalletGetStorageMetadataCb |
Get storage metadata |
indyWalletOpenSearchAllCb |
Search for all wallet storage records |
indyWalletOpenSearchCb |
Search for wallet storage records |
indyWalletSetStorageMetadataCb |
Set storage metadata |
indyWalletUpdateRecordTagsCb |
Update a record tags |
indyWalletUpdateRecordValueCb |
Update a record value |
indy_bool_cb | |
indy_bool_t | |
indy_empty_cb | |
indy_err_str_cb | |
indy_error_t | |
indy_handle_cb | |
indy_handle_t | |
indy_handle_u32_cb | |
indy_i32_t | |
indy_i64_t | |
indy_slice_cb | |
indy_str_cb | |
indy_str_slice_cb | |
indy_str_str_cb | |
indy_str_str_long_cb | |
indy_str_str_str_cb | |
indy_u32_t | |
indy_u64_t | |
indy_u8_t | |
int_fast16_t | |
int_fast32_t | |
int_fast64_t | |
int_fast8_t | |
int_least16_t | |
int_least32_t | |
int_least64_t | |
int_least8_t | |
intmax_t | |
uint_fast16_t | |
uint_fast32_t | |
uint_fast64_t | |
uint_fast8_t | |
uint_least16_t | |
uint_least32_t | |
uint_least64_t | |
uint_least8_t | |
uintmax_t |