Crate cawg_identity

Crate cawg_identity 

Source
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 AsyncCredentialHolder and SignatureVerifier for 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 AsyncCredentialHolder and SignatureVerifier for the X.509 certificates credential type described as specified in §8.2, X.509 certificates and COSE signatures.

Structs§

BuiltInSignatureVerifier
A BuiltInSignatureVerifier is an implementation of SignatureVerifier that can read all of the signature types that are supported by this SDK. A BuiltInSignatureVerifier is an implementation of SignatureVerifier that can read all of the signature types that are supported by this SDK.
IdentityAssertion
This struct represents the raw content of the identity assertion.
SignerPayload
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§

ValidationError
Describes the ways in which a CAWG identity assertion can fail validation as described in §7. Validating the identity assertion.

Traits§

SignatureVerifier
A SignatureVerifier can 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.
ToCredentialSummary
The Output result type from SignatureVerifier::check_signature may be called upon to summarize its contents in a form suitable for JSON or similar serialization.