// This file is @generated by prost-build.
/// This struct represents an Identity
/// (with its MSP identifier) to be used
/// to serialize it and deserialize it
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SerializedIdentity {
    /// The identifier of the associated membership service provider
    #[prost(string, tag = "1")]
    pub mspid: ::prost::alloc::string::String,
    /// the Identity, serialized according to the rules of its MPS
    #[prost(bytes = "vec", tag = "2")]
    pub id_bytes: ::prost::alloc::vec::Vec<u8>,
}
/// This struct represents an Idemix Identity
/// to be used to serialize it and deserialize it.
/// The IdemixMSP will first serialize an idemix identity to bytes using
/// this proto, and then uses these bytes as id_bytes in SerializedIdentity
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SerializedIdemixIdentity {
    /// nym_x is the X-component of the pseudonym elliptic curve point.
    /// It is a \[\]byte representation of an amcl.BIG
    /// The pseudonym can be seen as a public key of the identity, it is used to verify signatures.
    #[prost(bytes = "vec", tag = "1")]
    pub nym_x: ::prost::alloc::vec::Vec<u8>,
    /// nym_y is the Y-component of the pseudonym elliptic curve point.
    /// It is a \[\]byte representation of an amcl.BIG
    /// The pseudonym can be seen as a public key of the identity, it is used to verify signatures.
    #[prost(bytes = "vec", tag = "2")]
    pub nym_y: ::prost::alloc::vec::Vec<u8>,
    /// ou contains the organizational unit of the idemix identity
    #[prost(bytes = "vec", tag = "3")]
    pub ou: ::prost::alloc::vec::Vec<u8>,
    /// role contains the role of this identity (e.g., ADMIN or MEMBER)
    #[prost(bytes = "vec", tag = "4")]
    pub role: ::prost::alloc::vec::Vec<u8>,
    /// proof contains the cryptographic evidence that this identity is valid
    #[prost(bytes = "vec", tag = "5")]
    pub proof: ::prost::alloc::vec::Vec<u8>,
}
