1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
use crate::CredentialSchema;
use ockam_core::lib::*;

/// A list of the accepted schemas, public keys, and required to be revealed
/// attributes from a verifier
#[derive(Debug, Clone)]
pub struct PresentationManifest {
    /// The credential schema associated with the public key
    pub credential_schema: CredentialSchema,
    /// The public key of the issuer
    pub public_key: [u8; 96],
    /// The attributes required to be revealed
    pub revealed: Vec<usize>,
}