コード例 #1
0
ファイル: Issuer.cs プロジェクト: skemper/uprove-csharp-sdk
 /// <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
ファイル: Issuer.cs プロジェクト: Fiware/security.P2abcengine
 /// <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;
 }