aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_credential_service.h
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2016-12-14 16:20:54 +0100
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2016-12-14 16:20:54 +0100
commit02066879bd7eb841d01e1359021de3bc3aca11e0 (patch)
treea776dbed35166bb342f9bddb2a0140097ffc0d66 /src/include/gnunet_credential_service.h
parenta80e5610fe689631da94242e05f5ad85b21b6b4d (diff)
downloadgnunet-02066879bd7eb841d01e1359021de3bc3aca11e0.tar.gz
gnunet-02066879bd7eb841d01e1359021de3bc3aca11e0.zip
-towards type4
Diffstat (limited to 'src/include/gnunet_credential_service.h')
-rw-r--r--src/include/gnunet_credential_service.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/include/gnunet_credential_service.h b/src/include/gnunet_credential_service.h
index ba72b752b..b28d90140 100644
--- a/src/include/gnunet_credential_service.h
+++ b/src/include/gnunet_credential_service.h
@@ -126,6 +126,46 @@ struct GNUNET_CREDENTIAL_AttributeRecordData {
126}; 126};
127 127
128/** 128/**
129 * The attribute delegation record
130*/
131struct GNUNET_CREDENTIAL_DelegationRecordData {
132
133 uint32_t set_count;
134
135 uint64_t data_size;
136
137 char *data;
138
139 /**
140 * Followed by the attribute that was delegated to as string
141 * May be empty
142 */
143};
144
145
146
147/**
148 * The attribute delegation record
149*/
150struct GNUNET_CREDENTIAL_DelegationSetRecord {
151
152 /**
153 * Public key of the subject this attribute was delegated to
154 */
155 struct GNUNET_CRYPTO_EcdsaPublicKey subject_key;
156
157 uint32_t subject_attribute_len;
158
159 const char *subject_attribute;
160
161 /**
162 * Followed by the attribute that was delegated to as string
163 * May be empty
164 */
165};
166
167
168/**
129 * A delegation 169 * A delegation
130*/ 170*/
131struct GNUNET_CREDENTIAL_Delegation { 171struct GNUNET_CREDENTIAL_Delegation {