c2pa 0.80.2

Rust SDK for C2PA (Coalition for Content Provenance and Authenticity) implementors
Documentation
// Copyright 2024 Adobe. All rights reserved.
// This file is licensed to you under the Apache License,
// Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
// or the MIT license (http://opensource.org/licenses/MIT),
// at your option.

// Unless required by applicable law or agreed to in writing,
// this software is distributed on an "AS IS" BASIS, WITHOUT
// WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or
// implied. See the LICENSE-MIT and LICENSE-APACHE files for the
// specific language governing permissions and limitations under
// each license.

//! Implements a subset of the [CAWG identity assertion specification](https://cawg.io/identity/1.1/).

#![deny(clippy::expect_used)]
#![deny(clippy::panic)]
#![deny(clippy::unwrap_used)]
#![deny(missing_docs)]
#![deny(warnings)]

pub mod builder;
pub mod claim_aggregation;
pub mod validator;

mod identity_assertion;
pub use identity_assertion::{
    assertion::IdentityAssertion,
    built_in_signature_verifier::{BuiltInCredential, BuiltInSignatureVerifier},
    signature_verifier::{SignatureVerifier, ToCredentialSummary},
    signer_payload::SignerPayload,
    validation_error::ValidationError,
};

pub(crate) mod internal;

#[cfg(test)]
pub(crate) mod tests;

pub mod x509;