Class IdemixCredRequest



  • public class IdemixCredRequest
    extends java.lang.Object
    IdemixCredRequest represents the first message of the idemix issuance protocol, in which the user requests a credential from the issuer.
    • Constructor Summary

      Constructors 
      Constructor Description
      IdemixCredRequest​(org.apache.milagro.amcl.FP256BN.BIG sk, org.apache.milagro.amcl.FP256BN.BIG issuerNonce, IdemixIssuerPublicKey ipk)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toJson​()  
      javax.json.JsonObject toJsonObject​()  
      • Methods inherited from class java.lang.Object

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

      • IdemixCredRequest

        public IdemixCredRequest​(org.apache.milagro.amcl.FP256BN.BIG sk,
                                 org.apache.milagro.amcl.FP256BN.BIG issuerNonce,
                                 IdemixIssuerPublicKey ipk)
        Constructor
        Parameters:
        sk - the secret key of the user
        issuerNonce - a nonce
        ipk - the issuer public key
    • Method Detail

      • toJson

        public java.lang.String toJson​()
      • toJsonObject

        public javax.json.JsonObject toJsonObject​()