예제 #1
0
 /// <summary>
 /// Constructs a new <code>Issuer</code> instance ready to complete the issuance.
 /// </summary>
 /// <param name="ikap">The issuer key and parameters.</param>
 /// <param name="pfms">State of another <code>Issuer</code> instance after the first message was generated.</param>
 public Issuer(IssuerKeyAndParameters ikap, PostFirstMessageState pfms)
 {
     this.ikap           = ikap;
     this.w              = pfms.W;
     this.numberOfTokens = w.Length;
     state = State.First;
 }
예제 #2
0
 /// <summary>
 /// Constructs a new <code>Issuer</code> instance ready to complete the issuance.
 /// </summary>
 /// <param name="ikap">The issuer key and parameters.</param>
 /// <param name="pfms">State of another <code>Issuer</code> instance after the first message was generated.</param>
 public Issuer(IssuerKeyAndParameters ikap, PostFirstMessageState pfms)
 {
     this.ikap = ikap;
     this.w = pfms.W;
     this.numberOfTokens = w.Length;
     state = State.First;
 }