Example #1
0
 /**
  * Create a new PolyPseudWorker
  * @param parameters The parameters for the query.
  * @param y_k The public key used in the polymorphic pseudonym system.
  * @param connectionString The connection string for the database to store polymorphic and encrypted pseudonyms in.
  * @param pseudonymProviderUrl The url for the pseudonym provider, as a format string with {0} being the polymorphic pseudonym and {1} being the SP ID.
  */
 public PolyPseudWorker(string[] parameters, string y_k, string connectionString, string pseudonymProviderUrl)
 {
     this.parameters = parameters;
     this.y_k        = y_k;
     db = new PseudonymDB(connectionString);
     pseudonymProvider = new PseudonymProvider(pseudonymProviderUrl);
 }
 /**
  * Create a new PolyPseudWorker
  * @param parameters The parameters for the query.
  * @param y_k The public key used in the polymorphic pseudonym system.
  * @param connectionString The connection string for the database to store polymorphic and encrypted pseudonyms in.
  * @param pseudonymProviderUrl The url for the pseudonym provider, as a format string with {0} being the polymorphic pseudonym and {1} being the SP ID.
  */
 public PolyPseudWorker(string[] parameters, string y_k, string connectionString, string pseudonymProviderUrl)
 {
     this.parameters = parameters;
     this.y_k = y_k;
     db = new PseudonymDB(connectionString);
     pseudonymProvider = new PseudonymProvider(pseudonymProviderUrl);
 }