Module concordium_base::id
source · Expand description
This module and its submodules implement the Concordium identity layer, providing the core functionality for all entities involved (users, identity providers, and the chain).
Re-exports§
pub use crate::pedersen_commitment;
pub use crate::curve_arithmetic;
pub use crate::elgamal;
pub use crate::bulletproofs::range_proof;
pub use crate::dodis_yampolskiy_prf;
pub use crate::ps_sig;
Modules§
- Functionality needed by the account holder, either when interacting with the identity provider, or when interacting with the chain.
- Functionality needed by the anonymity revoker.
- Functionality needed by the chain to verify credential deployments.
- Collection of constants that fix choices, be it values or types, that are used in various places.
- Types used to represent statements and proofs. A statement is what the user is requested to prove by the verifier. The proofs are for proving properties about the attribute values inside on-chain commitments that account credentials can have. Given the statement and relevant secret data (being the attribute value and the commitment randomness), the user can construct a proof of the statement (if the statement is true).
- This module exposes functions for proving statements about credentials on accounts.
- This module exposes functions for verifying various proofs of statements about a credential on accounts.
- Functionality needed by the identity provider. This gathers together the primitives from the rest of the library into a convenient package.
- Implementation of Shamir secret sharing.
- Main types used in the identity layer, and their serialization implementations.
- A collection of auxiliary functions that don’t belong anywhere else.