public class QuerierFactory
extends java.lang.Object
Querier given a EncryptionPropertiesBuilder.| Constructor and Description |
|---|
QuerierFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Querier |
createQuerier(java.util.UUID queryIdentifier,
java.util.List<java.lang.String> selectors,
java.util.Properties properties)
Generates a
Querier containing the encrypted query. |
public static Querier createQuerier(java.util.UUID queryIdentifier, java.util.List<java.lang.String> selectors, java.util.Properties properties) throws PIRException, java.lang.InterruptedException
Querier containing the encrypted query.queryIdentifier - A unique identifier for this query.selectors - A list of query selectors.properties - A list of properties specifying PIRK configuration options. Use EncryptionPropertiesBuilder to construct this object.PIRException - If the provided parameters violate one of the constraints of the PIRK algorithm.java.lang.InterruptedException - If the encryption process is interrupted.