ockam_entity 0.35.0

Ockam is a library for building devices that communicate securely, privately and trustfully with cloud services and other devices.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::CredentialAttribute;
use ockam_core::compat::vec::Vec;
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,
}