cawg_identity/lib.rs
1// Copyright 2024 Adobe. All rights reserved.
2// This file is licensed to you under the Apache License,
3// Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
4// or the MIT license (http://opensource.org/licenses/MIT),
5// at your option.
6
7// Unless required by applicable law or agreed to in writing,
8// this software is distributed on an "AS IS" BASIS, WITHOUT
9// WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or
10// implied. See the LICENSE-MIT and LICENSE-APACHE files for the
11// specific language governing permissions and limitations under
12// each license.
13
14#![deny(clippy::expect_used)]
15#![deny(clippy::panic)]
16#![deny(clippy::unwrap_used)]
17#![deny(missing_docs)]
18#![deny(warnings)]
19#![doc = include_str!("../README.md")]
20
21pub mod builder;
22pub mod claim_aggregation;
23pub mod validator;
24
25mod identity_assertion;
26pub use identity_assertion::{
27 assertion::IdentityAssertion,
28 built_in_signature_verifier::BuiltInSignatureVerifier,
29 signature_verifier::{SignatureVerifier, ToCredentialSummary},
30 signer_payload::SignerPayload,
31 validation_error::ValidationError,
32};
33
34#[cfg(test)]
35pub(crate) mod tests;
36
37pub mod x509;