Expand description
§cawg-identity crate is DISCONTINUED
This crate has been merged into the c2pa crate. It will no longer be maintained or published as a standalone crate.
For the most part, all public APIs can be remapped as follows:
cawg_identity::xxx->c2pa::identity::xxx
This version of the cawg_identity crate provides pub use aliases for all public APIs to match the above remapping. This can be used as a transition measure, but you should change the references in your code as soon as possible.
There will be no further releases of this crate.
Modules§
- builder
- This module contains the APIs you will use to build a C2PA Manifest that contains one or more CAWG identity assertions.
- claim_
aggregation - Contains implementations of
AsyncCredentialHolderandSignatureVerifierfor the identity claim aggregation credential type described as specified in §8.1, Identity claims aggregation. - validator
- This module contains the APIs you will use to validate a C2PA Manifest that contains one or more CAWG identity assertions.
- x509
- Contains implementations of
AsyncCredentialHolderandSignatureVerifierfor the X.509 certificates credential type described as specified in §8.2, X.509 certificates and COSE signatures.
Structs§
- Built
InSignature Verifier - A
BuiltInSignatureVerifieris an implementation ofSignatureVerifierthat can read all of the signature types that are supported by this SDK. ABuiltInSignatureVerifieris an implementation ofSignatureVerifierthat can read all of the signature types that are supported by this SDK. - Identity
Assertion - This struct represents the raw content of the identity assertion.
- Signer
Payload - A set of referenced assertions and other related data, known overall as the signer payload. This binding SHOULD generally be construed as authorization of or participation in the creation of the statements described by those assertions and corresponding portions of the C2PA asset in which they appear.
Enums§
- Validation
Error - Describes the ways in which a CAWG identity assertion can fail validation as described in §7. Validating the identity assertion.
Traits§
- Signature
Verifier - A
SignatureVerifiercan read one or more kinds of signature from an identity assertion, assess the validity of the signature, and return information about the corresponding credential subject. - ToCredential
Summary - The
Outputresult type fromSignatureVerifier::check_signaturemay be called upon to summarize its contents in a form suitable for JSON or similar serialization.