1 2 3 4 5 6 7 8 9 10 11 12 13 14
use crate::CredentialAttribute; use bbs::prelude::*; use ockam_core::lib::*; /// Indicates how to present a credential #[derive(Debug, Clone)] pub struct CredentialPresentation { /// The presentation id or challenge hash pub presentation_id: [u8; 32], /// The revealed attribute values in the same canonical ordering as the presentation manifest pub revealed_attributes: Vec<CredentialAttribute>, /// The zero-knowledge proof associated with this credential pub proof: PoKOfSignatureProof, }