Class IdemixIssuerPublicKey



  • public class IdemixIssuerPublicKey
    extends java.lang.Object
    IdemixIssuerPublicKey represents the idemix public key of an issuer (Certificate Authority).
    • Constructor Summary

      Constructors 
      Constructor Description
      IdemixIssuerPublicKey​(org.hyperledger.fabric.protos.idemix.Idemix.IssuerPublicKey proto)
      Construct an IdemixIssuerPublicKey from a serialized issuer public key
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean check​()
      check whether the issuer public key is correct
      java.lang.String[] getAttributeNames​()  
      byte[] getHash​()  
      protected org.apache.milagro.amcl.FP256BN.ECP[] getHAttrs​()  
      protected org.apache.milagro.amcl.FP256BN.ECP getHRand​()  
      protected org.apache.milagro.amcl.FP256BN.ECP getHsk​()  
      protected org.apache.milagro.amcl.FP256BN.ECP2 getW​()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdemixIssuerPublicKey

        public IdemixIssuerPublicKey​(org.hyperledger.fabric.protos.idemix.Idemix.IssuerPublicKey proto)
        Construct an IdemixIssuerPublicKey from a serialized issuer public key
        Parameters:
        proto - a protobuf representation of an issuer public key
    • Method Detail

      • check

        public boolean check​()
        check whether the issuer public key is correct
        Returns:
        true iff valid
      • getAttributeNames

        public java.lang.String[] getAttributeNames​()
        Returns:
        The names of the attributes certified with this issuer public key
      • getHsk

        protected org.apache.milagro.amcl.FP256BN.ECP getHsk​()
      • getHRand

        protected org.apache.milagro.amcl.FP256BN.ECP getHRand​()
      • getHAttrs

        protected org.apache.milagro.amcl.FP256BN.ECP[] getHAttrs​()
      • getW

        protected org.apache.milagro.amcl.FP256BN.ECP2 getW​()
      • getHash

        public byte[] getHash​()
        Returns:
        A digest of this issuer public key