Interface Identity

  • All Known Subinterfaces:
    SigningIdentity
    All Known Implementing Classes:
    IdemixIdentity, IdemixSigningIdentity, X509Identity, X509SigningIdentity


    public interface Identity
    Identity corresponds to the Identity in fabric MSP. The Identity is attached to the transaction signature and can be unique per user or unlinkable (depending on the implementation and requirements) This is to be used at the peer side when verifying certificates/credentials that transactions are signed with, and verifying signatures that correspond to these certificates.
    • Method Detail

      • createSerializedIdentity

        org.hyperledger.fabric.protos.msp.Identities.SerializedIdentity createSerializedIdentity​()
        Converts an identity to bytes
        Returns:
        SerializedIdentity