use ockam_core::compat::{string::String, vec::Vec};
use serde_big_array::big_array;
big_array! { BigArray; }
pub type SigningKey = [u8; 32];
pub type PresentationIdBytes = [u8; 32];
pub type SigningPublicKey = [u8; 96];
#[derive(Copy, Clone, Serialize, Deserialize, Debug)]
pub struct CredentialPublicKey(#[serde(with = "BigArray")] pub SigningPublicKey);
pub type ProofBytes = [u8; 48];
#[derive(Copy, Clone, Serialize, Deserialize, Debug)]
pub struct CredentialProof(#[serde(with = "BigArray")] pub ProofBytes);
pub type ProofRequestId = [u8; Nonce::BYTES];
pub type OfferId = [u8; Nonce::BYTES];
mod attribute;
mod attribute_schema;
mod attribute_type;
mod entity_credentials;
mod error;
mod ext;
mod fragment1;
mod fragment2;
mod macros;
mod messages;
mod offer;
mod presentation;
mod presentation_manifest;
mod profile_credentials;
mod profile_state_credentials;
mod request;
mod schema;
mod traits;
mod traits_credentials;
mod util;
mod workers;
pub use attribute::*;
pub use attribute_schema::*;
pub use attribute_type::*;
pub use entity_credentials::*;
pub use error::*;
pub use ext::*;
pub use fragment1::*;
pub use fragment2::*;
pub use macros::*;
pub(crate) use messages::*;
pub use offer::*;
pub use presentation::*;
pub use presentation_manifest::*;
pub use profile_credentials::*;
pub use profile_state_credentials::*;
pub use request::*;
pub use schema::*;
use serde::{Deserialize, Serialize};
use signature_bbs_plus::Signature;
use signature_core::nonce::Nonce;
pub use traits::*;
pub use traits_credentials::*;
use util::*;
pub(crate) use workers::*;
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct BbsCredential {
pub attributes: Vec<CredentialAttribute>,
pub signature: Signature,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CredentialRequestFragment(pub CredentialRequest, pub CredentialFragment1);