/*
This file is part of GNUnet.
- Copyright (C) 2016 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2016 GNUnet e.V.
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Liceidentity as published
*/
struct GNUNET_MessageHeader header;
- /* followed by 0-terminated ticket */
+ /**
+ * Unique identifier for this request (for key collisions).
+ */
+ uint32_t id GNUNET_PACKED;
+
+ /* followed by 0-terminated label,ticket,token */
};
struct GNUNET_MessageHeader header;
/**
- * Number of bytes in token string including 0-termination, in NBO;
+ * Unique identifier for this request (for key collisions).
+ */
+ uint32_t id GNUNET_PACKED;
+
+ /**
+ * Nonce found in ticket. NBO
* 0 on error.
*/
- uint16_t name_len GNUNET_PACKED;
+ uint64_t ticket_nonce GNUNET_PACKED;
/* followed by 0-terminated token */
*/
struct GNUNET_MessageHeader header;
+ /**
+ * Unique identifier for this request (for key collisions).
+ */
+ uint32_t id GNUNET_PACKED;
+
+
/**
* Issuer identity private key
*/
* Type: #GNUNET_MESSAGE_TYPE_IDENTITY_SET_DEFAULT
*/
struct GNUNET_MessageHeader header;
-
- /**
- * Audience identity private key
- */
- struct GNUNET_CRYPTO_EcdsaPrivateKey aud_privkey;
-
/**
- * Number of bytes in ticket string including 0-termination, in NBO.
+ * Unique identifier for this request (for key collisions).
*/
- uint16_t name_len GNUNET_PACKED;
+ uint32_t id GNUNET_PACKED;
/**
- * Always zero.
+ * Audience identity private key
*/
- uint16_t reserved GNUNET_PACKED;
+ struct GNUNET_CRYPTO_EcdsaPrivateKey aud_privkey;
/* followed by 0-terminated ticket string */