QED has many internal types.
We have a QED context data type that holds the algorithm that is used. (This library implements the "TYPE1" algorithm, and will soon also implement "TYPE2".):
QED_CTX c; QED_TYPE TYPE1;
Data types for private and public keys:
QEDPrivateKey_t PrivKey; QEDPublicKey_t PubKey;
Abstraction of the HVE bit vector resulting from the raw data. An HVE_t maps data into vector of sectors that can be used to run conjunctive queries. It can be thought of as an array of sectors, each sector specifying one of the conjunctive queries:
Format for an HVE bit vector entry, specifying the type of query (comparison/subset/equality), the security level, and the set size:
Holds data for a single comparison/equality/subset query.
HVE_COMPARISON_t comp; HVE_EQUALITY_T equal; HVE_SUBSET_t sub;
Holds data for single element in a subset for a subset query.
Data type for Token:
Data type for CipherText:
Data type for MessageKey:
GMP and PBC types may be used as well.