1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
use super::CredentialAttribute;
use serde::{Deserialize, Serialize};
use signature_bbs_plus::BlindSignature;

/// A partial credential that will be completed by the holder
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CredentialFragment2 {
    /// The signed attributes in the credential
    pub attributes: Vec<CredentialAttribute>,
    /// The cryptographic signature
    pub signature: BlindSignature,
}