commonly used definitions; globals in this file are exempt from the rule that the module name ("commo...
Identity service; implements identity management for GNUnet.
#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32.
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32;.
#define GNUNET_PACKED
gcc-ism to get packed structs.
Use to delete an identity attribute.
struct GNUNET_MessageHeader header
Type: #GNUNET_MESSAGE_TYPE_IDENTITY_SET_DEFAULT.
uint16_t key_len
The length of the private key.
uint16_t attr_len
The length of the attribute.
Ask for next result of attribute iteration for the given operation.
struct GNUNET_MessageHeader header
Type will be GNUNET_MESSAGE_TYPE_RECLAIM_ATTRIBUTE_ITERATION_NEXT.
Start a attribute iteration for the given identity.
uint16_t key_len
The length of the private key.
uint16_t reserved
Reserved (alignment)
struct GNUNET_MessageHeader header
Message.
Stop attribute iteration for the given operation.
struct GNUNET_MessageHeader header
Type will be GNUNET_MESSAGE_TYPE_RECLAIM_ATTRIBUTE_ITERATION_STOP.
Attribute is returned from the idp.
uint16_t reserved
Reserved (alignment)
uint16_t attr_len
Length of serialized attribute data.
uint16_t pkey_len
The length of the public key.
uint16_t credential_len
Length of serialized credential data.
struct GNUNET_MessageHeader header
Message header.
Use to store an identity attribute.
struct GNUNET_MessageHeader header
Type: #GNUNET_MESSAGE_TYPE_IDENTITY_SET_DEFAULT.
uint64_t exp
The expiration interval of the attribute.
uint16_t key_len
The length of the private key.
uint16_t attr_len
The length of the attribute.
struct GNUNET_MessageHeader header
Type will be GNUNET_MESSAGE_TYPE_RECLAIM_CONSUME_TICKET.
uint16_t rp_uri_len
RP URI length.
uint16_t tkt_len
The length of the ticket.
Attribute list is returned from the idp.
uint16_t reserved
Reserved (alignment)
uint16_t attrs_len
Length of serialized attribute data.
struct GNUNET_MessageHeader header
Message header.
uint16_t presentations_len
Length of presentation data.
uint16_t key_len
The length of the identity public key.
Ask for next result of credential iteration for the given operation.
struct GNUNET_MessageHeader header
Type will be GNUNET_MESSAGE_TYPE_RECLAIM_ATTRIBUTE_ITERATION_NEXT.
Start a credential iteration for the given identity.
struct GNUNET_MessageHeader header
Message.
uint16_t reserved
Reserved (alignment)
uint16_t key_len
The length of the private key.
Stop credential iteration for the given operation.
struct GNUNET_MessageHeader header
Type will be GNUNET_MESSAGE_TYPE_RECLAIM_ATTRIBUTE_ITERATION_STOP.
Credential is returned from the idp.
uint16_t credential_len
Length of serialized attribute data.
struct GNUNET_MessageHeader header
Message header.
uint16_t key_len
The length of the public key.
struct GNUNET_MessageHeader header
Type will be GNUNET_MESSAGE_TYPE_RECLAIM_ISSUE_TICKET.
uint16_t rp_uri_len
The length of the relying party URI.
uint16_t reserved
Reserved (alignment)
uint16_t key_len
The length of the identity private key.
uint16_t attr_len
length of serialized attribute list
uint16_t key_len
The length of the private key.
uint16_t tkt_len
The length of the ticket.
struct GNUNET_MessageHeader header
Type will be GNUNET_MESSAGE_TYPE_RECLAIM_REVOKE_TICKET.
struct GNUNET_MessageHeader header
Type will be GNUNET_MESSAGE_TYPE_RECLAIM_REVOKE_TICKET_RESULT.
uint32_t success
Revocation result.
Attribute store/delete response message.
struct GNUNET_MessageHeader header
Message header.
int32_t op_result
GNUNET_SYSERR on failure, GNUNET_OK on success
Ask for next result of ticket iteration for the given operation.
struct GNUNET_MessageHeader header
Type will be GNUNET_MESSAGE_TYPE_RECLAIM_TICKET_ITERATION_NEXT.
Start a ticket iteration for the given identity.
uint16_t key_len
The length of the private key.
uint16_t reserved
Reserved (alignment)
struct GNUNET_MessageHeader header
Message.
Stop ticket iteration for the given operation.
struct GNUNET_MessageHeader header
Type will be GNUNET_MESSAGE_TYPE_RECLAIM_TICKET_ITERATION_STOP.
struct GNUNET_MessageHeader header
Type will be GNUNET_MESSAGE_TYPE_RECLAIM_TICKET_RESULT.
uint16_t presentations_len
Length of new presentations created.
uint16_t tkt_len
Ticket length.
uint16_t rp_uri_len
RP URI length.