WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
/**
* Message from client to Credential service to collect credentials.
*/
-struct CollectMessage
-{
+struct CollectMessage {
/**
* Header of type #GNUNET_MESSAGE_TYPE_CREDENTIAL_VERIFY
*/
uint32_t id GNUNET_PACKED;
/* Followed by the zero-terminated attribute */
-
};
/**
* Message from client to Credential service to verify attributes.
*/
-struct VerifyMessage
-{
+struct VerifyMessage {
/**
* Header of type #GNUNET_MESSAGE_TYPE_CREDENTIAL_VERIFY
*/
uint32_t id GNUNET_PACKED;
/* Followed by the zero-terminated attribute and credentials to look up */
-
};
/**
* Message from CREDENTIAL service to client: new results.
*/
-struct DelegationChainResultMessage
-{
+struct DelegationChainResultMessage {
/**
- * Header of type #GNUNET_MESSAGE_TYPE_CREDENTIAL_VERIFY_RESULT
+ * Header of type #GNUNET_MESSAGE_TYPE_CREDENTIAL_VERIFY_RESULT
*/
struct GNUNET_MessageHeader header;
* Unique identifier for this request (for key collisions).
*/
uint32_t id GNUNET_PACKED;
-
+
/**
* Indicates if credential has been found at all
*/
uint32_t c_count GNUNET_PACKED;
/* followed by ad_count GNUNET_CREDENTIAL_RecordData structs*/
-
};
-struct DelegationRecordData
-{
+struct DelegationRecordData {
/**
* Subject key
*/
struct GNUNET_CRYPTO_EcdsaPublicKey subject_key;
-
+
/**
* Subject attributes
*/
};
-struct ChainEntry
-{
+struct ChainEntry {
/**
* Issuer key
*/
struct GNUNET_CRYPTO_EcdsaPublicKey issuer_key;
-
+
/**
* Subject key
*/
struct GNUNET_CRYPTO_EcdsaPublicKey subject_key;
-
+
/**
* Issuer attributes
*/
uint32_t issuer_attribute_len GNUNET_PACKED;
-
+
/**
* Subject attributes
*/
};
-struct CredentialEntry
-{
-
+struct CredentialEntry {
/**
* The signature for this credential by the issuer
*/
* Expiration time of this credential
*/
uint64_t expiration GNUNET_PACKED;
-
+
/**
* Issuer attribute length
*/