identity_credential/presentation/
mod.rs

1// Copyright 2020-2023 IOTA Stiftung
2// SPDX-License-Identifier: Apache-2.0
3
4//! The core types used to create Verifiable Presentations.
5
6#![allow(clippy::module_inception)]
7
8#[cfg(feature = "jpt-bbs-plus")]
9mod jwp_presentation_builder;
10#[cfg(feature = "jpt-bbs-plus")]
11mod jwp_presentation_options;
12mod jwt_presentation_options;
13mod jwt_serialization;
14mod presentation;
15mod presentation_builder;
16
17#[cfg(feature = "jpt-bbs-plus")]
18pub use self::jwp_presentation_builder::SelectiveDisclosurePresentation;
19pub use self::jwt_presentation_options::JwtPresentationOptions;
20pub use self::presentation::Presentation;
21pub use self::presentation_builder::PresentationBuilder;
22#[cfg(feature = "jpt-bbs-plus")]
23pub use jwp_presentation_options::JwpPresentationOptions;
24
25#[cfg(feature = "validator")]
26pub(crate) use self::jwt_serialization::PresentationJwtClaims;