/*
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
/**
* The JWT representation of the identity token
*/
- const char *data;
+ char *data;
};
/**
/**
* The Base64 representation of the ticket
*/
- const char *data;
+ char *data;
};
/**
*/
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;
-
+
+ /**
+ * Unique identifier for this request (for key collisions).
+ */
+ uint32_t id GNUNET_PACKED;
+
/**
* Audience identity private key
*/