Class IdemixIdentity

  • All Implemented Interfaces:
    Identity


    public class IdemixIdentity
    extends java.lang.Object
    implements Identity
    IdemixIdentity is a public serializable part of the IdemixSigningIdentity. It contains an (un)linkable pseudonym, revealed attribute values, and a corresponding proof of possession of an Idemix credential
    • Constructor Summary

      Constructors 
      Constructor Description
      IdemixIdentity​(java.lang.String mspId, IdemixIssuerPublicKey ipk, org.apache.milagro.amcl.FP256BN.ECP nym, java.lang.String ou, int roleMask, IdemixSignature proof)
      Create Idemix Identity from the following inputs:
      IdemixIdentity​(org.hyperledger.fabric.protos.msp.Identities.SerializedIdentity proto)
      Create Idemix Identity from a Serialized Identity
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.hyperledger.fabric.protos.msp.Identities.SerializedIdentity createSerializedIdentity​()
      Serialize Idemix Identity
      java.lang.String getOuValue​()  
      int getRoleMask​()  
      java.lang.String toString​()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • createSerializedIdentity

        public org.hyperledger.fabric.protos.msp.Identities.SerializedIdentity createSerializedIdentity​()
        Serialize Idemix Identity
        Specified by:
        createSerializedIdentity in interface Identity
        Returns:
        SerializedIdentity
      • getOuValue

        public java.lang.String getOuValue​()
      • getRoleMask

        public int getRoleMask​()
      • toString

        public java.lang.String toString​()
        Overrides:
        toString in class java.lang.Object