Class IdemixIssuerPublicKey
- java.lang.Object
-
- org.hyperledger.fabric.sdk.idemix.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 correctjava.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()
-
-
-
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
-
-