ockam_credential

Crates.ioockam_credential
lib.rsockam_credential
version0.2.0
sourcesrc
created_at2021-02-04 01:30:12.602288
updated_at2021-02-17 02:08:03.139553
descriptionAttribute based, privacy preserving, anonymous credentials.
homepagehttps://github.com/ockam-network/ockam
repositoryhttps://github.com/ockam-network/ockam/tree/develop/implementations/rust/ockam/ockam_credential
max_upload_size
id350332
size46,546
Matthew Gregory (mattgreg)

documentation

README

ockam_credential

crate docs license discuss

Ockam is a library for building devices that communicate securely, privately and trustfully with cloud services and other devices.

This crate provides the ability to issue and verify attribute based, privacy preserving, anonymous credentials.

The issuer of a credential signs a collection of statements that attest to attributes of the subject of that credential. The subject (or a holder on their behalf) can then selectively disclose these signed statements to a verifier by presenting a cryptographic proof of knowledge of the issuer's signature without revealing the actual signature or any of the other statements that they didn't wish to disclose to this verifier.

Applications can decide if a subject is authorized to take an action based on the attributes of the subject that were proven to be signed by trusted issuers. Since only limited and necessary information is revealed about subjects this improves efficiency, security and privacy of applications.

The main Ockam crate re-exports types defined in this crate.

Usage

Add this to your Cargo.toml:

[dependencies]
ockam_credential = "0.1.0"

Crate Features

The ockam_credential crate has a Cargo feature named "std" that is enabled by default. In order to use this crate in a "no_std" context you can disable default features and then enable the "no_std" feature as follows:

[dependencies]
ockam_credential = { version = "0.1.0", default-features = false, features = ["no_std"] }

License

This code is licensed under the terms of the Apache License 2.0.

Commit count: 9096

cargo fmt