1 /* c/zx-md-data.h - WARNING: This header was auto generated by xsd2sg.pl. DO NOT EDIT! 2 * $Id$ */ 3 /* Datastructure design, topography, and layout 4 * Copyright (c) 2006,2010 Sampo Kellomaki (sampo@iki.fi), 5 * All Rights Reserved. NO WARRANTY. See file COPYING for 6 * terms and conditions of use. Element and attributes names as well 7 * as some topography are derived from schema descriptions that were used as 8 * input and may be subject to their own copright. */ 9 10 #ifndef _c_zx_md_data_h 11 #define _c_zx_md_data_h 12 13 #include "zx.h" 14 #include "c/zx-const.h" 15 #include "c/zx-data.h" 16 17 #ifndef ZX_ELEM_EXT 18 #define ZX_ELEM_EXT /* This extension point should be defined by who includes this file. */ 19 #endif 20 21 /* -------------------------- md_AdditionalMetadataLocation -------------------------- */ 22 /* refby( zx_md_EntityDescriptor_s ) */ 23 #ifndef zx_md_AdditionalMetadataLocation_EXT 24 #define zx_md_AdditionalMetadataLocation_EXT 25 #endif 26 struct zx_md_AdditionalMetadataLocation_s { 27 ZX_ELEM_EXT 28 zx_md_AdditionalMetadataLocation_EXT 29 struct zx_attr_s* namespace_is_cxx_keyword; /* {1,1} attribute xs:anyURI */ 30 }; 31 32 #define zx_NEW_md_AdditionalMetadataLocation(c, father) (struct zx_md_AdditionalMetadataLocation_s*)zx_new_elem((c),(father),zx_md_AdditionalMetadataLocation_ELEM) 33 int zx_DEC_ATTR_md_AdditionalMetadataLocation(struct zx_ctx* c, struct zx_md_AdditionalMetadataLocation_s* x); 34 int zx_DEC_ELEM_md_AdditionalMetadataLocation(struct zx_ctx* c, struct zx_md_AdditionalMetadataLocation_s* x); 35 36 #ifdef ZX_ENA_AUX 37 struct zx_md_AdditionalMetadataLocation_s* zx_DEEP_CLONE_md_AdditionalMetadataLocation(struct zx_ctx* c, struct zx_md_AdditionalMetadataLocation_s* x, int dup_strs); 38 void zx_DUP_STRS_md_AdditionalMetadataLocation(struct zx_ctx* c, struct zx_md_AdditionalMetadataLocation_s* x); 39 int zx_WALK_SO_md_AdditionalMetadataLocation(struct zx_ctx* c, struct zx_md_AdditionalMetadataLocation_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 40 int zx_WALK_WO_md_AdditionalMetadataLocation(struct zx_ctx* c, struct zx_md_AdditionalMetadataLocation_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 41 #endif 42 43 #ifdef ZX_ENA_GETPUT 44 struct zx_attr_s* zx_md_AdditionalMetadataLocation_GET_namespace_is_cxx_keyword(struct zx_md_AdditionalMetadataLocation_s* x); 45 46 47 48 49 50 void zx_md_AdditionalMetadataLocation_PUT_namespace_is_cxx_keyword(struct zx_md_AdditionalMetadataLocation_s* x, struct zx_attr_s* y); 51 52 53 54 55 56 #endif 57 /* -------------------------- md_AffiliationDescriptor -------------------------- */ 58 /* refby( zx_md_EntityDescriptor_s ) */ 59 #ifndef zx_md_AffiliationDescriptor_EXT 60 #define zx_md_AffiliationDescriptor_EXT 61 #endif 62 struct zx_md_AffiliationDescriptor_s { 63 ZX_ELEM_EXT 64 zx_md_AffiliationDescriptor_EXT 65 struct zx_ds_Signature_s* Signature; /* {0,1} nada */ 66 struct zx_md_Extensions_s* Extensions; /* {0,1} nada */ 67 struct zx_elem_s* AffiliateMember; /* {1,-1} xs:anyURI */ 68 struct zx_md_KeyDescriptor_s* KeyDescriptor; /* {0,-1} nada */ 69 struct zx_attr_s* ID; /* {0,1} attribute xs:ID */ 70 struct zx_attr_s* affiliationOwnerID; /* {1,1} attribute m20:entityIDType */ 71 struct zx_attr_s* cacheDuration; /* {0,1} attribute xs:duration */ 72 struct zx_attr_s* validUntil; /* {0,1} attribute xs:dateTime */ 73 }; 74 75 #define zx_NEW_md_AffiliationDescriptor(c, father) (struct zx_md_AffiliationDescriptor_s*)zx_new_elem((c),(father),zx_md_AffiliationDescriptor_ELEM) 76 int zx_DEC_ATTR_md_AffiliationDescriptor(struct zx_ctx* c, struct zx_md_AffiliationDescriptor_s* x); 77 int zx_DEC_ELEM_md_AffiliationDescriptor(struct zx_ctx* c, struct zx_md_AffiliationDescriptor_s* x); 78 79 #ifdef ZX_ENA_AUX 80 struct zx_md_AffiliationDescriptor_s* zx_DEEP_CLONE_md_AffiliationDescriptor(struct zx_ctx* c, struct zx_md_AffiliationDescriptor_s* x, int dup_strs); 81 void zx_DUP_STRS_md_AffiliationDescriptor(struct zx_ctx* c, struct zx_md_AffiliationDescriptor_s* x); 82 int zx_WALK_SO_md_AffiliationDescriptor(struct zx_ctx* c, struct zx_md_AffiliationDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 83 int zx_WALK_WO_md_AffiliationDescriptor(struct zx_ctx* c, struct zx_md_AffiliationDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 84 #endif 85 86 #ifdef ZX_ENA_GETPUT 87 struct zx_attr_s* zx_md_AffiliationDescriptor_GET_ID(struct zx_md_AffiliationDescriptor_s* x); 88 struct zx_attr_s* zx_md_AffiliationDescriptor_GET_affiliationOwnerID(struct zx_md_AffiliationDescriptor_s* x); 89 struct zx_attr_s* zx_md_AffiliationDescriptor_GET_cacheDuration(struct zx_md_AffiliationDescriptor_s* x); 90 struct zx_attr_s* zx_md_AffiliationDescriptor_GET_validUntil(struct zx_md_AffiliationDescriptor_s* x); 91 92 struct zx_ds_Signature_s* zx_md_AffiliationDescriptor_GET_Signature(struct zx_md_AffiliationDescriptor_s* x, int n); 93 struct zx_md_Extensions_s* zx_md_AffiliationDescriptor_GET_Extensions(struct zx_md_AffiliationDescriptor_s* x, int n); 94 struct zx_elem_s* zx_md_AffiliationDescriptor_GET_AffiliateMember(struct zx_md_AffiliationDescriptor_s* x, int n); 95 struct zx_md_KeyDescriptor_s* zx_md_AffiliationDescriptor_GET_KeyDescriptor(struct zx_md_AffiliationDescriptor_s* x, int n); 96 97 int zx_md_AffiliationDescriptor_NUM_Signature(struct zx_md_AffiliationDescriptor_s* x); 98 int zx_md_AffiliationDescriptor_NUM_Extensions(struct zx_md_AffiliationDescriptor_s* x); 99 int zx_md_AffiliationDescriptor_NUM_AffiliateMember(struct zx_md_AffiliationDescriptor_s* x); 100 int zx_md_AffiliationDescriptor_NUM_KeyDescriptor(struct zx_md_AffiliationDescriptor_s* x); 101 102 struct zx_ds_Signature_s* zx_md_AffiliationDescriptor_POP_Signature(struct zx_md_AffiliationDescriptor_s* x); 103 struct zx_md_Extensions_s* zx_md_AffiliationDescriptor_POP_Extensions(struct zx_md_AffiliationDescriptor_s* x); 104 struct zx_elem_s* zx_md_AffiliationDescriptor_POP_AffiliateMember(struct zx_md_AffiliationDescriptor_s* x); 105 struct zx_md_KeyDescriptor_s* zx_md_AffiliationDescriptor_POP_KeyDescriptor(struct zx_md_AffiliationDescriptor_s* x); 106 107 void zx_md_AffiliationDescriptor_PUSH_Signature(struct zx_md_AffiliationDescriptor_s* x, struct zx_ds_Signature_s* y); 108 void zx_md_AffiliationDescriptor_PUSH_Extensions(struct zx_md_AffiliationDescriptor_s* x, struct zx_md_Extensions_s* y); 109 void zx_md_AffiliationDescriptor_PUSH_AffiliateMember(struct zx_md_AffiliationDescriptor_s* x, struct zx_elem_s* y); 110 void zx_md_AffiliationDescriptor_PUSH_KeyDescriptor(struct zx_md_AffiliationDescriptor_s* x, struct zx_md_KeyDescriptor_s* y); 111 112 void zx_md_AffiliationDescriptor_PUT_ID(struct zx_md_AffiliationDescriptor_s* x, struct zx_attr_s* y); 113 void zx_md_AffiliationDescriptor_PUT_affiliationOwnerID(struct zx_md_AffiliationDescriptor_s* x, struct zx_attr_s* y); 114 void zx_md_AffiliationDescriptor_PUT_cacheDuration(struct zx_md_AffiliationDescriptor_s* x, struct zx_attr_s* y); 115 void zx_md_AffiliationDescriptor_PUT_validUntil(struct zx_md_AffiliationDescriptor_s* x, struct zx_attr_s* y); 116 117 void zx_md_AffiliationDescriptor_PUT_Signature(struct zx_md_AffiliationDescriptor_s* x, int n, struct zx_ds_Signature_s* y); 118 void zx_md_AffiliationDescriptor_PUT_Extensions(struct zx_md_AffiliationDescriptor_s* x, int n, struct zx_md_Extensions_s* y); 119 void zx_md_AffiliationDescriptor_PUT_AffiliateMember(struct zx_md_AffiliationDescriptor_s* x, int n, struct zx_elem_s* y); 120 void zx_md_AffiliationDescriptor_PUT_KeyDescriptor(struct zx_md_AffiliationDescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* y); 121 122 void zx_md_AffiliationDescriptor_ADD_Signature(struct zx_md_AffiliationDescriptor_s* x, int n, struct zx_ds_Signature_s* z); 123 void zx_md_AffiliationDescriptor_ADD_Extensions(struct zx_md_AffiliationDescriptor_s* x, int n, struct zx_md_Extensions_s* z); 124 void zx_md_AffiliationDescriptor_ADD_AffiliateMember(struct zx_md_AffiliationDescriptor_s* x, int n, struct zx_elem_s* z); 125 void zx_md_AffiliationDescriptor_ADD_KeyDescriptor(struct zx_md_AffiliationDescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* z); 126 127 void zx_md_AffiliationDescriptor_DEL_Signature(struct zx_md_AffiliationDescriptor_s* x, int n); 128 void zx_md_AffiliationDescriptor_DEL_Extensions(struct zx_md_AffiliationDescriptor_s* x, int n); 129 void zx_md_AffiliationDescriptor_DEL_AffiliateMember(struct zx_md_AffiliationDescriptor_s* x,int n); 130 void zx_md_AffiliationDescriptor_DEL_KeyDescriptor(struct zx_md_AffiliationDescriptor_s* x, int n); 131 132 void zx_md_AffiliationDescriptor_REV_Signature(struct zx_md_AffiliationDescriptor_s* x); 133 void zx_md_AffiliationDescriptor_REV_Extensions(struct zx_md_AffiliationDescriptor_s* x); 134 void zx_md_AffiliationDescriptor_REV_AffiliateMember(struct zx_md_AffiliationDescriptor_s* x); 135 void zx_md_AffiliationDescriptor_REV_KeyDescriptor(struct zx_md_AffiliationDescriptor_s* x); 136 137 #endif 138 /* -------------------------- md_ArtifactResolutionService -------------------------- */ 139 /* refby( zx_md_IDPSSODescriptor_s zx_md_SPSSODescriptor_s ) */ 140 #ifndef zx_md_ArtifactResolutionService_EXT 141 #define zx_md_ArtifactResolutionService_EXT 142 #endif 143 struct zx_md_ArtifactResolutionService_s { 144 ZX_ELEM_EXT 145 zx_md_ArtifactResolutionService_EXT 146 struct zx_attr_s* Binding; /* {1,1} attribute xs:anyURI */ 147 struct zx_attr_s* Location; /* {1,1} attribute xs:anyURI */ 148 struct zx_attr_s* ResponseLocation; /* {0,1} attribute xs:anyURI */ 149 struct zx_attr_s* index; /* {0,1} attribute xs:unsignedShort */ 150 struct zx_attr_s* isDefault; /* {0,1} attribute xs:boolean */ 151 }; 152 153 #define zx_NEW_md_ArtifactResolutionService(c, father) (struct zx_md_ArtifactResolutionService_s*)zx_new_elem((c),(father),zx_md_ArtifactResolutionService_ELEM) 154 int zx_DEC_ATTR_md_ArtifactResolutionService(struct zx_ctx* c, struct zx_md_ArtifactResolutionService_s* x); 155 int zx_DEC_ELEM_md_ArtifactResolutionService(struct zx_ctx* c, struct zx_md_ArtifactResolutionService_s* x); 156 157 #ifdef ZX_ENA_AUX 158 struct zx_md_ArtifactResolutionService_s* zx_DEEP_CLONE_md_ArtifactResolutionService(struct zx_ctx* c, struct zx_md_ArtifactResolutionService_s* x, int dup_strs); 159 void zx_DUP_STRS_md_ArtifactResolutionService(struct zx_ctx* c, struct zx_md_ArtifactResolutionService_s* x); 160 int zx_WALK_SO_md_ArtifactResolutionService(struct zx_ctx* c, struct zx_md_ArtifactResolutionService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 161 int zx_WALK_WO_md_ArtifactResolutionService(struct zx_ctx* c, struct zx_md_ArtifactResolutionService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 162 #endif 163 164 #ifdef ZX_ENA_GETPUT 165 struct zx_attr_s* zx_md_ArtifactResolutionService_GET_Binding(struct zx_md_ArtifactResolutionService_s* x); 166 struct zx_attr_s* zx_md_ArtifactResolutionService_GET_Location(struct zx_md_ArtifactResolutionService_s* x); 167 struct zx_attr_s* zx_md_ArtifactResolutionService_GET_ResponseLocation(struct zx_md_ArtifactResolutionService_s* x); 168 struct zx_attr_s* zx_md_ArtifactResolutionService_GET_index(struct zx_md_ArtifactResolutionService_s* x); 169 struct zx_attr_s* zx_md_ArtifactResolutionService_GET_isDefault(struct zx_md_ArtifactResolutionService_s* x); 170 171 172 173 174 175 void zx_md_ArtifactResolutionService_PUT_Binding(struct zx_md_ArtifactResolutionService_s* x, struct zx_attr_s* y); 176 void zx_md_ArtifactResolutionService_PUT_Location(struct zx_md_ArtifactResolutionService_s* x, struct zx_attr_s* y); 177 void zx_md_ArtifactResolutionService_PUT_ResponseLocation(struct zx_md_ArtifactResolutionService_s* x, struct zx_attr_s* y); 178 void zx_md_ArtifactResolutionService_PUT_index(struct zx_md_ArtifactResolutionService_s* x, struct zx_attr_s* y); 179 void zx_md_ArtifactResolutionService_PUT_isDefault(struct zx_md_ArtifactResolutionService_s* x, struct zx_attr_s* y); 180 181 182 183 184 185 #endif 186 /* -------------------------- md_AssertionConsumerService -------------------------- */ 187 /* refby( zx_md_SPSSODescriptor_s ) */ 188 #ifndef zx_md_AssertionConsumerService_EXT 189 #define zx_md_AssertionConsumerService_EXT 190 #endif 191 struct zx_md_AssertionConsumerService_s { 192 ZX_ELEM_EXT 193 zx_md_AssertionConsumerService_EXT 194 struct zx_attr_s* Binding; /* {1,1} attribute xs:anyURI */ 195 struct zx_attr_s* Location; /* {1,1} attribute xs:anyURI */ 196 struct zx_attr_s* ResponseLocation; /* {0,1} attribute xs:anyURI */ 197 struct zx_attr_s* index; /* {0,1} attribute xs:unsignedShort */ 198 struct zx_attr_s* isDefault; /* {0,1} attribute xs:boolean */ 199 }; 200 201 #define zx_NEW_md_AssertionConsumerService(c, father) (struct zx_md_AssertionConsumerService_s*)zx_new_elem((c),(father),zx_md_AssertionConsumerService_ELEM) 202 int zx_DEC_ATTR_md_AssertionConsumerService(struct zx_ctx* c, struct zx_md_AssertionConsumerService_s* x); 203 int zx_DEC_ELEM_md_AssertionConsumerService(struct zx_ctx* c, struct zx_md_AssertionConsumerService_s* x); 204 205 #ifdef ZX_ENA_AUX 206 struct zx_md_AssertionConsumerService_s* zx_DEEP_CLONE_md_AssertionConsumerService(struct zx_ctx* c, struct zx_md_AssertionConsumerService_s* x, int dup_strs); 207 void zx_DUP_STRS_md_AssertionConsumerService(struct zx_ctx* c, struct zx_md_AssertionConsumerService_s* x); 208 int zx_WALK_SO_md_AssertionConsumerService(struct zx_ctx* c, struct zx_md_AssertionConsumerService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 209 int zx_WALK_WO_md_AssertionConsumerService(struct zx_ctx* c, struct zx_md_AssertionConsumerService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 210 #endif 211 212 #ifdef ZX_ENA_GETPUT 213 struct zx_attr_s* zx_md_AssertionConsumerService_GET_Binding(struct zx_md_AssertionConsumerService_s* x); 214 struct zx_attr_s* zx_md_AssertionConsumerService_GET_Location(struct zx_md_AssertionConsumerService_s* x); 215 struct zx_attr_s* zx_md_AssertionConsumerService_GET_ResponseLocation(struct zx_md_AssertionConsumerService_s* x); 216 struct zx_attr_s* zx_md_AssertionConsumerService_GET_index(struct zx_md_AssertionConsumerService_s* x); 217 struct zx_attr_s* zx_md_AssertionConsumerService_GET_isDefault(struct zx_md_AssertionConsumerService_s* x); 218 219 220 221 222 223 void zx_md_AssertionConsumerService_PUT_Binding(struct zx_md_AssertionConsumerService_s* x, struct zx_attr_s* y); 224 void zx_md_AssertionConsumerService_PUT_Location(struct zx_md_AssertionConsumerService_s* x, struct zx_attr_s* y); 225 void zx_md_AssertionConsumerService_PUT_ResponseLocation(struct zx_md_AssertionConsumerService_s* x, struct zx_attr_s* y); 226 void zx_md_AssertionConsumerService_PUT_index(struct zx_md_AssertionConsumerService_s* x, struct zx_attr_s* y); 227 void zx_md_AssertionConsumerService_PUT_isDefault(struct zx_md_AssertionConsumerService_s* x, struct zx_attr_s* y); 228 229 230 231 232 233 #endif 234 /* -------------------------- md_AssertionIDRequestService -------------------------- */ 235 /* refby( zx_md_AttributeAuthorityDescriptor_s zx_md_PDPDescriptor_s zx_md_AuthnAuthorityDescriptor_s zx_md_IDPSSODescriptor_s ) */ 236 #ifndef zx_md_AssertionIDRequestService_EXT 237 #define zx_md_AssertionIDRequestService_EXT 238 #endif 239 struct zx_md_AssertionIDRequestService_s { 240 ZX_ELEM_EXT 241 zx_md_AssertionIDRequestService_EXT 242 struct zx_attr_s* Binding; /* {1,1} attribute xs:anyURI */ 243 struct zx_attr_s* Location; /* {1,1} attribute xs:anyURI */ 244 struct zx_attr_s* ResponseLocation; /* {0,1} attribute xs:anyURI */ 245 struct zx_attr_s* index; /* {0,1} attribute xs:unsignedShort */ 246 struct zx_attr_s* isDefault; /* {0,1} attribute xs:boolean */ 247 }; 248 249 #define zx_NEW_md_AssertionIDRequestService(c, father) (struct zx_md_AssertionIDRequestService_s*)zx_new_elem((c),(father),zx_md_AssertionIDRequestService_ELEM) 250 int zx_DEC_ATTR_md_AssertionIDRequestService(struct zx_ctx* c, struct zx_md_AssertionIDRequestService_s* x); 251 int zx_DEC_ELEM_md_AssertionIDRequestService(struct zx_ctx* c, struct zx_md_AssertionIDRequestService_s* x); 252 253 #ifdef ZX_ENA_AUX 254 struct zx_md_AssertionIDRequestService_s* zx_DEEP_CLONE_md_AssertionIDRequestService(struct zx_ctx* c, struct zx_md_AssertionIDRequestService_s* x, int dup_strs); 255 void zx_DUP_STRS_md_AssertionIDRequestService(struct zx_ctx* c, struct zx_md_AssertionIDRequestService_s* x); 256 int zx_WALK_SO_md_AssertionIDRequestService(struct zx_ctx* c, struct zx_md_AssertionIDRequestService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 257 int zx_WALK_WO_md_AssertionIDRequestService(struct zx_ctx* c, struct zx_md_AssertionIDRequestService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 258 #endif 259 260 #ifdef ZX_ENA_GETPUT 261 struct zx_attr_s* zx_md_AssertionIDRequestService_GET_Binding(struct zx_md_AssertionIDRequestService_s* x); 262 struct zx_attr_s* zx_md_AssertionIDRequestService_GET_Location(struct zx_md_AssertionIDRequestService_s* x); 263 struct zx_attr_s* zx_md_AssertionIDRequestService_GET_ResponseLocation(struct zx_md_AssertionIDRequestService_s* x); 264 struct zx_attr_s* zx_md_AssertionIDRequestService_GET_index(struct zx_md_AssertionIDRequestService_s* x); 265 struct zx_attr_s* zx_md_AssertionIDRequestService_GET_isDefault(struct zx_md_AssertionIDRequestService_s* x); 266 267 268 269 270 271 void zx_md_AssertionIDRequestService_PUT_Binding(struct zx_md_AssertionIDRequestService_s* x, struct zx_attr_s* y); 272 void zx_md_AssertionIDRequestService_PUT_Location(struct zx_md_AssertionIDRequestService_s* x, struct zx_attr_s* y); 273 void zx_md_AssertionIDRequestService_PUT_ResponseLocation(struct zx_md_AssertionIDRequestService_s* x, struct zx_attr_s* y); 274 void zx_md_AssertionIDRequestService_PUT_index(struct zx_md_AssertionIDRequestService_s* x, struct zx_attr_s* y); 275 void zx_md_AssertionIDRequestService_PUT_isDefault(struct zx_md_AssertionIDRequestService_s* x, struct zx_attr_s* y); 276 277 278 279 280 281 #endif 282 /* -------------------------- md_AttributeAuthorityDescriptor -------------------------- */ 283 /* refby( zx_md_EntityDescriptor_s ) */ 284 #ifndef zx_md_AttributeAuthorityDescriptor_EXT 285 #define zx_md_AttributeAuthorityDescriptor_EXT 286 #endif 287 struct zx_md_AttributeAuthorityDescriptor_s { 288 ZX_ELEM_EXT 289 zx_md_AttributeAuthorityDescriptor_EXT 290 struct zx_ds_Signature_s* Signature; /* {0,1} nada */ 291 struct zx_md_Extensions_s* Extensions; /* {0,1} nada */ 292 struct zx_md_KeyDescriptor_s* KeyDescriptor; /* {0,-1} nada */ 293 struct zx_md_Organization_s* Organization; /* {0,1} nada */ 294 struct zx_md_ContactPerson_s* ContactPerson; /* {0,-1} nada */ 295 struct zx_md_AttributeService_s* AttributeService; /* {1,-1} nada */ 296 struct zx_md_AssertionIDRequestService_s* AssertionIDRequestService; /* {0,-1} nada */ 297 struct zx_elem_s* NameIDFormat; /* {0,-1} xs:anyURI */ 298 struct zx_elem_s* AttributeProfile; /* {0,-1} xs:anyURI */ 299 struct zx_sa_Attribute_s* Attribute; /* {0,-1} nada */ 300 struct zx_attr_s* ID; /* {0,1} attribute xs:ID */ 301 struct zx_attr_s* cacheDuration; /* {0,1} attribute xs:duration */ 302 struct zx_attr_s* errorURL; /* {0,1} attribute xs:anyURI */ 303 struct zx_attr_s* protocolSupportEnumeration; /* {1,1} attribute xs:string */ 304 struct zx_attr_s* validUntil; /* {0,1} attribute xs:dateTime */ 305 }; 306 307 #define zx_NEW_md_AttributeAuthorityDescriptor(c, father) (struct zx_md_AttributeAuthorityDescriptor_s*)zx_new_elem((c),(father),zx_md_AttributeAuthorityDescriptor_ELEM) 308 int zx_DEC_ATTR_md_AttributeAuthorityDescriptor(struct zx_ctx* c, struct zx_md_AttributeAuthorityDescriptor_s* x); 309 int zx_DEC_ELEM_md_AttributeAuthorityDescriptor(struct zx_ctx* c, struct zx_md_AttributeAuthorityDescriptor_s* x); 310 311 #ifdef ZX_ENA_AUX 312 struct zx_md_AttributeAuthorityDescriptor_s* zx_DEEP_CLONE_md_AttributeAuthorityDescriptor(struct zx_ctx* c, struct zx_md_AttributeAuthorityDescriptor_s* x, int dup_strs); 313 void zx_DUP_STRS_md_AttributeAuthorityDescriptor(struct zx_ctx* c, struct zx_md_AttributeAuthorityDescriptor_s* x); 314 int zx_WALK_SO_md_AttributeAuthorityDescriptor(struct zx_ctx* c, struct zx_md_AttributeAuthorityDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 315 int zx_WALK_WO_md_AttributeAuthorityDescriptor(struct zx_ctx* c, struct zx_md_AttributeAuthorityDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 316 #endif 317 318 #ifdef ZX_ENA_GETPUT 319 struct zx_attr_s* zx_md_AttributeAuthorityDescriptor_GET_ID(struct zx_md_AttributeAuthorityDescriptor_s* x); 320 struct zx_attr_s* zx_md_AttributeAuthorityDescriptor_GET_cacheDuration(struct zx_md_AttributeAuthorityDescriptor_s* x); 321 struct zx_attr_s* zx_md_AttributeAuthorityDescriptor_GET_errorURL(struct zx_md_AttributeAuthorityDescriptor_s* x); 322 struct zx_attr_s* zx_md_AttributeAuthorityDescriptor_GET_protocolSupportEnumeration(struct zx_md_AttributeAuthorityDescriptor_s* x); 323 struct zx_attr_s* zx_md_AttributeAuthorityDescriptor_GET_validUntil(struct zx_md_AttributeAuthorityDescriptor_s* x); 324 325 struct zx_ds_Signature_s* zx_md_AttributeAuthorityDescriptor_GET_Signature(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 326 struct zx_md_Extensions_s* zx_md_AttributeAuthorityDescriptor_GET_Extensions(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 327 struct zx_md_KeyDescriptor_s* zx_md_AttributeAuthorityDescriptor_GET_KeyDescriptor(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 328 struct zx_md_Organization_s* zx_md_AttributeAuthorityDescriptor_GET_Organization(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 329 struct zx_md_ContactPerson_s* zx_md_AttributeAuthorityDescriptor_GET_ContactPerson(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 330 struct zx_md_AttributeService_s* zx_md_AttributeAuthorityDescriptor_GET_AttributeService(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 331 struct zx_md_AssertionIDRequestService_s* zx_md_AttributeAuthorityDescriptor_GET_AssertionIDRequestService(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 332 struct zx_elem_s* zx_md_AttributeAuthorityDescriptor_GET_NameIDFormat(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 333 struct zx_elem_s* zx_md_AttributeAuthorityDescriptor_GET_AttributeProfile(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 334 struct zx_sa_Attribute_s* zx_md_AttributeAuthorityDescriptor_GET_Attribute(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 335 336 int zx_md_AttributeAuthorityDescriptor_NUM_Signature(struct zx_md_AttributeAuthorityDescriptor_s* x); 337 int zx_md_AttributeAuthorityDescriptor_NUM_Extensions(struct zx_md_AttributeAuthorityDescriptor_s* x); 338 int zx_md_AttributeAuthorityDescriptor_NUM_KeyDescriptor(struct zx_md_AttributeAuthorityDescriptor_s* x); 339 int zx_md_AttributeAuthorityDescriptor_NUM_Organization(struct zx_md_AttributeAuthorityDescriptor_s* x); 340 int zx_md_AttributeAuthorityDescriptor_NUM_ContactPerson(struct zx_md_AttributeAuthorityDescriptor_s* x); 341 int zx_md_AttributeAuthorityDescriptor_NUM_AttributeService(struct zx_md_AttributeAuthorityDescriptor_s* x); 342 int zx_md_AttributeAuthorityDescriptor_NUM_AssertionIDRequestService(struct zx_md_AttributeAuthorityDescriptor_s* x); 343 int zx_md_AttributeAuthorityDescriptor_NUM_NameIDFormat(struct zx_md_AttributeAuthorityDescriptor_s* x); 344 int zx_md_AttributeAuthorityDescriptor_NUM_AttributeProfile(struct zx_md_AttributeAuthorityDescriptor_s* x); 345 int zx_md_AttributeAuthorityDescriptor_NUM_Attribute(struct zx_md_AttributeAuthorityDescriptor_s* x); 346 347 struct zx_ds_Signature_s* zx_md_AttributeAuthorityDescriptor_POP_Signature(struct zx_md_AttributeAuthorityDescriptor_s* x); 348 struct zx_md_Extensions_s* zx_md_AttributeAuthorityDescriptor_POP_Extensions(struct zx_md_AttributeAuthorityDescriptor_s* x); 349 struct zx_md_KeyDescriptor_s* zx_md_AttributeAuthorityDescriptor_POP_KeyDescriptor(struct zx_md_AttributeAuthorityDescriptor_s* x); 350 struct zx_md_Organization_s* zx_md_AttributeAuthorityDescriptor_POP_Organization(struct zx_md_AttributeAuthorityDescriptor_s* x); 351 struct zx_md_ContactPerson_s* zx_md_AttributeAuthorityDescriptor_POP_ContactPerson(struct zx_md_AttributeAuthorityDescriptor_s* x); 352 struct zx_md_AttributeService_s* zx_md_AttributeAuthorityDescriptor_POP_AttributeService(struct zx_md_AttributeAuthorityDescriptor_s* x); 353 struct zx_md_AssertionIDRequestService_s* zx_md_AttributeAuthorityDescriptor_POP_AssertionIDRequestService(struct zx_md_AttributeAuthorityDescriptor_s* x); 354 struct zx_elem_s* zx_md_AttributeAuthorityDescriptor_POP_NameIDFormat(struct zx_md_AttributeAuthorityDescriptor_s* x); 355 struct zx_elem_s* zx_md_AttributeAuthorityDescriptor_POP_AttributeProfile(struct zx_md_AttributeAuthorityDescriptor_s* x); 356 struct zx_sa_Attribute_s* zx_md_AttributeAuthorityDescriptor_POP_Attribute(struct zx_md_AttributeAuthorityDescriptor_s* x); 357 358 void zx_md_AttributeAuthorityDescriptor_PUSH_Signature(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_ds_Signature_s* y); 359 void zx_md_AttributeAuthorityDescriptor_PUSH_Extensions(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_md_Extensions_s* y); 360 void zx_md_AttributeAuthorityDescriptor_PUSH_KeyDescriptor(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_md_KeyDescriptor_s* y); 361 void zx_md_AttributeAuthorityDescriptor_PUSH_Organization(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_md_Organization_s* y); 362 void zx_md_AttributeAuthorityDescriptor_PUSH_ContactPerson(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_md_ContactPerson_s* y); 363 void zx_md_AttributeAuthorityDescriptor_PUSH_AttributeService(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_md_AttributeService_s* y); 364 void zx_md_AttributeAuthorityDescriptor_PUSH_AssertionIDRequestService(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_md_AssertionIDRequestService_s* y); 365 void zx_md_AttributeAuthorityDescriptor_PUSH_NameIDFormat(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_elem_s* y); 366 void zx_md_AttributeAuthorityDescriptor_PUSH_AttributeProfile(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_elem_s* y); 367 void zx_md_AttributeAuthorityDescriptor_PUSH_Attribute(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_sa_Attribute_s* y); 368 369 void zx_md_AttributeAuthorityDescriptor_PUT_ID(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_attr_s* y); 370 void zx_md_AttributeAuthorityDescriptor_PUT_cacheDuration(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_attr_s* y); 371 void zx_md_AttributeAuthorityDescriptor_PUT_errorURL(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_attr_s* y); 372 void zx_md_AttributeAuthorityDescriptor_PUT_protocolSupportEnumeration(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_attr_s* y); 373 void zx_md_AttributeAuthorityDescriptor_PUT_validUntil(struct zx_md_AttributeAuthorityDescriptor_s* x, struct zx_attr_s* y); 374 375 void zx_md_AttributeAuthorityDescriptor_PUT_Signature(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_ds_Signature_s* y); 376 void zx_md_AttributeAuthorityDescriptor_PUT_Extensions(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_md_Extensions_s* y); 377 void zx_md_AttributeAuthorityDescriptor_PUT_KeyDescriptor(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* y); 378 void zx_md_AttributeAuthorityDescriptor_PUT_Organization(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_md_Organization_s* y); 379 void zx_md_AttributeAuthorityDescriptor_PUT_ContactPerson(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_md_ContactPerson_s* y); 380 void zx_md_AttributeAuthorityDescriptor_PUT_AttributeService(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_md_AttributeService_s* y); 381 void zx_md_AttributeAuthorityDescriptor_PUT_AssertionIDRequestService(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_md_AssertionIDRequestService_s* y); 382 void zx_md_AttributeAuthorityDescriptor_PUT_NameIDFormat(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_elem_s* y); 383 void zx_md_AttributeAuthorityDescriptor_PUT_AttributeProfile(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_elem_s* y); 384 void zx_md_AttributeAuthorityDescriptor_PUT_Attribute(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_sa_Attribute_s* y); 385 386 void zx_md_AttributeAuthorityDescriptor_ADD_Signature(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_ds_Signature_s* z); 387 void zx_md_AttributeAuthorityDescriptor_ADD_Extensions(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_md_Extensions_s* z); 388 void zx_md_AttributeAuthorityDescriptor_ADD_KeyDescriptor(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* z); 389 void zx_md_AttributeAuthorityDescriptor_ADD_Organization(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_md_Organization_s* z); 390 void zx_md_AttributeAuthorityDescriptor_ADD_ContactPerson(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_md_ContactPerson_s* z); 391 void zx_md_AttributeAuthorityDescriptor_ADD_AttributeService(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_md_AttributeService_s* z); 392 void zx_md_AttributeAuthorityDescriptor_ADD_AssertionIDRequestService(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_md_AssertionIDRequestService_s* z); 393 void zx_md_AttributeAuthorityDescriptor_ADD_NameIDFormat(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_elem_s* z); 394 void zx_md_AttributeAuthorityDescriptor_ADD_AttributeProfile(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_elem_s* z); 395 void zx_md_AttributeAuthorityDescriptor_ADD_Attribute(struct zx_md_AttributeAuthorityDescriptor_s* x, int n, struct zx_sa_Attribute_s* z); 396 397 void zx_md_AttributeAuthorityDescriptor_DEL_Signature(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 398 void zx_md_AttributeAuthorityDescriptor_DEL_Extensions(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 399 void zx_md_AttributeAuthorityDescriptor_DEL_KeyDescriptor(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 400 void zx_md_AttributeAuthorityDescriptor_DEL_Organization(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 401 void zx_md_AttributeAuthorityDescriptor_DEL_ContactPerson(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 402 void zx_md_AttributeAuthorityDescriptor_DEL_AttributeService(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 403 void zx_md_AttributeAuthorityDescriptor_DEL_AssertionIDRequestService(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 404 void zx_md_AttributeAuthorityDescriptor_DEL_NameIDFormat(struct zx_md_AttributeAuthorityDescriptor_s* x,int n); 405 void zx_md_AttributeAuthorityDescriptor_DEL_AttributeProfile(struct zx_md_AttributeAuthorityDescriptor_s* x,int n); 406 void zx_md_AttributeAuthorityDescriptor_DEL_Attribute(struct zx_md_AttributeAuthorityDescriptor_s* x, int n); 407 408 void zx_md_AttributeAuthorityDescriptor_REV_Signature(struct zx_md_AttributeAuthorityDescriptor_s* x); 409 void zx_md_AttributeAuthorityDescriptor_REV_Extensions(struct zx_md_AttributeAuthorityDescriptor_s* x); 410 void zx_md_AttributeAuthorityDescriptor_REV_KeyDescriptor(struct zx_md_AttributeAuthorityDescriptor_s* x); 411 void zx_md_AttributeAuthorityDescriptor_REV_Organization(struct zx_md_AttributeAuthorityDescriptor_s* x); 412 void zx_md_AttributeAuthorityDescriptor_REV_ContactPerson(struct zx_md_AttributeAuthorityDescriptor_s* x); 413 void zx_md_AttributeAuthorityDescriptor_REV_AttributeService(struct zx_md_AttributeAuthorityDescriptor_s* x); 414 void zx_md_AttributeAuthorityDescriptor_REV_AssertionIDRequestService(struct zx_md_AttributeAuthorityDescriptor_s* x); 415 void zx_md_AttributeAuthorityDescriptor_REV_NameIDFormat(struct zx_md_AttributeAuthorityDescriptor_s* x); 416 void zx_md_AttributeAuthorityDescriptor_REV_AttributeProfile(struct zx_md_AttributeAuthorityDescriptor_s* x); 417 void zx_md_AttributeAuthorityDescriptor_REV_Attribute(struct zx_md_AttributeAuthorityDescriptor_s* x); 418 419 #endif 420 /* -------------------------- md_AttributeConsumingService -------------------------- */ 421 /* refby( zx_md_SPSSODescriptor_s ) */ 422 #ifndef zx_md_AttributeConsumingService_EXT 423 #define zx_md_AttributeConsumingService_EXT 424 #endif 425 struct zx_md_AttributeConsumingService_s { 426 ZX_ELEM_EXT 427 zx_md_AttributeConsumingService_EXT 428 struct zx_md_ServiceName_s* ServiceName; /* {1,-1} nada */ 429 struct zx_md_ServiceDescription_s* ServiceDescription; /* {0,-1} nada */ 430 struct zx_md_RequestedAttribute_s* RequestedAttribute; /* {1,-1} nada */ 431 struct zx_attr_s* index; /* {1,1} attribute xs:unsignedShort */ 432 struct zx_attr_s* isDefault; /* {0,1} attribute xs:boolean */ 433 }; 434 435 #define zx_NEW_md_AttributeConsumingService(c, father) (struct zx_md_AttributeConsumingService_s*)zx_new_elem((c),(father),zx_md_AttributeConsumingService_ELEM) 436 int zx_DEC_ATTR_md_AttributeConsumingService(struct zx_ctx* c, struct zx_md_AttributeConsumingService_s* x); 437 int zx_DEC_ELEM_md_AttributeConsumingService(struct zx_ctx* c, struct zx_md_AttributeConsumingService_s* x); 438 439 #ifdef ZX_ENA_AUX 440 struct zx_md_AttributeConsumingService_s* zx_DEEP_CLONE_md_AttributeConsumingService(struct zx_ctx* c, struct zx_md_AttributeConsumingService_s* x, int dup_strs); 441 void zx_DUP_STRS_md_AttributeConsumingService(struct zx_ctx* c, struct zx_md_AttributeConsumingService_s* x); 442 int zx_WALK_SO_md_AttributeConsumingService(struct zx_ctx* c, struct zx_md_AttributeConsumingService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 443 int zx_WALK_WO_md_AttributeConsumingService(struct zx_ctx* c, struct zx_md_AttributeConsumingService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 444 #endif 445 446 #ifdef ZX_ENA_GETPUT 447 struct zx_attr_s* zx_md_AttributeConsumingService_GET_index(struct zx_md_AttributeConsumingService_s* x); 448 struct zx_attr_s* zx_md_AttributeConsumingService_GET_isDefault(struct zx_md_AttributeConsumingService_s* x); 449 450 struct zx_md_ServiceName_s* zx_md_AttributeConsumingService_GET_ServiceName(struct zx_md_AttributeConsumingService_s* x, int n); 451 struct zx_md_ServiceDescription_s* zx_md_AttributeConsumingService_GET_ServiceDescription(struct zx_md_AttributeConsumingService_s* x, int n); 452 struct zx_md_RequestedAttribute_s* zx_md_AttributeConsumingService_GET_RequestedAttribute(struct zx_md_AttributeConsumingService_s* x, int n); 453 454 int zx_md_AttributeConsumingService_NUM_ServiceName(struct zx_md_AttributeConsumingService_s* x); 455 int zx_md_AttributeConsumingService_NUM_ServiceDescription(struct zx_md_AttributeConsumingService_s* x); 456 int zx_md_AttributeConsumingService_NUM_RequestedAttribute(struct zx_md_AttributeConsumingService_s* x); 457 458 struct zx_md_ServiceName_s* zx_md_AttributeConsumingService_POP_ServiceName(struct zx_md_AttributeConsumingService_s* x); 459 struct zx_md_ServiceDescription_s* zx_md_AttributeConsumingService_POP_ServiceDescription(struct zx_md_AttributeConsumingService_s* x); 460 struct zx_md_RequestedAttribute_s* zx_md_AttributeConsumingService_POP_RequestedAttribute(struct zx_md_AttributeConsumingService_s* x); 461 462 void zx_md_AttributeConsumingService_PUSH_ServiceName(struct zx_md_AttributeConsumingService_s* x, struct zx_md_ServiceName_s* y); 463 void zx_md_AttributeConsumingService_PUSH_ServiceDescription(struct zx_md_AttributeConsumingService_s* x, struct zx_md_ServiceDescription_s* y); 464 void zx_md_AttributeConsumingService_PUSH_RequestedAttribute(struct zx_md_AttributeConsumingService_s* x, struct zx_md_RequestedAttribute_s* y); 465 466 void zx_md_AttributeConsumingService_PUT_index(struct zx_md_AttributeConsumingService_s* x, struct zx_attr_s* y); 467 void zx_md_AttributeConsumingService_PUT_isDefault(struct zx_md_AttributeConsumingService_s* x, struct zx_attr_s* y); 468 469 void zx_md_AttributeConsumingService_PUT_ServiceName(struct zx_md_AttributeConsumingService_s* x, int n, struct zx_md_ServiceName_s* y); 470 void zx_md_AttributeConsumingService_PUT_ServiceDescription(struct zx_md_AttributeConsumingService_s* x, int n, struct zx_md_ServiceDescription_s* y); 471 void zx_md_AttributeConsumingService_PUT_RequestedAttribute(struct zx_md_AttributeConsumingService_s* x, int n, struct zx_md_RequestedAttribute_s* y); 472 473 void zx_md_AttributeConsumingService_ADD_ServiceName(struct zx_md_AttributeConsumingService_s* x, int n, struct zx_md_ServiceName_s* z); 474 void zx_md_AttributeConsumingService_ADD_ServiceDescription(struct zx_md_AttributeConsumingService_s* x, int n, struct zx_md_ServiceDescription_s* z); 475 void zx_md_AttributeConsumingService_ADD_RequestedAttribute(struct zx_md_AttributeConsumingService_s* x, int n, struct zx_md_RequestedAttribute_s* z); 476 477 void zx_md_AttributeConsumingService_DEL_ServiceName(struct zx_md_AttributeConsumingService_s* x, int n); 478 void zx_md_AttributeConsumingService_DEL_ServiceDescription(struct zx_md_AttributeConsumingService_s* x, int n); 479 void zx_md_AttributeConsumingService_DEL_RequestedAttribute(struct zx_md_AttributeConsumingService_s* x, int n); 480 481 void zx_md_AttributeConsumingService_REV_ServiceName(struct zx_md_AttributeConsumingService_s* x); 482 void zx_md_AttributeConsumingService_REV_ServiceDescription(struct zx_md_AttributeConsumingService_s* x); 483 void zx_md_AttributeConsumingService_REV_RequestedAttribute(struct zx_md_AttributeConsumingService_s* x); 484 485 #endif 486 /* -------------------------- md_AttributeService -------------------------- */ 487 /* refby( zx_md_AttributeAuthorityDescriptor_s ) */ 488 #ifndef zx_md_AttributeService_EXT 489 #define zx_md_AttributeService_EXT 490 #endif 491 struct zx_md_AttributeService_s { 492 ZX_ELEM_EXT 493 zx_md_AttributeService_EXT 494 struct zx_attr_s* Binding; /* {1,1} attribute xs:anyURI */ 495 struct zx_attr_s* Location; /* {1,1} attribute xs:anyURI */ 496 struct zx_attr_s* ResponseLocation; /* {0,1} attribute xs:anyURI */ 497 struct zx_attr_s* index; /* {0,1} attribute xs:unsignedShort */ 498 struct zx_attr_s* isDefault; /* {0,1} attribute xs:boolean */ 499 }; 500 501 #define zx_NEW_md_AttributeService(c, father) (struct zx_md_AttributeService_s*)zx_new_elem((c),(father),zx_md_AttributeService_ELEM) 502 int zx_DEC_ATTR_md_AttributeService(struct zx_ctx* c, struct zx_md_AttributeService_s* x); 503 int zx_DEC_ELEM_md_AttributeService(struct zx_ctx* c, struct zx_md_AttributeService_s* x); 504 505 #ifdef ZX_ENA_AUX 506 struct zx_md_AttributeService_s* zx_DEEP_CLONE_md_AttributeService(struct zx_ctx* c, struct zx_md_AttributeService_s* x, int dup_strs); 507 void zx_DUP_STRS_md_AttributeService(struct zx_ctx* c, struct zx_md_AttributeService_s* x); 508 int zx_WALK_SO_md_AttributeService(struct zx_ctx* c, struct zx_md_AttributeService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 509 int zx_WALK_WO_md_AttributeService(struct zx_ctx* c, struct zx_md_AttributeService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 510 #endif 511 512 #ifdef ZX_ENA_GETPUT 513 struct zx_attr_s* zx_md_AttributeService_GET_Binding(struct zx_md_AttributeService_s* x); 514 struct zx_attr_s* zx_md_AttributeService_GET_Location(struct zx_md_AttributeService_s* x); 515 struct zx_attr_s* zx_md_AttributeService_GET_ResponseLocation(struct zx_md_AttributeService_s* x); 516 struct zx_attr_s* zx_md_AttributeService_GET_index(struct zx_md_AttributeService_s* x); 517 struct zx_attr_s* zx_md_AttributeService_GET_isDefault(struct zx_md_AttributeService_s* x); 518 519 520 521 522 523 void zx_md_AttributeService_PUT_Binding(struct zx_md_AttributeService_s* x, struct zx_attr_s* y); 524 void zx_md_AttributeService_PUT_Location(struct zx_md_AttributeService_s* x, struct zx_attr_s* y); 525 void zx_md_AttributeService_PUT_ResponseLocation(struct zx_md_AttributeService_s* x, struct zx_attr_s* y); 526 void zx_md_AttributeService_PUT_index(struct zx_md_AttributeService_s* x, struct zx_attr_s* y); 527 void zx_md_AttributeService_PUT_isDefault(struct zx_md_AttributeService_s* x, struct zx_attr_s* y); 528 529 530 531 532 533 #endif 534 /* -------------------------- md_AuthnAuthorityDescriptor -------------------------- */ 535 /* refby( zx_md_EntityDescriptor_s ) */ 536 #ifndef zx_md_AuthnAuthorityDescriptor_EXT 537 #define zx_md_AuthnAuthorityDescriptor_EXT 538 #endif 539 struct zx_md_AuthnAuthorityDescriptor_s { 540 ZX_ELEM_EXT 541 zx_md_AuthnAuthorityDescriptor_EXT 542 struct zx_ds_Signature_s* Signature; /* {0,1} nada */ 543 struct zx_md_Extensions_s* Extensions; /* {0,1} nada */ 544 struct zx_md_KeyDescriptor_s* KeyDescriptor; /* {0,-1} nada */ 545 struct zx_md_Organization_s* Organization; /* {0,1} nada */ 546 struct zx_md_ContactPerson_s* ContactPerson; /* {0,-1} nada */ 547 struct zx_md_AuthnQueryService_s* AuthnQueryService; /* {1,-1} nada */ 548 struct zx_md_AssertionIDRequestService_s* AssertionIDRequestService; /* {0,-1} nada */ 549 struct zx_elem_s* NameIDFormat; /* {0,-1} xs:anyURI */ 550 struct zx_attr_s* ID; /* {0,1} attribute xs:ID */ 551 struct zx_attr_s* cacheDuration; /* {0,1} attribute xs:duration */ 552 struct zx_attr_s* errorURL; /* {0,1} attribute xs:anyURI */ 553 struct zx_attr_s* protocolSupportEnumeration; /* {1,1} attribute xs:string */ 554 struct zx_attr_s* validUntil; /* {0,1} attribute xs:dateTime */ 555 }; 556 557 #define zx_NEW_md_AuthnAuthorityDescriptor(c, father) (struct zx_md_AuthnAuthorityDescriptor_s*)zx_new_elem((c),(father),zx_md_AuthnAuthorityDescriptor_ELEM) 558 int zx_DEC_ATTR_md_AuthnAuthorityDescriptor(struct zx_ctx* c, struct zx_md_AuthnAuthorityDescriptor_s* x); 559 int zx_DEC_ELEM_md_AuthnAuthorityDescriptor(struct zx_ctx* c, struct zx_md_AuthnAuthorityDescriptor_s* x); 560 561 #ifdef ZX_ENA_AUX 562 struct zx_md_AuthnAuthorityDescriptor_s* zx_DEEP_CLONE_md_AuthnAuthorityDescriptor(struct zx_ctx* c, struct zx_md_AuthnAuthorityDescriptor_s* x, int dup_strs); 563 void zx_DUP_STRS_md_AuthnAuthorityDescriptor(struct zx_ctx* c, struct zx_md_AuthnAuthorityDescriptor_s* x); 564 int zx_WALK_SO_md_AuthnAuthorityDescriptor(struct zx_ctx* c, struct zx_md_AuthnAuthorityDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 565 int zx_WALK_WO_md_AuthnAuthorityDescriptor(struct zx_ctx* c, struct zx_md_AuthnAuthorityDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 566 #endif 567 568 #ifdef ZX_ENA_GETPUT 569 struct zx_attr_s* zx_md_AuthnAuthorityDescriptor_GET_ID(struct zx_md_AuthnAuthorityDescriptor_s* x); 570 struct zx_attr_s* zx_md_AuthnAuthorityDescriptor_GET_cacheDuration(struct zx_md_AuthnAuthorityDescriptor_s* x); 571 struct zx_attr_s* zx_md_AuthnAuthorityDescriptor_GET_errorURL(struct zx_md_AuthnAuthorityDescriptor_s* x); 572 struct zx_attr_s* zx_md_AuthnAuthorityDescriptor_GET_protocolSupportEnumeration(struct zx_md_AuthnAuthorityDescriptor_s* x); 573 struct zx_attr_s* zx_md_AuthnAuthorityDescriptor_GET_validUntil(struct zx_md_AuthnAuthorityDescriptor_s* x); 574 575 struct zx_ds_Signature_s* zx_md_AuthnAuthorityDescriptor_GET_Signature(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 576 struct zx_md_Extensions_s* zx_md_AuthnAuthorityDescriptor_GET_Extensions(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 577 struct zx_md_KeyDescriptor_s* zx_md_AuthnAuthorityDescriptor_GET_KeyDescriptor(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 578 struct zx_md_Organization_s* zx_md_AuthnAuthorityDescriptor_GET_Organization(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 579 struct zx_md_ContactPerson_s* zx_md_AuthnAuthorityDescriptor_GET_ContactPerson(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 580 struct zx_md_AuthnQueryService_s* zx_md_AuthnAuthorityDescriptor_GET_AuthnQueryService(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 581 struct zx_md_AssertionIDRequestService_s* zx_md_AuthnAuthorityDescriptor_GET_AssertionIDRequestService(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 582 struct zx_elem_s* zx_md_AuthnAuthorityDescriptor_GET_NameIDFormat(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 583 584 int zx_md_AuthnAuthorityDescriptor_NUM_Signature(struct zx_md_AuthnAuthorityDescriptor_s* x); 585 int zx_md_AuthnAuthorityDescriptor_NUM_Extensions(struct zx_md_AuthnAuthorityDescriptor_s* x); 586 int zx_md_AuthnAuthorityDescriptor_NUM_KeyDescriptor(struct zx_md_AuthnAuthorityDescriptor_s* x); 587 int zx_md_AuthnAuthorityDescriptor_NUM_Organization(struct zx_md_AuthnAuthorityDescriptor_s* x); 588 int zx_md_AuthnAuthorityDescriptor_NUM_ContactPerson(struct zx_md_AuthnAuthorityDescriptor_s* x); 589 int zx_md_AuthnAuthorityDescriptor_NUM_AuthnQueryService(struct zx_md_AuthnAuthorityDescriptor_s* x); 590 int zx_md_AuthnAuthorityDescriptor_NUM_AssertionIDRequestService(struct zx_md_AuthnAuthorityDescriptor_s* x); 591 int zx_md_AuthnAuthorityDescriptor_NUM_NameIDFormat(struct zx_md_AuthnAuthorityDescriptor_s* x); 592 593 struct zx_ds_Signature_s* zx_md_AuthnAuthorityDescriptor_POP_Signature(struct zx_md_AuthnAuthorityDescriptor_s* x); 594 struct zx_md_Extensions_s* zx_md_AuthnAuthorityDescriptor_POP_Extensions(struct zx_md_AuthnAuthorityDescriptor_s* x); 595 struct zx_md_KeyDescriptor_s* zx_md_AuthnAuthorityDescriptor_POP_KeyDescriptor(struct zx_md_AuthnAuthorityDescriptor_s* x); 596 struct zx_md_Organization_s* zx_md_AuthnAuthorityDescriptor_POP_Organization(struct zx_md_AuthnAuthorityDescriptor_s* x); 597 struct zx_md_ContactPerson_s* zx_md_AuthnAuthorityDescriptor_POP_ContactPerson(struct zx_md_AuthnAuthorityDescriptor_s* x); 598 struct zx_md_AuthnQueryService_s* zx_md_AuthnAuthorityDescriptor_POP_AuthnQueryService(struct zx_md_AuthnAuthorityDescriptor_s* x); 599 struct zx_md_AssertionIDRequestService_s* zx_md_AuthnAuthorityDescriptor_POP_AssertionIDRequestService(struct zx_md_AuthnAuthorityDescriptor_s* x); 600 struct zx_elem_s* zx_md_AuthnAuthorityDescriptor_POP_NameIDFormat(struct zx_md_AuthnAuthorityDescriptor_s* x); 601 602 void zx_md_AuthnAuthorityDescriptor_PUSH_Signature(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_ds_Signature_s* y); 603 void zx_md_AuthnAuthorityDescriptor_PUSH_Extensions(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_md_Extensions_s* y); 604 void zx_md_AuthnAuthorityDescriptor_PUSH_KeyDescriptor(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_md_KeyDescriptor_s* y); 605 void zx_md_AuthnAuthorityDescriptor_PUSH_Organization(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_md_Organization_s* y); 606 void zx_md_AuthnAuthorityDescriptor_PUSH_ContactPerson(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_md_ContactPerson_s* y); 607 void zx_md_AuthnAuthorityDescriptor_PUSH_AuthnQueryService(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_md_AuthnQueryService_s* y); 608 void zx_md_AuthnAuthorityDescriptor_PUSH_AssertionIDRequestService(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_md_AssertionIDRequestService_s* y); 609 void zx_md_AuthnAuthorityDescriptor_PUSH_NameIDFormat(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_elem_s* y); 610 611 void zx_md_AuthnAuthorityDescriptor_PUT_ID(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_attr_s* y); 612 void zx_md_AuthnAuthorityDescriptor_PUT_cacheDuration(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_attr_s* y); 613 void zx_md_AuthnAuthorityDescriptor_PUT_errorURL(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_attr_s* y); 614 void zx_md_AuthnAuthorityDescriptor_PUT_protocolSupportEnumeration(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_attr_s* y); 615 void zx_md_AuthnAuthorityDescriptor_PUT_validUntil(struct zx_md_AuthnAuthorityDescriptor_s* x, struct zx_attr_s* y); 616 617 void zx_md_AuthnAuthorityDescriptor_PUT_Signature(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_ds_Signature_s* y); 618 void zx_md_AuthnAuthorityDescriptor_PUT_Extensions(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_md_Extensions_s* y); 619 void zx_md_AuthnAuthorityDescriptor_PUT_KeyDescriptor(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* y); 620 void zx_md_AuthnAuthorityDescriptor_PUT_Organization(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_md_Organization_s* y); 621 void zx_md_AuthnAuthorityDescriptor_PUT_ContactPerson(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_md_ContactPerson_s* y); 622 void zx_md_AuthnAuthorityDescriptor_PUT_AuthnQueryService(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_md_AuthnQueryService_s* y); 623 void zx_md_AuthnAuthorityDescriptor_PUT_AssertionIDRequestService(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_md_AssertionIDRequestService_s* y); 624 void zx_md_AuthnAuthorityDescriptor_PUT_NameIDFormat(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_elem_s* y); 625 626 void zx_md_AuthnAuthorityDescriptor_ADD_Signature(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_ds_Signature_s* z); 627 void zx_md_AuthnAuthorityDescriptor_ADD_Extensions(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_md_Extensions_s* z); 628 void zx_md_AuthnAuthorityDescriptor_ADD_KeyDescriptor(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* z); 629 void zx_md_AuthnAuthorityDescriptor_ADD_Organization(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_md_Organization_s* z); 630 void zx_md_AuthnAuthorityDescriptor_ADD_ContactPerson(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_md_ContactPerson_s* z); 631 void zx_md_AuthnAuthorityDescriptor_ADD_AuthnQueryService(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_md_AuthnQueryService_s* z); 632 void zx_md_AuthnAuthorityDescriptor_ADD_AssertionIDRequestService(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_md_AssertionIDRequestService_s* z); 633 void zx_md_AuthnAuthorityDescriptor_ADD_NameIDFormat(struct zx_md_AuthnAuthorityDescriptor_s* x, int n, struct zx_elem_s* z); 634 635 void zx_md_AuthnAuthorityDescriptor_DEL_Signature(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 636 void zx_md_AuthnAuthorityDescriptor_DEL_Extensions(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 637 void zx_md_AuthnAuthorityDescriptor_DEL_KeyDescriptor(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 638 void zx_md_AuthnAuthorityDescriptor_DEL_Organization(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 639 void zx_md_AuthnAuthorityDescriptor_DEL_ContactPerson(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 640 void zx_md_AuthnAuthorityDescriptor_DEL_AuthnQueryService(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 641 void zx_md_AuthnAuthorityDescriptor_DEL_AssertionIDRequestService(struct zx_md_AuthnAuthorityDescriptor_s* x, int n); 642 void zx_md_AuthnAuthorityDescriptor_DEL_NameIDFormat(struct zx_md_AuthnAuthorityDescriptor_s* x,int n); 643 644 void zx_md_AuthnAuthorityDescriptor_REV_Signature(struct zx_md_AuthnAuthorityDescriptor_s* x); 645 void zx_md_AuthnAuthorityDescriptor_REV_Extensions(struct zx_md_AuthnAuthorityDescriptor_s* x); 646 void zx_md_AuthnAuthorityDescriptor_REV_KeyDescriptor(struct zx_md_AuthnAuthorityDescriptor_s* x); 647 void zx_md_AuthnAuthorityDescriptor_REV_Organization(struct zx_md_AuthnAuthorityDescriptor_s* x); 648 void zx_md_AuthnAuthorityDescriptor_REV_ContactPerson(struct zx_md_AuthnAuthorityDescriptor_s* x); 649 void zx_md_AuthnAuthorityDescriptor_REV_AuthnQueryService(struct zx_md_AuthnAuthorityDescriptor_s* x); 650 void zx_md_AuthnAuthorityDescriptor_REV_AssertionIDRequestService(struct zx_md_AuthnAuthorityDescriptor_s* x); 651 void zx_md_AuthnAuthorityDescriptor_REV_NameIDFormat(struct zx_md_AuthnAuthorityDescriptor_s* x); 652 653 #endif 654 /* -------------------------- md_AuthnQueryService -------------------------- */ 655 /* refby( zx_md_AuthnAuthorityDescriptor_s ) */ 656 #ifndef zx_md_AuthnQueryService_EXT 657 #define zx_md_AuthnQueryService_EXT 658 #endif 659 struct zx_md_AuthnQueryService_s { 660 ZX_ELEM_EXT 661 zx_md_AuthnQueryService_EXT 662 struct zx_attr_s* Binding; /* {1,1} attribute xs:anyURI */ 663 struct zx_attr_s* Location; /* {1,1} attribute xs:anyURI */ 664 struct zx_attr_s* ResponseLocation; /* {0,1} attribute xs:anyURI */ 665 struct zx_attr_s* index; /* {0,1} attribute xs:unsignedShort */ 666 struct zx_attr_s* isDefault; /* {0,1} attribute xs:boolean */ 667 }; 668 669 #define zx_NEW_md_AuthnQueryService(c, father) (struct zx_md_AuthnQueryService_s*)zx_new_elem((c),(father),zx_md_AuthnQueryService_ELEM) 670 int zx_DEC_ATTR_md_AuthnQueryService(struct zx_ctx* c, struct zx_md_AuthnQueryService_s* x); 671 int zx_DEC_ELEM_md_AuthnQueryService(struct zx_ctx* c, struct zx_md_AuthnQueryService_s* x); 672 673 #ifdef ZX_ENA_AUX 674 struct zx_md_AuthnQueryService_s* zx_DEEP_CLONE_md_AuthnQueryService(struct zx_ctx* c, struct zx_md_AuthnQueryService_s* x, int dup_strs); 675 void zx_DUP_STRS_md_AuthnQueryService(struct zx_ctx* c, struct zx_md_AuthnQueryService_s* x); 676 int zx_WALK_SO_md_AuthnQueryService(struct zx_ctx* c, struct zx_md_AuthnQueryService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 677 int zx_WALK_WO_md_AuthnQueryService(struct zx_ctx* c, struct zx_md_AuthnQueryService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 678 #endif 679 680 #ifdef ZX_ENA_GETPUT 681 struct zx_attr_s* zx_md_AuthnQueryService_GET_Binding(struct zx_md_AuthnQueryService_s* x); 682 struct zx_attr_s* zx_md_AuthnQueryService_GET_Location(struct zx_md_AuthnQueryService_s* x); 683 struct zx_attr_s* zx_md_AuthnQueryService_GET_ResponseLocation(struct zx_md_AuthnQueryService_s* x); 684 struct zx_attr_s* zx_md_AuthnQueryService_GET_index(struct zx_md_AuthnQueryService_s* x); 685 struct zx_attr_s* zx_md_AuthnQueryService_GET_isDefault(struct zx_md_AuthnQueryService_s* x); 686 687 688 689 690 691 void zx_md_AuthnQueryService_PUT_Binding(struct zx_md_AuthnQueryService_s* x, struct zx_attr_s* y); 692 void zx_md_AuthnQueryService_PUT_Location(struct zx_md_AuthnQueryService_s* x, struct zx_attr_s* y); 693 void zx_md_AuthnQueryService_PUT_ResponseLocation(struct zx_md_AuthnQueryService_s* x, struct zx_attr_s* y); 694 void zx_md_AuthnQueryService_PUT_index(struct zx_md_AuthnQueryService_s* x, struct zx_attr_s* y); 695 void zx_md_AuthnQueryService_PUT_isDefault(struct zx_md_AuthnQueryService_s* x, struct zx_attr_s* y); 696 697 698 699 700 701 #endif 702 /* -------------------------- md_AuthzService -------------------------- */ 703 /* refby( zx_md_PDPDescriptor_s ) */ 704 #ifndef zx_md_AuthzService_EXT 705 #define zx_md_AuthzService_EXT 706 #endif 707 struct zx_md_AuthzService_s { 708 ZX_ELEM_EXT 709 zx_md_AuthzService_EXT 710 struct zx_attr_s* Binding; /* {1,1} attribute xs:anyURI */ 711 struct zx_attr_s* Location; /* {1,1} attribute xs:anyURI */ 712 struct zx_attr_s* ResponseLocation; /* {0,1} attribute xs:anyURI */ 713 struct zx_attr_s* index; /* {0,1} attribute xs:unsignedShort */ 714 struct zx_attr_s* isDefault; /* {0,1} attribute xs:boolean */ 715 }; 716 717 #define zx_NEW_md_AuthzService(c, father) (struct zx_md_AuthzService_s*)zx_new_elem((c),(father),zx_md_AuthzService_ELEM) 718 int zx_DEC_ATTR_md_AuthzService(struct zx_ctx* c, struct zx_md_AuthzService_s* x); 719 int zx_DEC_ELEM_md_AuthzService(struct zx_ctx* c, struct zx_md_AuthzService_s* x); 720 721 #ifdef ZX_ENA_AUX 722 struct zx_md_AuthzService_s* zx_DEEP_CLONE_md_AuthzService(struct zx_ctx* c, struct zx_md_AuthzService_s* x, int dup_strs); 723 void zx_DUP_STRS_md_AuthzService(struct zx_ctx* c, struct zx_md_AuthzService_s* x); 724 int zx_WALK_SO_md_AuthzService(struct zx_ctx* c, struct zx_md_AuthzService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 725 int zx_WALK_WO_md_AuthzService(struct zx_ctx* c, struct zx_md_AuthzService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 726 #endif 727 728 #ifdef ZX_ENA_GETPUT 729 struct zx_attr_s* zx_md_AuthzService_GET_Binding(struct zx_md_AuthzService_s* x); 730 struct zx_attr_s* zx_md_AuthzService_GET_Location(struct zx_md_AuthzService_s* x); 731 struct zx_attr_s* zx_md_AuthzService_GET_ResponseLocation(struct zx_md_AuthzService_s* x); 732 struct zx_attr_s* zx_md_AuthzService_GET_index(struct zx_md_AuthzService_s* x); 733 struct zx_attr_s* zx_md_AuthzService_GET_isDefault(struct zx_md_AuthzService_s* x); 734 735 736 737 738 739 void zx_md_AuthzService_PUT_Binding(struct zx_md_AuthzService_s* x, struct zx_attr_s* y); 740 void zx_md_AuthzService_PUT_Location(struct zx_md_AuthzService_s* x, struct zx_attr_s* y); 741 void zx_md_AuthzService_PUT_ResponseLocation(struct zx_md_AuthzService_s* x, struct zx_attr_s* y); 742 void zx_md_AuthzService_PUT_index(struct zx_md_AuthzService_s* x, struct zx_attr_s* y); 743 void zx_md_AuthzService_PUT_isDefault(struct zx_md_AuthzService_s* x, struct zx_attr_s* y); 744 745 746 747 748 749 #endif 750 /* -------------------------- md_ContactPerson -------------------------- */ 751 /* refby( zx_md_RoleDescriptor_s zx_md_AttributeAuthorityDescriptor_s zx_md_EntityDescriptor_s zx_md_PDPDescriptor_s zx_md_AuthnAuthorityDescriptor_s zx_md_IDPSSODescriptor_s zx_md_SPSSODescriptor_s ) */ 752 #ifndef zx_md_ContactPerson_EXT 753 #define zx_md_ContactPerson_EXT 754 #endif 755 struct zx_md_ContactPerson_s { 756 ZX_ELEM_EXT 757 zx_md_ContactPerson_EXT 758 struct zx_md_Extensions_s* Extensions; /* {0,1} nada */ 759 struct zx_elem_s* Company; /* {0,1} xs:string */ 760 struct zx_elem_s* GivenName; /* {0,1} xs:string */ 761 struct zx_elem_s* SurName; /* {0,1} xs:string */ 762 struct zx_elem_s* EmailAddress; /* {0,-1} xs:anyURI */ 763 struct zx_elem_s* TelephoneNumber; /* {0,-1} xs:string */ 764 struct zx_attr_s* contactType; /* {1,1} attribute m20:attrContactType */ 765 }; 766 767 #define zx_NEW_md_ContactPerson(c, father) (struct zx_md_ContactPerson_s*)zx_new_elem((c),(father),zx_md_ContactPerson_ELEM) 768 int zx_DEC_ATTR_md_ContactPerson(struct zx_ctx* c, struct zx_md_ContactPerson_s* x); 769 int zx_DEC_ELEM_md_ContactPerson(struct zx_ctx* c, struct zx_md_ContactPerson_s* x); 770 771 #ifdef ZX_ENA_AUX 772 struct zx_md_ContactPerson_s* zx_DEEP_CLONE_md_ContactPerson(struct zx_ctx* c, struct zx_md_ContactPerson_s* x, int dup_strs); 773 void zx_DUP_STRS_md_ContactPerson(struct zx_ctx* c, struct zx_md_ContactPerson_s* x); 774 int zx_WALK_SO_md_ContactPerson(struct zx_ctx* c, struct zx_md_ContactPerson_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 775 int zx_WALK_WO_md_ContactPerson(struct zx_ctx* c, struct zx_md_ContactPerson_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 776 #endif 777 778 #ifdef ZX_ENA_GETPUT 779 struct zx_attr_s* zx_md_ContactPerson_GET_contactType(struct zx_md_ContactPerson_s* x); 780 781 struct zx_md_Extensions_s* zx_md_ContactPerson_GET_Extensions(struct zx_md_ContactPerson_s* x, int n); 782 struct zx_elem_s* zx_md_ContactPerson_GET_Company(struct zx_md_ContactPerson_s* x, int n); 783 struct zx_elem_s* zx_md_ContactPerson_GET_GivenName(struct zx_md_ContactPerson_s* x, int n); 784 struct zx_elem_s* zx_md_ContactPerson_GET_SurName(struct zx_md_ContactPerson_s* x, int n); 785 struct zx_elem_s* zx_md_ContactPerson_GET_EmailAddress(struct zx_md_ContactPerson_s* x, int n); 786 struct zx_elem_s* zx_md_ContactPerson_GET_TelephoneNumber(struct zx_md_ContactPerson_s* x, int n); 787 788 int zx_md_ContactPerson_NUM_Extensions(struct zx_md_ContactPerson_s* x); 789 int zx_md_ContactPerson_NUM_Company(struct zx_md_ContactPerson_s* x); 790 int zx_md_ContactPerson_NUM_GivenName(struct zx_md_ContactPerson_s* x); 791 int zx_md_ContactPerson_NUM_SurName(struct zx_md_ContactPerson_s* x); 792 int zx_md_ContactPerson_NUM_EmailAddress(struct zx_md_ContactPerson_s* x); 793 int zx_md_ContactPerson_NUM_TelephoneNumber(struct zx_md_ContactPerson_s* x); 794 795 struct zx_md_Extensions_s* zx_md_ContactPerson_POP_Extensions(struct zx_md_ContactPerson_s* x); 796 struct zx_elem_s* zx_md_ContactPerson_POP_Company(struct zx_md_ContactPerson_s* x); 797 struct zx_elem_s* zx_md_ContactPerson_POP_GivenName(struct zx_md_ContactPerson_s* x); 798 struct zx_elem_s* zx_md_ContactPerson_POP_SurName(struct zx_md_ContactPerson_s* x); 799 struct zx_elem_s* zx_md_ContactPerson_POP_EmailAddress(struct zx_md_ContactPerson_s* x); 800 struct zx_elem_s* zx_md_ContactPerson_POP_TelephoneNumber(struct zx_md_ContactPerson_s* x); 801 802 void zx_md_ContactPerson_PUSH_Extensions(struct zx_md_ContactPerson_s* x, struct zx_md_Extensions_s* y); 803 void zx_md_ContactPerson_PUSH_Company(struct zx_md_ContactPerson_s* x, struct zx_elem_s* y); 804 void zx_md_ContactPerson_PUSH_GivenName(struct zx_md_ContactPerson_s* x, struct zx_elem_s* y); 805 void zx_md_ContactPerson_PUSH_SurName(struct zx_md_ContactPerson_s* x, struct zx_elem_s* y); 806 void zx_md_ContactPerson_PUSH_EmailAddress(struct zx_md_ContactPerson_s* x, struct zx_elem_s* y); 807 void zx_md_ContactPerson_PUSH_TelephoneNumber(struct zx_md_ContactPerson_s* x, struct zx_elem_s* y); 808 809 void zx_md_ContactPerson_PUT_contactType(struct zx_md_ContactPerson_s* x, struct zx_attr_s* y); 810 811 void zx_md_ContactPerson_PUT_Extensions(struct zx_md_ContactPerson_s* x, int n, struct zx_md_Extensions_s* y); 812 void zx_md_ContactPerson_PUT_Company(struct zx_md_ContactPerson_s* x, int n, struct zx_elem_s* y); 813 void zx_md_ContactPerson_PUT_GivenName(struct zx_md_ContactPerson_s* x, int n, struct zx_elem_s* y); 814 void zx_md_ContactPerson_PUT_SurName(struct zx_md_ContactPerson_s* x, int n, struct zx_elem_s* y); 815 void zx_md_ContactPerson_PUT_EmailAddress(struct zx_md_ContactPerson_s* x, int n, struct zx_elem_s* y); 816 void zx_md_ContactPerson_PUT_TelephoneNumber(struct zx_md_ContactPerson_s* x, int n, struct zx_elem_s* y); 817 818 void zx_md_ContactPerson_ADD_Extensions(struct zx_md_ContactPerson_s* x, int n, struct zx_md_Extensions_s* z); 819 void zx_md_ContactPerson_ADD_Company(struct zx_md_ContactPerson_s* x, int n, struct zx_elem_s* z); 820 void zx_md_ContactPerson_ADD_GivenName(struct zx_md_ContactPerson_s* x, int n, struct zx_elem_s* z); 821 void zx_md_ContactPerson_ADD_SurName(struct zx_md_ContactPerson_s* x, int n, struct zx_elem_s* z); 822 void zx_md_ContactPerson_ADD_EmailAddress(struct zx_md_ContactPerson_s* x, int n, struct zx_elem_s* z); 823 void zx_md_ContactPerson_ADD_TelephoneNumber(struct zx_md_ContactPerson_s* x, int n, struct zx_elem_s* z); 824 825 void zx_md_ContactPerson_DEL_Extensions(struct zx_md_ContactPerson_s* x, int n); 826 void zx_md_ContactPerson_DEL_Company(struct zx_md_ContactPerson_s* x,int n); 827 void zx_md_ContactPerson_DEL_GivenName(struct zx_md_ContactPerson_s* x,int n); 828 void zx_md_ContactPerson_DEL_SurName(struct zx_md_ContactPerson_s* x,int n); 829 void zx_md_ContactPerson_DEL_EmailAddress(struct zx_md_ContactPerson_s* x,int n); 830 void zx_md_ContactPerson_DEL_TelephoneNumber(struct zx_md_ContactPerson_s* x,int n); 831 832 void zx_md_ContactPerson_REV_Extensions(struct zx_md_ContactPerson_s* x); 833 void zx_md_ContactPerson_REV_Company(struct zx_md_ContactPerson_s* x); 834 void zx_md_ContactPerson_REV_GivenName(struct zx_md_ContactPerson_s* x); 835 void zx_md_ContactPerson_REV_SurName(struct zx_md_ContactPerson_s* x); 836 void zx_md_ContactPerson_REV_EmailAddress(struct zx_md_ContactPerson_s* x); 837 void zx_md_ContactPerson_REV_TelephoneNumber(struct zx_md_ContactPerson_s* x); 838 839 #endif 840 /* -------------------------- md_EncryptionMethod -------------------------- */ 841 /* refby( zx_md_KeyDescriptor_s ) */ 842 #ifndef zx_md_EncryptionMethod_EXT 843 #define zx_md_EncryptionMethod_EXT 844 #endif 845 struct zx_md_EncryptionMethod_s { 846 ZX_ELEM_EXT 847 zx_md_EncryptionMethod_EXT 848 struct zx_elem_s* KeySize; /* {0,1} xs:integer */ 849 struct zx_elem_s* OAEPparams; /* {0,1} xs:base64Binary */ 850 struct zx_attr_s* Algorithm; /* {1,1} attribute xs:anyURI */ 851 }; 852 853 #define zx_NEW_md_EncryptionMethod(c, father) (struct zx_md_EncryptionMethod_s*)zx_new_elem((c),(father),zx_md_EncryptionMethod_ELEM) 854 int zx_DEC_ATTR_md_EncryptionMethod(struct zx_ctx* c, struct zx_md_EncryptionMethod_s* x); 855 int zx_DEC_ELEM_md_EncryptionMethod(struct zx_ctx* c, struct zx_md_EncryptionMethod_s* x); 856 857 #ifdef ZX_ENA_AUX 858 struct zx_md_EncryptionMethod_s* zx_DEEP_CLONE_md_EncryptionMethod(struct zx_ctx* c, struct zx_md_EncryptionMethod_s* x, int dup_strs); 859 void zx_DUP_STRS_md_EncryptionMethod(struct zx_ctx* c, struct zx_md_EncryptionMethod_s* x); 860 int zx_WALK_SO_md_EncryptionMethod(struct zx_ctx* c, struct zx_md_EncryptionMethod_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 861 int zx_WALK_WO_md_EncryptionMethod(struct zx_ctx* c, struct zx_md_EncryptionMethod_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 862 #endif 863 864 #ifdef ZX_ENA_GETPUT 865 struct zx_attr_s* zx_md_EncryptionMethod_GET_Algorithm(struct zx_md_EncryptionMethod_s* x); 866 867 struct zx_elem_s* zx_md_EncryptionMethod_GET_KeySize(struct zx_md_EncryptionMethod_s* x, int n); 868 struct zx_elem_s* zx_md_EncryptionMethod_GET_OAEPparams(struct zx_md_EncryptionMethod_s* x, int n); 869 870 int zx_md_EncryptionMethod_NUM_KeySize(struct zx_md_EncryptionMethod_s* x); 871 int zx_md_EncryptionMethod_NUM_OAEPparams(struct zx_md_EncryptionMethod_s* x); 872 873 struct zx_elem_s* zx_md_EncryptionMethod_POP_KeySize(struct zx_md_EncryptionMethod_s* x); 874 struct zx_elem_s* zx_md_EncryptionMethod_POP_OAEPparams(struct zx_md_EncryptionMethod_s* x); 875 876 void zx_md_EncryptionMethod_PUSH_KeySize(struct zx_md_EncryptionMethod_s* x, struct zx_elem_s* y); 877 void zx_md_EncryptionMethod_PUSH_OAEPparams(struct zx_md_EncryptionMethod_s* x, struct zx_elem_s* y); 878 879 void zx_md_EncryptionMethod_PUT_Algorithm(struct zx_md_EncryptionMethod_s* x, struct zx_attr_s* y); 880 881 void zx_md_EncryptionMethod_PUT_KeySize(struct zx_md_EncryptionMethod_s* x, int n, struct zx_elem_s* y); 882 void zx_md_EncryptionMethod_PUT_OAEPparams(struct zx_md_EncryptionMethod_s* x, int n, struct zx_elem_s* y); 883 884 void zx_md_EncryptionMethod_ADD_KeySize(struct zx_md_EncryptionMethod_s* x, int n, struct zx_elem_s* z); 885 void zx_md_EncryptionMethod_ADD_OAEPparams(struct zx_md_EncryptionMethod_s* x, int n, struct zx_elem_s* z); 886 887 void zx_md_EncryptionMethod_DEL_KeySize(struct zx_md_EncryptionMethod_s* x,int n); 888 void zx_md_EncryptionMethod_DEL_OAEPparams(struct zx_md_EncryptionMethod_s* x,int n); 889 890 void zx_md_EncryptionMethod_REV_KeySize(struct zx_md_EncryptionMethod_s* x); 891 void zx_md_EncryptionMethod_REV_OAEPparams(struct zx_md_EncryptionMethod_s* x); 892 893 #endif 894 /* -------------------------- md_EntitiesDescriptor -------------------------- */ 895 /* refby( zx_md_EntitiesDescriptor_s ) */ 896 #ifndef zx_md_EntitiesDescriptor_EXT 897 #define zx_md_EntitiesDescriptor_EXT 898 #endif 899 struct zx_md_EntitiesDescriptor_s { 900 ZX_ELEM_EXT 901 zx_md_EntitiesDescriptor_EXT 902 struct zx_ds_Signature_s* Signature; /* {0,1} nada */ 903 struct zx_md_Extensions_s* Extensions; /* {0,1} nada */ 904 struct zx_md_EntityDescriptor_s* EntityDescriptor; /* {0,-1} nada */ 905 struct zx_md_EntitiesDescriptor_s* EntitiesDescriptor; /* {0,-1} nada */ 906 struct zx_attr_s* ID; /* {0,1} attribute xs:ID */ 907 struct zx_attr_s* Name; /* {0,1} attribute xs:anyURI */ 908 struct zx_attr_s* cacheDuration; /* {0,1} attribute xs:duration */ 909 struct zx_attr_s* validUntil; /* {0,1} attribute xs:dateTime */ 910 }; 911 912 #define zx_NEW_md_EntitiesDescriptor(c, father) (struct zx_md_EntitiesDescriptor_s*)zx_new_elem((c),(father),zx_md_EntitiesDescriptor_ELEM) 913 int zx_DEC_ATTR_md_EntitiesDescriptor(struct zx_ctx* c, struct zx_md_EntitiesDescriptor_s* x); 914 int zx_DEC_ELEM_md_EntitiesDescriptor(struct zx_ctx* c, struct zx_md_EntitiesDescriptor_s* x); 915 916 #ifdef ZX_ENA_AUX 917 struct zx_md_EntitiesDescriptor_s* zx_DEEP_CLONE_md_EntitiesDescriptor(struct zx_ctx* c, struct zx_md_EntitiesDescriptor_s* x, int dup_strs); 918 void zx_DUP_STRS_md_EntitiesDescriptor(struct zx_ctx* c, struct zx_md_EntitiesDescriptor_s* x); 919 int zx_WALK_SO_md_EntitiesDescriptor(struct zx_ctx* c, struct zx_md_EntitiesDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 920 int zx_WALK_WO_md_EntitiesDescriptor(struct zx_ctx* c, struct zx_md_EntitiesDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 921 #endif 922 923 #ifdef ZX_ENA_GETPUT 924 struct zx_attr_s* zx_md_EntitiesDescriptor_GET_ID(struct zx_md_EntitiesDescriptor_s* x); 925 struct zx_attr_s* zx_md_EntitiesDescriptor_GET_Name(struct zx_md_EntitiesDescriptor_s* x); 926 struct zx_attr_s* zx_md_EntitiesDescriptor_GET_cacheDuration(struct zx_md_EntitiesDescriptor_s* x); 927 struct zx_attr_s* zx_md_EntitiesDescriptor_GET_validUntil(struct zx_md_EntitiesDescriptor_s* x); 928 929 struct zx_ds_Signature_s* zx_md_EntitiesDescriptor_GET_Signature(struct zx_md_EntitiesDescriptor_s* x, int n); 930 struct zx_md_Extensions_s* zx_md_EntitiesDescriptor_GET_Extensions(struct zx_md_EntitiesDescriptor_s* x, int n); 931 struct zx_md_EntityDescriptor_s* zx_md_EntitiesDescriptor_GET_EntityDescriptor(struct zx_md_EntitiesDescriptor_s* x, int n); 932 struct zx_md_EntitiesDescriptor_s* zx_md_EntitiesDescriptor_GET_EntitiesDescriptor(struct zx_md_EntitiesDescriptor_s* x, int n); 933 934 int zx_md_EntitiesDescriptor_NUM_Signature(struct zx_md_EntitiesDescriptor_s* x); 935 int zx_md_EntitiesDescriptor_NUM_Extensions(struct zx_md_EntitiesDescriptor_s* x); 936 int zx_md_EntitiesDescriptor_NUM_EntityDescriptor(struct zx_md_EntitiesDescriptor_s* x); 937 int zx_md_EntitiesDescriptor_NUM_EntitiesDescriptor(struct zx_md_EntitiesDescriptor_s* x); 938 939 struct zx_ds_Signature_s* zx_md_EntitiesDescriptor_POP_Signature(struct zx_md_EntitiesDescriptor_s* x); 940 struct zx_md_Extensions_s* zx_md_EntitiesDescriptor_POP_Extensions(struct zx_md_EntitiesDescriptor_s* x); 941 struct zx_md_EntityDescriptor_s* zx_md_EntitiesDescriptor_POP_EntityDescriptor(struct zx_md_EntitiesDescriptor_s* x); 942 struct zx_md_EntitiesDescriptor_s* zx_md_EntitiesDescriptor_POP_EntitiesDescriptor(struct zx_md_EntitiesDescriptor_s* x); 943 944 void zx_md_EntitiesDescriptor_PUSH_Signature(struct zx_md_EntitiesDescriptor_s* x, struct zx_ds_Signature_s* y); 945 void zx_md_EntitiesDescriptor_PUSH_Extensions(struct zx_md_EntitiesDescriptor_s* x, struct zx_md_Extensions_s* y); 946 void zx_md_EntitiesDescriptor_PUSH_EntityDescriptor(struct zx_md_EntitiesDescriptor_s* x, struct zx_md_EntityDescriptor_s* y); 947 void zx_md_EntitiesDescriptor_PUSH_EntitiesDescriptor(struct zx_md_EntitiesDescriptor_s* x, struct zx_md_EntitiesDescriptor_s* y); 948 949 void zx_md_EntitiesDescriptor_PUT_ID(struct zx_md_EntitiesDescriptor_s* x, struct zx_attr_s* y); 950 void zx_md_EntitiesDescriptor_PUT_Name(struct zx_md_EntitiesDescriptor_s* x, struct zx_attr_s* y); 951 void zx_md_EntitiesDescriptor_PUT_cacheDuration(struct zx_md_EntitiesDescriptor_s* x, struct zx_attr_s* y); 952 void zx_md_EntitiesDescriptor_PUT_validUntil(struct zx_md_EntitiesDescriptor_s* x, struct zx_attr_s* y); 953 954 void zx_md_EntitiesDescriptor_PUT_Signature(struct zx_md_EntitiesDescriptor_s* x, int n, struct zx_ds_Signature_s* y); 955 void zx_md_EntitiesDescriptor_PUT_Extensions(struct zx_md_EntitiesDescriptor_s* x, int n, struct zx_md_Extensions_s* y); 956 void zx_md_EntitiesDescriptor_PUT_EntityDescriptor(struct zx_md_EntitiesDescriptor_s* x, int n, struct zx_md_EntityDescriptor_s* y); 957 void zx_md_EntitiesDescriptor_PUT_EntitiesDescriptor(struct zx_md_EntitiesDescriptor_s* x, int n, struct zx_md_EntitiesDescriptor_s* y); 958 959 void zx_md_EntitiesDescriptor_ADD_Signature(struct zx_md_EntitiesDescriptor_s* x, int n, struct zx_ds_Signature_s* z); 960 void zx_md_EntitiesDescriptor_ADD_Extensions(struct zx_md_EntitiesDescriptor_s* x, int n, struct zx_md_Extensions_s* z); 961 void zx_md_EntitiesDescriptor_ADD_EntityDescriptor(struct zx_md_EntitiesDescriptor_s* x, int n, struct zx_md_EntityDescriptor_s* z); 962 void zx_md_EntitiesDescriptor_ADD_EntitiesDescriptor(struct zx_md_EntitiesDescriptor_s* x, int n, struct zx_md_EntitiesDescriptor_s* z); 963 964 void zx_md_EntitiesDescriptor_DEL_Signature(struct zx_md_EntitiesDescriptor_s* x, int n); 965 void zx_md_EntitiesDescriptor_DEL_Extensions(struct zx_md_EntitiesDescriptor_s* x, int n); 966 void zx_md_EntitiesDescriptor_DEL_EntityDescriptor(struct zx_md_EntitiesDescriptor_s* x, int n); 967 void zx_md_EntitiesDescriptor_DEL_EntitiesDescriptor(struct zx_md_EntitiesDescriptor_s* x, int n); 968 969 void zx_md_EntitiesDescriptor_REV_Signature(struct zx_md_EntitiesDescriptor_s* x); 970 void zx_md_EntitiesDescriptor_REV_Extensions(struct zx_md_EntitiesDescriptor_s* x); 971 void zx_md_EntitiesDescriptor_REV_EntityDescriptor(struct zx_md_EntitiesDescriptor_s* x); 972 void zx_md_EntitiesDescriptor_REV_EntitiesDescriptor(struct zx_md_EntitiesDescriptor_s* x); 973 974 #endif 975 /* -------------------------- md_EntityDescriptor -------------------------- */ 976 /* refby( zx_md_EntitiesDescriptor_s ) */ 977 #ifndef zx_md_EntityDescriptor_EXT 978 #define zx_md_EntityDescriptor_EXT 979 #endif 980 struct zx_md_EntityDescriptor_s { 981 ZX_ELEM_EXT 982 zx_md_EntityDescriptor_EXT 983 struct zx_ds_Signature_s* Signature; /* {0,1} nada */ 984 struct zx_md_Extensions_s* Extensions; /* {0,1} nada */ 985 struct zx_md_RoleDescriptor_s* RoleDescriptor; /* {0,-1} nada */ 986 struct zx_md_IDPSSODescriptor_s* IDPSSODescriptor; /* {0,-1} nada */ 987 struct zx_md_SPSSODescriptor_s* SPSSODescriptor; /* {0,-1} nada */ 988 struct zx_md_AuthnAuthorityDescriptor_s* AuthnAuthorityDescriptor; /* {0,-1} nada */ 989 struct zx_md_AttributeAuthorityDescriptor_s* AttributeAuthorityDescriptor; /* {0,-1} nada */ 990 struct zx_md_PDPDescriptor_s* PDPDescriptor; /* {0,-1} nada */ 991 struct zx_md_AffiliationDescriptor_s* AffiliationDescriptor; /* {0,-1} nada */ 992 struct zx_md_Organization_s* Organization; /* {0,1} nada */ 993 struct zx_md_ContactPerson_s* ContactPerson; /* {0,-1} nada */ 994 struct zx_md_AdditionalMetadataLocation_s* AdditionalMetadataLocation; /* {0,-1} nada */ 995 struct zx_attr_s* ID; /* {0,1} attribute xs:ID */ 996 struct zx_attr_s* cacheDuration; /* {0,1} attribute xs:duration */ 997 struct zx_attr_s* entityID; /* {1,1} attribute md:entityIDType */ 998 struct zx_attr_s* validUntil; /* {0,1} attribute xs:dateTime */ 999 }; 1000 1001 #define zx_NEW_md_EntityDescriptor(c, father) (struct zx_md_EntityDescriptor_s*)zx_new_elem((c),(father),zx_md_EntityDescriptor_ELEM) 1002 int zx_DEC_ATTR_md_EntityDescriptor(struct zx_ctx* c, struct zx_md_EntityDescriptor_s* x); 1003 int zx_DEC_ELEM_md_EntityDescriptor(struct zx_ctx* c, struct zx_md_EntityDescriptor_s* x); 1004 1005 #ifdef ZX_ENA_AUX 1006 struct zx_md_EntityDescriptor_s* zx_DEEP_CLONE_md_EntityDescriptor(struct zx_ctx* c, struct zx_md_EntityDescriptor_s* x, int dup_strs); 1007 void zx_DUP_STRS_md_EntityDescriptor(struct zx_ctx* c, struct zx_md_EntityDescriptor_s* x); 1008 int zx_WALK_SO_md_EntityDescriptor(struct zx_ctx* c, struct zx_md_EntityDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1009 int zx_WALK_WO_md_EntityDescriptor(struct zx_ctx* c, struct zx_md_EntityDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1010 #endif 1011 1012 #ifdef ZX_ENA_GETPUT 1013 struct zx_attr_s* zx_md_EntityDescriptor_GET_ID(struct zx_md_EntityDescriptor_s* x); 1014 struct zx_attr_s* zx_md_EntityDescriptor_GET_cacheDuration(struct zx_md_EntityDescriptor_s* x); 1015 struct zx_attr_s* zx_md_EntityDescriptor_GET_entityID(struct zx_md_EntityDescriptor_s* x); 1016 struct zx_attr_s* zx_md_EntityDescriptor_GET_validUntil(struct zx_md_EntityDescriptor_s* x); 1017 1018 struct zx_ds_Signature_s* zx_md_EntityDescriptor_GET_Signature(struct zx_md_EntityDescriptor_s* x, int n); 1019 struct zx_md_Extensions_s* zx_md_EntityDescriptor_GET_Extensions(struct zx_md_EntityDescriptor_s* x, int n); 1020 struct zx_md_RoleDescriptor_s* zx_md_EntityDescriptor_GET_RoleDescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1021 struct zx_md_IDPSSODescriptor_s* zx_md_EntityDescriptor_GET_IDPSSODescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1022 struct zx_md_SPSSODescriptor_s* zx_md_EntityDescriptor_GET_SPSSODescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1023 struct zx_md_AuthnAuthorityDescriptor_s* zx_md_EntityDescriptor_GET_AuthnAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1024 struct zx_md_AttributeAuthorityDescriptor_s* zx_md_EntityDescriptor_GET_AttributeAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1025 struct zx_md_PDPDescriptor_s* zx_md_EntityDescriptor_GET_PDPDescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1026 struct zx_md_AffiliationDescriptor_s* zx_md_EntityDescriptor_GET_AffiliationDescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1027 struct zx_md_Organization_s* zx_md_EntityDescriptor_GET_Organization(struct zx_md_EntityDescriptor_s* x, int n); 1028 struct zx_md_ContactPerson_s* zx_md_EntityDescriptor_GET_ContactPerson(struct zx_md_EntityDescriptor_s* x, int n); 1029 struct zx_md_AdditionalMetadataLocation_s* zx_md_EntityDescriptor_GET_AdditionalMetadataLocation(struct zx_md_EntityDescriptor_s* x, int n); 1030 1031 int zx_md_EntityDescriptor_NUM_Signature(struct zx_md_EntityDescriptor_s* x); 1032 int zx_md_EntityDescriptor_NUM_Extensions(struct zx_md_EntityDescriptor_s* x); 1033 int zx_md_EntityDescriptor_NUM_RoleDescriptor(struct zx_md_EntityDescriptor_s* x); 1034 int zx_md_EntityDescriptor_NUM_IDPSSODescriptor(struct zx_md_EntityDescriptor_s* x); 1035 int zx_md_EntityDescriptor_NUM_SPSSODescriptor(struct zx_md_EntityDescriptor_s* x); 1036 int zx_md_EntityDescriptor_NUM_AuthnAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x); 1037 int zx_md_EntityDescriptor_NUM_AttributeAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x); 1038 int zx_md_EntityDescriptor_NUM_PDPDescriptor(struct zx_md_EntityDescriptor_s* x); 1039 int zx_md_EntityDescriptor_NUM_AffiliationDescriptor(struct zx_md_EntityDescriptor_s* x); 1040 int zx_md_EntityDescriptor_NUM_Organization(struct zx_md_EntityDescriptor_s* x); 1041 int zx_md_EntityDescriptor_NUM_ContactPerson(struct zx_md_EntityDescriptor_s* x); 1042 int zx_md_EntityDescriptor_NUM_AdditionalMetadataLocation(struct zx_md_EntityDescriptor_s* x); 1043 1044 struct zx_ds_Signature_s* zx_md_EntityDescriptor_POP_Signature(struct zx_md_EntityDescriptor_s* x); 1045 struct zx_md_Extensions_s* zx_md_EntityDescriptor_POP_Extensions(struct zx_md_EntityDescriptor_s* x); 1046 struct zx_md_RoleDescriptor_s* zx_md_EntityDescriptor_POP_RoleDescriptor(struct zx_md_EntityDescriptor_s* x); 1047 struct zx_md_IDPSSODescriptor_s* zx_md_EntityDescriptor_POP_IDPSSODescriptor(struct zx_md_EntityDescriptor_s* x); 1048 struct zx_md_SPSSODescriptor_s* zx_md_EntityDescriptor_POP_SPSSODescriptor(struct zx_md_EntityDescriptor_s* x); 1049 struct zx_md_AuthnAuthorityDescriptor_s* zx_md_EntityDescriptor_POP_AuthnAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x); 1050 struct zx_md_AttributeAuthorityDescriptor_s* zx_md_EntityDescriptor_POP_AttributeAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x); 1051 struct zx_md_PDPDescriptor_s* zx_md_EntityDescriptor_POP_PDPDescriptor(struct zx_md_EntityDescriptor_s* x); 1052 struct zx_md_AffiliationDescriptor_s* zx_md_EntityDescriptor_POP_AffiliationDescriptor(struct zx_md_EntityDescriptor_s* x); 1053 struct zx_md_Organization_s* zx_md_EntityDescriptor_POP_Organization(struct zx_md_EntityDescriptor_s* x); 1054 struct zx_md_ContactPerson_s* zx_md_EntityDescriptor_POP_ContactPerson(struct zx_md_EntityDescriptor_s* x); 1055 struct zx_md_AdditionalMetadataLocation_s* zx_md_EntityDescriptor_POP_AdditionalMetadataLocation(struct zx_md_EntityDescriptor_s* x); 1056 1057 void zx_md_EntityDescriptor_PUSH_Signature(struct zx_md_EntityDescriptor_s* x, struct zx_ds_Signature_s* y); 1058 void zx_md_EntityDescriptor_PUSH_Extensions(struct zx_md_EntityDescriptor_s* x, struct zx_md_Extensions_s* y); 1059 void zx_md_EntityDescriptor_PUSH_RoleDescriptor(struct zx_md_EntityDescriptor_s* x, struct zx_md_RoleDescriptor_s* y); 1060 void zx_md_EntityDescriptor_PUSH_IDPSSODescriptor(struct zx_md_EntityDescriptor_s* x, struct zx_md_IDPSSODescriptor_s* y); 1061 void zx_md_EntityDescriptor_PUSH_SPSSODescriptor(struct zx_md_EntityDescriptor_s* x, struct zx_md_SPSSODescriptor_s* y); 1062 void zx_md_EntityDescriptor_PUSH_AuthnAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x, struct zx_md_AuthnAuthorityDescriptor_s* y); 1063 void zx_md_EntityDescriptor_PUSH_AttributeAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x, struct zx_md_AttributeAuthorityDescriptor_s* y); 1064 void zx_md_EntityDescriptor_PUSH_PDPDescriptor(struct zx_md_EntityDescriptor_s* x, struct zx_md_PDPDescriptor_s* y); 1065 void zx_md_EntityDescriptor_PUSH_AffiliationDescriptor(struct zx_md_EntityDescriptor_s* x, struct zx_md_AffiliationDescriptor_s* y); 1066 void zx_md_EntityDescriptor_PUSH_Organization(struct zx_md_EntityDescriptor_s* x, struct zx_md_Organization_s* y); 1067 void zx_md_EntityDescriptor_PUSH_ContactPerson(struct zx_md_EntityDescriptor_s* x, struct zx_md_ContactPerson_s* y); 1068 void zx_md_EntityDescriptor_PUSH_AdditionalMetadataLocation(struct zx_md_EntityDescriptor_s* x, struct zx_md_AdditionalMetadataLocation_s* y); 1069 1070 void zx_md_EntityDescriptor_PUT_ID(struct zx_md_EntityDescriptor_s* x, struct zx_attr_s* y); 1071 void zx_md_EntityDescriptor_PUT_cacheDuration(struct zx_md_EntityDescriptor_s* x, struct zx_attr_s* y); 1072 void zx_md_EntityDescriptor_PUT_entityID(struct zx_md_EntityDescriptor_s* x, struct zx_attr_s* y); 1073 void zx_md_EntityDescriptor_PUT_validUntil(struct zx_md_EntityDescriptor_s* x, struct zx_attr_s* y); 1074 1075 void zx_md_EntityDescriptor_PUT_Signature(struct zx_md_EntityDescriptor_s* x, int n, struct zx_ds_Signature_s* y); 1076 void zx_md_EntityDescriptor_PUT_Extensions(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_Extensions_s* y); 1077 void zx_md_EntityDescriptor_PUT_RoleDescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_RoleDescriptor_s* y); 1078 void zx_md_EntityDescriptor_PUT_IDPSSODescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_IDPSSODescriptor_s* y); 1079 void zx_md_EntityDescriptor_PUT_SPSSODescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_SPSSODescriptor_s* y); 1080 void zx_md_EntityDescriptor_PUT_AuthnAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_AuthnAuthorityDescriptor_s* y); 1081 void zx_md_EntityDescriptor_PUT_AttributeAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_AttributeAuthorityDescriptor_s* y); 1082 void zx_md_EntityDescriptor_PUT_PDPDescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_PDPDescriptor_s* y); 1083 void zx_md_EntityDescriptor_PUT_AffiliationDescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_AffiliationDescriptor_s* y); 1084 void zx_md_EntityDescriptor_PUT_Organization(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_Organization_s* y); 1085 void zx_md_EntityDescriptor_PUT_ContactPerson(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_ContactPerson_s* y); 1086 void zx_md_EntityDescriptor_PUT_AdditionalMetadataLocation(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_AdditionalMetadataLocation_s* y); 1087 1088 void zx_md_EntityDescriptor_ADD_Signature(struct zx_md_EntityDescriptor_s* x, int n, struct zx_ds_Signature_s* z); 1089 void zx_md_EntityDescriptor_ADD_Extensions(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_Extensions_s* z); 1090 void zx_md_EntityDescriptor_ADD_RoleDescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_RoleDescriptor_s* z); 1091 void zx_md_EntityDescriptor_ADD_IDPSSODescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_IDPSSODescriptor_s* z); 1092 void zx_md_EntityDescriptor_ADD_SPSSODescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_SPSSODescriptor_s* z); 1093 void zx_md_EntityDescriptor_ADD_AuthnAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_AuthnAuthorityDescriptor_s* z); 1094 void zx_md_EntityDescriptor_ADD_AttributeAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_AttributeAuthorityDescriptor_s* z); 1095 void zx_md_EntityDescriptor_ADD_PDPDescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_PDPDescriptor_s* z); 1096 void zx_md_EntityDescriptor_ADD_AffiliationDescriptor(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_AffiliationDescriptor_s* z); 1097 void zx_md_EntityDescriptor_ADD_Organization(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_Organization_s* z); 1098 void zx_md_EntityDescriptor_ADD_ContactPerson(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_ContactPerson_s* z); 1099 void zx_md_EntityDescriptor_ADD_AdditionalMetadataLocation(struct zx_md_EntityDescriptor_s* x, int n, struct zx_md_AdditionalMetadataLocation_s* z); 1100 1101 void zx_md_EntityDescriptor_DEL_Signature(struct zx_md_EntityDescriptor_s* x, int n); 1102 void zx_md_EntityDescriptor_DEL_Extensions(struct zx_md_EntityDescriptor_s* x, int n); 1103 void zx_md_EntityDescriptor_DEL_RoleDescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1104 void zx_md_EntityDescriptor_DEL_IDPSSODescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1105 void zx_md_EntityDescriptor_DEL_SPSSODescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1106 void zx_md_EntityDescriptor_DEL_AuthnAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1107 void zx_md_EntityDescriptor_DEL_AttributeAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1108 void zx_md_EntityDescriptor_DEL_PDPDescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1109 void zx_md_EntityDescriptor_DEL_AffiliationDescriptor(struct zx_md_EntityDescriptor_s* x, int n); 1110 void zx_md_EntityDescriptor_DEL_Organization(struct zx_md_EntityDescriptor_s* x, int n); 1111 void zx_md_EntityDescriptor_DEL_ContactPerson(struct zx_md_EntityDescriptor_s* x, int n); 1112 void zx_md_EntityDescriptor_DEL_AdditionalMetadataLocation(struct zx_md_EntityDescriptor_s* x, int n); 1113 1114 void zx_md_EntityDescriptor_REV_Signature(struct zx_md_EntityDescriptor_s* x); 1115 void zx_md_EntityDescriptor_REV_Extensions(struct zx_md_EntityDescriptor_s* x); 1116 void zx_md_EntityDescriptor_REV_RoleDescriptor(struct zx_md_EntityDescriptor_s* x); 1117 void zx_md_EntityDescriptor_REV_IDPSSODescriptor(struct zx_md_EntityDescriptor_s* x); 1118 void zx_md_EntityDescriptor_REV_SPSSODescriptor(struct zx_md_EntityDescriptor_s* x); 1119 void zx_md_EntityDescriptor_REV_AuthnAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x); 1120 void zx_md_EntityDescriptor_REV_AttributeAuthorityDescriptor(struct zx_md_EntityDescriptor_s* x); 1121 void zx_md_EntityDescriptor_REV_PDPDescriptor(struct zx_md_EntityDescriptor_s* x); 1122 void zx_md_EntityDescriptor_REV_AffiliationDescriptor(struct zx_md_EntityDescriptor_s* x); 1123 void zx_md_EntityDescriptor_REV_Organization(struct zx_md_EntityDescriptor_s* x); 1124 void zx_md_EntityDescriptor_REV_ContactPerson(struct zx_md_EntityDescriptor_s* x); 1125 void zx_md_EntityDescriptor_REV_AdditionalMetadataLocation(struct zx_md_EntityDescriptor_s* x); 1126 1127 #endif 1128 /* -------------------------- md_Extensions -------------------------- */ 1129 /* refby( zx_md_RoleDescriptor_s zx_md_AttributeAuthorityDescriptor_s zx_md_Organization_s zx_md_EntityDescriptor_s zx_md_PDPDescriptor_s zx_md_ContactPerson_s zx_md_AuthnAuthorityDescriptor_s zx_md_EntitiesDescriptor_s zx_md_AffiliationDescriptor_s zx_md_IDPSSODescriptor_s zx_md_SPSSODescriptor_s ) */ 1130 #ifndef zx_md_Extensions_EXT 1131 #define zx_md_Extensions_EXT 1132 #endif 1133 struct zx_md_Extensions_s { 1134 ZX_ELEM_EXT 1135 zx_md_Extensions_EXT 1136 struct zx_shibmd_Scope_s* Scope; /* {0,-1} nada */ 1137 struct zx_shibmd_KeyAuthority_s* KeyAuthority; /* {0,-1} nada */ 1138 struct zx_idpdisc_DiscoveryResponse_s* DiscoveryResponse; /* {0,-1} nada */ 1139 }; 1140 1141 #define zx_NEW_md_Extensions(c, father) (struct zx_md_Extensions_s*)zx_new_elem((c),(father),zx_md_Extensions_ELEM) 1142 int zx_DEC_ATTR_md_Extensions(struct zx_ctx* c, struct zx_md_Extensions_s* x); 1143 int zx_DEC_ELEM_md_Extensions(struct zx_ctx* c, struct zx_md_Extensions_s* x); 1144 1145 #ifdef ZX_ENA_AUX 1146 struct zx_md_Extensions_s* zx_DEEP_CLONE_md_Extensions(struct zx_ctx* c, struct zx_md_Extensions_s* x, int dup_strs); 1147 void zx_DUP_STRS_md_Extensions(struct zx_ctx* c, struct zx_md_Extensions_s* x); 1148 int zx_WALK_SO_md_Extensions(struct zx_ctx* c, struct zx_md_Extensions_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1149 int zx_WALK_WO_md_Extensions(struct zx_ctx* c, struct zx_md_Extensions_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1150 #endif 1151 1152 #ifdef ZX_ENA_GETPUT 1153 1154 struct zx_shibmd_Scope_s* zx_md_Extensions_GET_Scope(struct zx_md_Extensions_s* x, int n); 1155 struct zx_shibmd_KeyAuthority_s* zx_md_Extensions_GET_KeyAuthority(struct zx_md_Extensions_s* x, int n); 1156 struct zx_idpdisc_DiscoveryResponse_s* zx_md_Extensions_GET_DiscoveryResponse(struct zx_md_Extensions_s* x, int n); 1157 1158 int zx_md_Extensions_NUM_Scope(struct zx_md_Extensions_s* x); 1159 int zx_md_Extensions_NUM_KeyAuthority(struct zx_md_Extensions_s* x); 1160 int zx_md_Extensions_NUM_DiscoveryResponse(struct zx_md_Extensions_s* x); 1161 1162 struct zx_shibmd_Scope_s* zx_md_Extensions_POP_Scope(struct zx_md_Extensions_s* x); 1163 struct zx_shibmd_KeyAuthority_s* zx_md_Extensions_POP_KeyAuthority(struct zx_md_Extensions_s* x); 1164 struct zx_idpdisc_DiscoveryResponse_s* zx_md_Extensions_POP_DiscoveryResponse(struct zx_md_Extensions_s* x); 1165 1166 void zx_md_Extensions_PUSH_Scope(struct zx_md_Extensions_s* x, struct zx_shibmd_Scope_s* y); 1167 void zx_md_Extensions_PUSH_KeyAuthority(struct zx_md_Extensions_s* x, struct zx_shibmd_KeyAuthority_s* y); 1168 void zx_md_Extensions_PUSH_DiscoveryResponse(struct zx_md_Extensions_s* x, struct zx_idpdisc_DiscoveryResponse_s* y); 1169 1170 1171 void zx_md_Extensions_PUT_Scope(struct zx_md_Extensions_s* x, int n, struct zx_shibmd_Scope_s* y); 1172 void zx_md_Extensions_PUT_KeyAuthority(struct zx_md_Extensions_s* x, int n, struct zx_shibmd_KeyAuthority_s* y); 1173 void zx_md_Extensions_PUT_DiscoveryResponse(struct zx_md_Extensions_s* x, int n, struct zx_idpdisc_DiscoveryResponse_s* y); 1174 1175 void zx_md_Extensions_ADD_Scope(struct zx_md_Extensions_s* x, int n, struct zx_shibmd_Scope_s* z); 1176 void zx_md_Extensions_ADD_KeyAuthority(struct zx_md_Extensions_s* x, int n, struct zx_shibmd_KeyAuthority_s* z); 1177 void zx_md_Extensions_ADD_DiscoveryResponse(struct zx_md_Extensions_s* x, int n, struct zx_idpdisc_DiscoveryResponse_s* z); 1178 1179 void zx_md_Extensions_DEL_Scope(struct zx_md_Extensions_s* x, int n); 1180 void zx_md_Extensions_DEL_KeyAuthority(struct zx_md_Extensions_s* x, int n); 1181 void zx_md_Extensions_DEL_DiscoveryResponse(struct zx_md_Extensions_s* x, int n); 1182 1183 void zx_md_Extensions_REV_Scope(struct zx_md_Extensions_s* x); 1184 void zx_md_Extensions_REV_KeyAuthority(struct zx_md_Extensions_s* x); 1185 void zx_md_Extensions_REV_DiscoveryResponse(struct zx_md_Extensions_s* x); 1186 1187 #endif 1188 /* -------------------------- md_IDPSSODescriptor -------------------------- */ 1189 /* refby( zx_md_EntityDescriptor_s ) */ 1190 #ifndef zx_md_IDPSSODescriptor_EXT 1191 #define zx_md_IDPSSODescriptor_EXT 1192 #endif 1193 struct zx_md_IDPSSODescriptor_s { 1194 ZX_ELEM_EXT 1195 zx_md_IDPSSODescriptor_EXT 1196 struct zx_ds_Signature_s* Signature; /* {0,1} nada */ 1197 struct zx_md_Extensions_s* Extensions; /* {0,1} nada */ 1198 struct zx_md_KeyDescriptor_s* KeyDescriptor; /* {0,-1} nada */ 1199 struct zx_md_Organization_s* Organization; /* {0,1} nada */ 1200 struct zx_md_ContactPerson_s* ContactPerson; /* {0,-1} nada */ 1201 struct zx_md_ArtifactResolutionService_s* ArtifactResolutionService; /* {0,-1} nada */ 1202 struct zx_md_SingleLogoutService_s* SingleLogoutService; /* {0,-1} nada */ 1203 struct zx_md_ManageNameIDService_s* ManageNameIDService; /* {0,-1} nada */ 1204 struct zx_elem_s* NameIDFormat; /* {0,-1} xs:anyURI */ 1205 struct zx_md_SingleSignOnService_s* SingleSignOnService; /* {1,-1} nada */ 1206 struct zx_md_NameIDMappingService_s* NameIDMappingService; /* {0,-1} nada */ 1207 struct zx_md_AssertionIDRequestService_s* AssertionIDRequestService; /* {0,-1} nada */ 1208 struct zx_elem_s* AttributeProfile; /* {0,-1} xs:anyURI */ 1209 struct zx_sa_Attribute_s* Attribute; /* {0,-1} nada */ 1210 struct zx_attr_s* ID; /* {0,1} attribute xs:ID */ 1211 struct zx_attr_s* WantAuthnRequestsSigned; /* {0,1} attribute xs:boolean */ 1212 struct zx_attr_s* cacheDuration; /* {0,1} attribute xs:duration */ 1213 struct zx_attr_s* errorURL; /* {0,1} attribute xs:anyURI */ 1214 struct zx_attr_s* protocolSupportEnumeration; /* {1,1} attribute xs:string */ 1215 struct zx_attr_s* validUntil; /* {0,1} attribute xs:dateTime */ 1216 }; 1217 1218 #define zx_NEW_md_IDPSSODescriptor(c, father) (struct zx_md_IDPSSODescriptor_s*)zx_new_elem((c),(father),zx_md_IDPSSODescriptor_ELEM) 1219 int zx_DEC_ATTR_md_IDPSSODescriptor(struct zx_ctx* c, struct zx_md_IDPSSODescriptor_s* x); 1220 int zx_DEC_ELEM_md_IDPSSODescriptor(struct zx_ctx* c, struct zx_md_IDPSSODescriptor_s* x); 1221 1222 #ifdef ZX_ENA_AUX 1223 struct zx_md_IDPSSODescriptor_s* zx_DEEP_CLONE_md_IDPSSODescriptor(struct zx_ctx* c, struct zx_md_IDPSSODescriptor_s* x, int dup_strs); 1224 void zx_DUP_STRS_md_IDPSSODescriptor(struct zx_ctx* c, struct zx_md_IDPSSODescriptor_s* x); 1225 int zx_WALK_SO_md_IDPSSODescriptor(struct zx_ctx* c, struct zx_md_IDPSSODescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1226 int zx_WALK_WO_md_IDPSSODescriptor(struct zx_ctx* c, struct zx_md_IDPSSODescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1227 #endif 1228 1229 #ifdef ZX_ENA_GETPUT 1230 struct zx_attr_s* zx_md_IDPSSODescriptor_GET_ID(struct zx_md_IDPSSODescriptor_s* x); 1231 struct zx_attr_s* zx_md_IDPSSODescriptor_GET_WantAuthnRequestsSigned(struct zx_md_IDPSSODescriptor_s* x); 1232 struct zx_attr_s* zx_md_IDPSSODescriptor_GET_cacheDuration(struct zx_md_IDPSSODescriptor_s* x); 1233 struct zx_attr_s* zx_md_IDPSSODescriptor_GET_errorURL(struct zx_md_IDPSSODescriptor_s* x); 1234 struct zx_attr_s* zx_md_IDPSSODescriptor_GET_protocolSupportEnumeration(struct zx_md_IDPSSODescriptor_s* x); 1235 struct zx_attr_s* zx_md_IDPSSODescriptor_GET_validUntil(struct zx_md_IDPSSODescriptor_s* x); 1236 1237 struct zx_ds_Signature_s* zx_md_IDPSSODescriptor_GET_Signature(struct zx_md_IDPSSODescriptor_s* x, int n); 1238 struct zx_md_Extensions_s* zx_md_IDPSSODescriptor_GET_Extensions(struct zx_md_IDPSSODescriptor_s* x, int n); 1239 struct zx_md_KeyDescriptor_s* zx_md_IDPSSODescriptor_GET_KeyDescriptor(struct zx_md_IDPSSODescriptor_s* x, int n); 1240 struct zx_md_Organization_s* zx_md_IDPSSODescriptor_GET_Organization(struct zx_md_IDPSSODescriptor_s* x, int n); 1241 struct zx_md_ContactPerson_s* zx_md_IDPSSODescriptor_GET_ContactPerson(struct zx_md_IDPSSODescriptor_s* x, int n); 1242 struct zx_md_ArtifactResolutionService_s* zx_md_IDPSSODescriptor_GET_ArtifactResolutionService(struct zx_md_IDPSSODescriptor_s* x, int n); 1243 struct zx_md_SingleLogoutService_s* zx_md_IDPSSODescriptor_GET_SingleLogoutService(struct zx_md_IDPSSODescriptor_s* x, int n); 1244 struct zx_md_ManageNameIDService_s* zx_md_IDPSSODescriptor_GET_ManageNameIDService(struct zx_md_IDPSSODescriptor_s* x, int n); 1245 struct zx_elem_s* zx_md_IDPSSODescriptor_GET_NameIDFormat(struct zx_md_IDPSSODescriptor_s* x, int n); 1246 struct zx_md_SingleSignOnService_s* zx_md_IDPSSODescriptor_GET_SingleSignOnService(struct zx_md_IDPSSODescriptor_s* x, int n); 1247 struct zx_md_NameIDMappingService_s* zx_md_IDPSSODescriptor_GET_NameIDMappingService(struct zx_md_IDPSSODescriptor_s* x, int n); 1248 struct zx_md_AssertionIDRequestService_s* zx_md_IDPSSODescriptor_GET_AssertionIDRequestService(struct zx_md_IDPSSODescriptor_s* x, int n); 1249 struct zx_elem_s* zx_md_IDPSSODescriptor_GET_AttributeProfile(struct zx_md_IDPSSODescriptor_s* x, int n); 1250 struct zx_sa_Attribute_s* zx_md_IDPSSODescriptor_GET_Attribute(struct zx_md_IDPSSODescriptor_s* x, int n); 1251 1252 int zx_md_IDPSSODescriptor_NUM_Signature(struct zx_md_IDPSSODescriptor_s* x); 1253 int zx_md_IDPSSODescriptor_NUM_Extensions(struct zx_md_IDPSSODescriptor_s* x); 1254 int zx_md_IDPSSODescriptor_NUM_KeyDescriptor(struct zx_md_IDPSSODescriptor_s* x); 1255 int zx_md_IDPSSODescriptor_NUM_Organization(struct zx_md_IDPSSODescriptor_s* x); 1256 int zx_md_IDPSSODescriptor_NUM_ContactPerson(struct zx_md_IDPSSODescriptor_s* x); 1257 int zx_md_IDPSSODescriptor_NUM_ArtifactResolutionService(struct zx_md_IDPSSODescriptor_s* x); 1258 int zx_md_IDPSSODescriptor_NUM_SingleLogoutService(struct zx_md_IDPSSODescriptor_s* x); 1259 int zx_md_IDPSSODescriptor_NUM_ManageNameIDService(struct zx_md_IDPSSODescriptor_s* x); 1260 int zx_md_IDPSSODescriptor_NUM_NameIDFormat(struct zx_md_IDPSSODescriptor_s* x); 1261 int zx_md_IDPSSODescriptor_NUM_SingleSignOnService(struct zx_md_IDPSSODescriptor_s* x); 1262 int zx_md_IDPSSODescriptor_NUM_NameIDMappingService(struct zx_md_IDPSSODescriptor_s* x); 1263 int zx_md_IDPSSODescriptor_NUM_AssertionIDRequestService(struct zx_md_IDPSSODescriptor_s* x); 1264 int zx_md_IDPSSODescriptor_NUM_AttributeProfile(struct zx_md_IDPSSODescriptor_s* x); 1265 int zx_md_IDPSSODescriptor_NUM_Attribute(struct zx_md_IDPSSODescriptor_s* x); 1266 1267 struct zx_ds_Signature_s* zx_md_IDPSSODescriptor_POP_Signature(struct zx_md_IDPSSODescriptor_s* x); 1268 struct zx_md_Extensions_s* zx_md_IDPSSODescriptor_POP_Extensions(struct zx_md_IDPSSODescriptor_s* x); 1269 struct zx_md_KeyDescriptor_s* zx_md_IDPSSODescriptor_POP_KeyDescriptor(struct zx_md_IDPSSODescriptor_s* x); 1270 struct zx_md_Organization_s* zx_md_IDPSSODescriptor_POP_Organization(struct zx_md_IDPSSODescriptor_s* x); 1271 struct zx_md_ContactPerson_s* zx_md_IDPSSODescriptor_POP_ContactPerson(struct zx_md_IDPSSODescriptor_s* x); 1272 struct zx_md_ArtifactResolutionService_s* zx_md_IDPSSODescriptor_POP_ArtifactResolutionService(struct zx_md_IDPSSODescriptor_s* x); 1273 struct zx_md_SingleLogoutService_s* zx_md_IDPSSODescriptor_POP_SingleLogoutService(struct zx_md_IDPSSODescriptor_s* x); 1274 struct zx_md_ManageNameIDService_s* zx_md_IDPSSODescriptor_POP_ManageNameIDService(struct zx_md_IDPSSODescriptor_s* x); 1275 struct zx_elem_s* zx_md_IDPSSODescriptor_POP_NameIDFormat(struct zx_md_IDPSSODescriptor_s* x); 1276 struct zx_md_SingleSignOnService_s* zx_md_IDPSSODescriptor_POP_SingleSignOnService(struct zx_md_IDPSSODescriptor_s* x); 1277 struct zx_md_NameIDMappingService_s* zx_md_IDPSSODescriptor_POP_NameIDMappingService(struct zx_md_IDPSSODescriptor_s* x); 1278 struct zx_md_AssertionIDRequestService_s* zx_md_IDPSSODescriptor_POP_AssertionIDRequestService(struct zx_md_IDPSSODescriptor_s* x); 1279 struct zx_elem_s* zx_md_IDPSSODescriptor_POP_AttributeProfile(struct zx_md_IDPSSODescriptor_s* x); 1280 struct zx_sa_Attribute_s* zx_md_IDPSSODescriptor_POP_Attribute(struct zx_md_IDPSSODescriptor_s* x); 1281 1282 void zx_md_IDPSSODescriptor_PUSH_Signature(struct zx_md_IDPSSODescriptor_s* x, struct zx_ds_Signature_s* y); 1283 void zx_md_IDPSSODescriptor_PUSH_Extensions(struct zx_md_IDPSSODescriptor_s* x, struct zx_md_Extensions_s* y); 1284 void zx_md_IDPSSODescriptor_PUSH_KeyDescriptor(struct zx_md_IDPSSODescriptor_s* x, struct zx_md_KeyDescriptor_s* y); 1285 void zx_md_IDPSSODescriptor_PUSH_Organization(struct zx_md_IDPSSODescriptor_s* x, struct zx_md_Organization_s* y); 1286 void zx_md_IDPSSODescriptor_PUSH_ContactPerson(struct zx_md_IDPSSODescriptor_s* x, struct zx_md_ContactPerson_s* y); 1287 void zx_md_IDPSSODescriptor_PUSH_ArtifactResolutionService(struct zx_md_IDPSSODescriptor_s* x, struct zx_md_ArtifactResolutionService_s* y); 1288 void zx_md_IDPSSODescriptor_PUSH_SingleLogoutService(struct zx_md_IDPSSODescriptor_s* x, struct zx_md_SingleLogoutService_s* y); 1289 void zx_md_IDPSSODescriptor_PUSH_ManageNameIDService(struct zx_md_IDPSSODescriptor_s* x, struct zx_md_ManageNameIDService_s* y); 1290 void zx_md_IDPSSODescriptor_PUSH_NameIDFormat(struct zx_md_IDPSSODescriptor_s* x, struct zx_elem_s* y); 1291 void zx_md_IDPSSODescriptor_PUSH_SingleSignOnService(struct zx_md_IDPSSODescriptor_s* x, struct zx_md_SingleSignOnService_s* y); 1292 void zx_md_IDPSSODescriptor_PUSH_NameIDMappingService(struct zx_md_IDPSSODescriptor_s* x, struct zx_md_NameIDMappingService_s* y); 1293 void zx_md_IDPSSODescriptor_PUSH_AssertionIDRequestService(struct zx_md_IDPSSODescriptor_s* x, struct zx_md_AssertionIDRequestService_s* y); 1294 void zx_md_IDPSSODescriptor_PUSH_AttributeProfile(struct zx_md_IDPSSODescriptor_s* x, struct zx_elem_s* y); 1295 void zx_md_IDPSSODescriptor_PUSH_Attribute(struct zx_md_IDPSSODescriptor_s* x, struct zx_sa_Attribute_s* y); 1296 1297 void zx_md_IDPSSODescriptor_PUT_ID(struct zx_md_IDPSSODescriptor_s* x, struct zx_attr_s* y); 1298 void zx_md_IDPSSODescriptor_PUT_WantAuthnRequestsSigned(struct zx_md_IDPSSODescriptor_s* x, struct zx_attr_s* y); 1299 void zx_md_IDPSSODescriptor_PUT_cacheDuration(struct zx_md_IDPSSODescriptor_s* x, struct zx_attr_s* y); 1300 void zx_md_IDPSSODescriptor_PUT_errorURL(struct zx_md_IDPSSODescriptor_s* x, struct zx_attr_s* y); 1301 void zx_md_IDPSSODescriptor_PUT_protocolSupportEnumeration(struct zx_md_IDPSSODescriptor_s* x, struct zx_attr_s* y); 1302 void zx_md_IDPSSODescriptor_PUT_validUntil(struct zx_md_IDPSSODescriptor_s* x, struct zx_attr_s* y); 1303 1304 void zx_md_IDPSSODescriptor_PUT_Signature(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_ds_Signature_s* y); 1305 void zx_md_IDPSSODescriptor_PUT_Extensions(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_Extensions_s* y); 1306 void zx_md_IDPSSODescriptor_PUT_KeyDescriptor(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* y); 1307 void zx_md_IDPSSODescriptor_PUT_Organization(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_Organization_s* y); 1308 void zx_md_IDPSSODescriptor_PUT_ContactPerson(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_ContactPerson_s* y); 1309 void zx_md_IDPSSODescriptor_PUT_ArtifactResolutionService(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_ArtifactResolutionService_s* y); 1310 void zx_md_IDPSSODescriptor_PUT_SingleLogoutService(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_SingleLogoutService_s* y); 1311 void zx_md_IDPSSODescriptor_PUT_ManageNameIDService(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_ManageNameIDService_s* y); 1312 void zx_md_IDPSSODescriptor_PUT_NameIDFormat(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_elem_s* y); 1313 void zx_md_IDPSSODescriptor_PUT_SingleSignOnService(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_SingleSignOnService_s* y); 1314 void zx_md_IDPSSODescriptor_PUT_NameIDMappingService(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_NameIDMappingService_s* y); 1315 void zx_md_IDPSSODescriptor_PUT_AssertionIDRequestService(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_AssertionIDRequestService_s* y); 1316 void zx_md_IDPSSODescriptor_PUT_AttributeProfile(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_elem_s* y); 1317 void zx_md_IDPSSODescriptor_PUT_Attribute(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_sa_Attribute_s* y); 1318 1319 void zx_md_IDPSSODescriptor_ADD_Signature(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_ds_Signature_s* z); 1320 void zx_md_IDPSSODescriptor_ADD_Extensions(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_Extensions_s* z); 1321 void zx_md_IDPSSODescriptor_ADD_KeyDescriptor(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* z); 1322 void zx_md_IDPSSODescriptor_ADD_Organization(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_Organization_s* z); 1323 void zx_md_IDPSSODescriptor_ADD_ContactPerson(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_ContactPerson_s* z); 1324 void zx_md_IDPSSODescriptor_ADD_ArtifactResolutionService(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_ArtifactResolutionService_s* z); 1325 void zx_md_IDPSSODescriptor_ADD_SingleLogoutService(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_SingleLogoutService_s* z); 1326 void zx_md_IDPSSODescriptor_ADD_ManageNameIDService(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_ManageNameIDService_s* z); 1327 void zx_md_IDPSSODescriptor_ADD_NameIDFormat(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_elem_s* z); 1328 void zx_md_IDPSSODescriptor_ADD_SingleSignOnService(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_SingleSignOnService_s* z); 1329 void zx_md_IDPSSODescriptor_ADD_NameIDMappingService(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_NameIDMappingService_s* z); 1330 void zx_md_IDPSSODescriptor_ADD_AssertionIDRequestService(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_md_AssertionIDRequestService_s* z); 1331 void zx_md_IDPSSODescriptor_ADD_AttributeProfile(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_elem_s* z); 1332 void zx_md_IDPSSODescriptor_ADD_Attribute(struct zx_md_IDPSSODescriptor_s* x, int n, struct zx_sa_Attribute_s* z); 1333 1334 void zx_md_IDPSSODescriptor_DEL_Signature(struct zx_md_IDPSSODescriptor_s* x, int n); 1335 void zx_md_IDPSSODescriptor_DEL_Extensions(struct zx_md_IDPSSODescriptor_s* x, int n); 1336 void zx_md_IDPSSODescriptor_DEL_KeyDescriptor(struct zx_md_IDPSSODescriptor_s* x, int n); 1337 void zx_md_IDPSSODescriptor_DEL_Organization(struct zx_md_IDPSSODescriptor_s* x, int n); 1338 void zx_md_IDPSSODescriptor_DEL_ContactPerson(struct zx_md_IDPSSODescriptor_s* x, int n); 1339 void zx_md_IDPSSODescriptor_DEL_ArtifactResolutionService(struct zx_md_IDPSSODescriptor_s* x, int n); 1340 void zx_md_IDPSSODescriptor_DEL_SingleLogoutService(struct zx_md_IDPSSODescriptor_s* x, int n); 1341 void zx_md_IDPSSODescriptor_DEL_ManageNameIDService(struct zx_md_IDPSSODescriptor_s* x, int n); 1342 void zx_md_IDPSSODescriptor_DEL_NameIDFormat(struct zx_md_IDPSSODescriptor_s* x,int n); 1343 void zx_md_IDPSSODescriptor_DEL_SingleSignOnService(struct zx_md_IDPSSODescriptor_s* x, int n); 1344 void zx_md_IDPSSODescriptor_DEL_NameIDMappingService(struct zx_md_IDPSSODescriptor_s* x, int n); 1345 void zx_md_IDPSSODescriptor_DEL_AssertionIDRequestService(struct zx_md_IDPSSODescriptor_s* x, int n); 1346 void zx_md_IDPSSODescriptor_DEL_AttributeProfile(struct zx_md_IDPSSODescriptor_s* x,int n); 1347 void zx_md_IDPSSODescriptor_DEL_Attribute(struct zx_md_IDPSSODescriptor_s* x, int n); 1348 1349 void zx_md_IDPSSODescriptor_REV_Signature(struct zx_md_IDPSSODescriptor_s* x); 1350 void zx_md_IDPSSODescriptor_REV_Extensions(struct zx_md_IDPSSODescriptor_s* x); 1351 void zx_md_IDPSSODescriptor_REV_KeyDescriptor(struct zx_md_IDPSSODescriptor_s* x); 1352 void zx_md_IDPSSODescriptor_REV_Organization(struct zx_md_IDPSSODescriptor_s* x); 1353 void zx_md_IDPSSODescriptor_REV_ContactPerson(struct zx_md_IDPSSODescriptor_s* x); 1354 void zx_md_IDPSSODescriptor_REV_ArtifactResolutionService(struct zx_md_IDPSSODescriptor_s* x); 1355 void zx_md_IDPSSODescriptor_REV_SingleLogoutService(struct zx_md_IDPSSODescriptor_s* x); 1356 void zx_md_IDPSSODescriptor_REV_ManageNameIDService(struct zx_md_IDPSSODescriptor_s* x); 1357 void zx_md_IDPSSODescriptor_REV_NameIDFormat(struct zx_md_IDPSSODescriptor_s* x); 1358 void zx_md_IDPSSODescriptor_REV_SingleSignOnService(struct zx_md_IDPSSODescriptor_s* x); 1359 void zx_md_IDPSSODescriptor_REV_NameIDMappingService(struct zx_md_IDPSSODescriptor_s* x); 1360 void zx_md_IDPSSODescriptor_REV_AssertionIDRequestService(struct zx_md_IDPSSODescriptor_s* x); 1361 void zx_md_IDPSSODescriptor_REV_AttributeProfile(struct zx_md_IDPSSODescriptor_s* x); 1362 void zx_md_IDPSSODescriptor_REV_Attribute(struct zx_md_IDPSSODescriptor_s* x); 1363 1364 #endif 1365 /* -------------------------- md_KeyDescriptor -------------------------- */ 1366 /* refby( zx_md_RoleDescriptor_s zx_md_AttributeAuthorityDescriptor_s zx_md_PDPDescriptor_s zx_md_AuthnAuthorityDescriptor_s zx_md_AffiliationDescriptor_s zx_md_IDPSSODescriptor_s zx_md_SPSSODescriptor_s zx_di_Keys_s ) */ 1367 #ifndef zx_md_KeyDescriptor_EXT 1368 #define zx_md_KeyDescriptor_EXT 1369 #endif 1370 struct zx_md_KeyDescriptor_s { 1371 ZX_ELEM_EXT 1372 zx_md_KeyDescriptor_EXT 1373 struct zx_ds_KeyInfo_s* KeyInfo; /* {1,1} nada */ 1374 struct zx_md_EncryptionMethod_s* EncryptionMethod; /* {0,-1} nada */ 1375 struct zx_attr_s* use; /* {0,1} attribute keyTypes */ 1376 }; 1377 1378 #define zx_NEW_md_KeyDescriptor(c, father) (struct zx_md_KeyDescriptor_s*)zx_new_elem((c),(father),zx_md_KeyDescriptor_ELEM) 1379 int zx_DEC_ATTR_md_KeyDescriptor(struct zx_ctx* c, struct zx_md_KeyDescriptor_s* x); 1380 int zx_DEC_ELEM_md_KeyDescriptor(struct zx_ctx* c, struct zx_md_KeyDescriptor_s* x); 1381 1382 #ifdef ZX_ENA_AUX 1383 struct zx_md_KeyDescriptor_s* zx_DEEP_CLONE_md_KeyDescriptor(struct zx_ctx* c, struct zx_md_KeyDescriptor_s* x, int dup_strs); 1384 void zx_DUP_STRS_md_KeyDescriptor(struct zx_ctx* c, struct zx_md_KeyDescriptor_s* x); 1385 int zx_WALK_SO_md_KeyDescriptor(struct zx_ctx* c, struct zx_md_KeyDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1386 int zx_WALK_WO_md_KeyDescriptor(struct zx_ctx* c, struct zx_md_KeyDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1387 #endif 1388 1389 #ifdef ZX_ENA_GETPUT 1390 struct zx_attr_s* zx_md_KeyDescriptor_GET_use(struct zx_md_KeyDescriptor_s* x); 1391 1392 struct zx_ds_KeyInfo_s* zx_md_KeyDescriptor_GET_KeyInfo(struct zx_md_KeyDescriptor_s* x, int n); 1393 struct zx_md_EncryptionMethod_s* zx_md_KeyDescriptor_GET_EncryptionMethod(struct zx_md_KeyDescriptor_s* x, int n); 1394 1395 int zx_md_KeyDescriptor_NUM_KeyInfo(struct zx_md_KeyDescriptor_s* x); 1396 int zx_md_KeyDescriptor_NUM_EncryptionMethod(struct zx_md_KeyDescriptor_s* x); 1397 1398 struct zx_ds_KeyInfo_s* zx_md_KeyDescriptor_POP_KeyInfo(struct zx_md_KeyDescriptor_s* x); 1399 struct zx_md_EncryptionMethod_s* zx_md_KeyDescriptor_POP_EncryptionMethod(struct zx_md_KeyDescriptor_s* x); 1400 1401 void zx_md_KeyDescriptor_PUSH_KeyInfo(struct zx_md_KeyDescriptor_s* x, struct zx_ds_KeyInfo_s* y); 1402 void zx_md_KeyDescriptor_PUSH_EncryptionMethod(struct zx_md_KeyDescriptor_s* x, struct zx_md_EncryptionMethod_s* y); 1403 1404 void zx_md_KeyDescriptor_PUT_use(struct zx_md_KeyDescriptor_s* x, struct zx_attr_s* y); 1405 1406 void zx_md_KeyDescriptor_PUT_KeyInfo(struct zx_md_KeyDescriptor_s* x, int n, struct zx_ds_KeyInfo_s* y); 1407 void zx_md_KeyDescriptor_PUT_EncryptionMethod(struct zx_md_KeyDescriptor_s* x, int n, struct zx_md_EncryptionMethod_s* y); 1408 1409 void zx_md_KeyDescriptor_ADD_KeyInfo(struct zx_md_KeyDescriptor_s* x, int n, struct zx_ds_KeyInfo_s* z); 1410 void zx_md_KeyDescriptor_ADD_EncryptionMethod(struct zx_md_KeyDescriptor_s* x, int n, struct zx_md_EncryptionMethod_s* z); 1411 1412 void zx_md_KeyDescriptor_DEL_KeyInfo(struct zx_md_KeyDescriptor_s* x, int n); 1413 void zx_md_KeyDescriptor_DEL_EncryptionMethod(struct zx_md_KeyDescriptor_s* x, int n); 1414 1415 void zx_md_KeyDescriptor_REV_KeyInfo(struct zx_md_KeyDescriptor_s* x); 1416 void zx_md_KeyDescriptor_REV_EncryptionMethod(struct zx_md_KeyDescriptor_s* x); 1417 1418 #endif 1419 /* -------------------------- md_ManageNameIDService -------------------------- */ 1420 /* refby( zx_md_IDPSSODescriptor_s zx_md_SPSSODescriptor_s ) */ 1421 #ifndef zx_md_ManageNameIDService_EXT 1422 #define zx_md_ManageNameIDService_EXT 1423 #endif 1424 struct zx_md_ManageNameIDService_s { 1425 ZX_ELEM_EXT 1426 zx_md_ManageNameIDService_EXT 1427 struct zx_attr_s* Binding; /* {1,1} attribute xs:anyURI */ 1428 struct zx_attr_s* Location; /* {1,1} attribute xs:anyURI */ 1429 struct zx_attr_s* ResponseLocation; /* {0,1} attribute xs:anyURI */ 1430 struct zx_attr_s* index; /* {0,1} attribute xs:unsignedShort */ 1431 struct zx_attr_s* isDefault; /* {0,1} attribute xs:boolean */ 1432 }; 1433 1434 #define zx_NEW_md_ManageNameIDService(c, father) (struct zx_md_ManageNameIDService_s*)zx_new_elem((c),(father),zx_md_ManageNameIDService_ELEM) 1435 int zx_DEC_ATTR_md_ManageNameIDService(struct zx_ctx* c, struct zx_md_ManageNameIDService_s* x); 1436 int zx_DEC_ELEM_md_ManageNameIDService(struct zx_ctx* c, struct zx_md_ManageNameIDService_s* x); 1437 1438 #ifdef ZX_ENA_AUX 1439 struct zx_md_ManageNameIDService_s* zx_DEEP_CLONE_md_ManageNameIDService(struct zx_ctx* c, struct zx_md_ManageNameIDService_s* x, int dup_strs); 1440 void zx_DUP_STRS_md_ManageNameIDService(struct zx_ctx* c, struct zx_md_ManageNameIDService_s* x); 1441 int zx_WALK_SO_md_ManageNameIDService(struct zx_ctx* c, struct zx_md_ManageNameIDService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1442 int zx_WALK_WO_md_ManageNameIDService(struct zx_ctx* c, struct zx_md_ManageNameIDService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1443 #endif 1444 1445 #ifdef ZX_ENA_GETPUT 1446 struct zx_attr_s* zx_md_ManageNameIDService_GET_Binding(struct zx_md_ManageNameIDService_s* x); 1447 struct zx_attr_s* zx_md_ManageNameIDService_GET_Location(struct zx_md_ManageNameIDService_s* x); 1448 struct zx_attr_s* zx_md_ManageNameIDService_GET_ResponseLocation(struct zx_md_ManageNameIDService_s* x); 1449 struct zx_attr_s* zx_md_ManageNameIDService_GET_index(struct zx_md_ManageNameIDService_s* x); 1450 struct zx_attr_s* zx_md_ManageNameIDService_GET_isDefault(struct zx_md_ManageNameIDService_s* x); 1451 1452 1453 1454 1455 1456 void zx_md_ManageNameIDService_PUT_Binding(struct zx_md_ManageNameIDService_s* x, struct zx_attr_s* y); 1457 void zx_md_ManageNameIDService_PUT_Location(struct zx_md_ManageNameIDService_s* x, struct zx_attr_s* y); 1458 void zx_md_ManageNameIDService_PUT_ResponseLocation(struct zx_md_ManageNameIDService_s* x, struct zx_attr_s* y); 1459 void zx_md_ManageNameIDService_PUT_index(struct zx_md_ManageNameIDService_s* x, struct zx_attr_s* y); 1460 void zx_md_ManageNameIDService_PUT_isDefault(struct zx_md_ManageNameIDService_s* x, struct zx_attr_s* y); 1461 1462 1463 1464 1465 1466 #endif 1467 /* -------------------------- md_NameIDMappingService -------------------------- */ 1468 /* refby( zx_md_IDPSSODescriptor_s ) */ 1469 #ifndef zx_md_NameIDMappingService_EXT 1470 #define zx_md_NameIDMappingService_EXT 1471 #endif 1472 struct zx_md_NameIDMappingService_s { 1473 ZX_ELEM_EXT 1474 zx_md_NameIDMappingService_EXT 1475 struct zx_attr_s* Binding; /* {1,1} attribute xs:anyURI */ 1476 struct zx_attr_s* Location; /* {1,1} attribute xs:anyURI */ 1477 struct zx_attr_s* ResponseLocation; /* {0,1} attribute xs:anyURI */ 1478 struct zx_attr_s* index; /* {0,1} attribute xs:unsignedShort */ 1479 struct zx_attr_s* isDefault; /* {0,1} attribute xs:boolean */ 1480 }; 1481 1482 #define zx_NEW_md_NameIDMappingService(c, father) (struct zx_md_NameIDMappingService_s*)zx_new_elem((c),(father),zx_md_NameIDMappingService_ELEM) 1483 int zx_DEC_ATTR_md_NameIDMappingService(struct zx_ctx* c, struct zx_md_NameIDMappingService_s* x); 1484 int zx_DEC_ELEM_md_NameIDMappingService(struct zx_ctx* c, struct zx_md_NameIDMappingService_s* x); 1485 1486 #ifdef ZX_ENA_AUX 1487 struct zx_md_NameIDMappingService_s* zx_DEEP_CLONE_md_NameIDMappingService(struct zx_ctx* c, struct zx_md_NameIDMappingService_s* x, int dup_strs); 1488 void zx_DUP_STRS_md_NameIDMappingService(struct zx_ctx* c, struct zx_md_NameIDMappingService_s* x); 1489 int zx_WALK_SO_md_NameIDMappingService(struct zx_ctx* c, struct zx_md_NameIDMappingService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1490 int zx_WALK_WO_md_NameIDMappingService(struct zx_ctx* c, struct zx_md_NameIDMappingService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1491 #endif 1492 1493 #ifdef ZX_ENA_GETPUT 1494 struct zx_attr_s* zx_md_NameIDMappingService_GET_Binding(struct zx_md_NameIDMappingService_s* x); 1495 struct zx_attr_s* zx_md_NameIDMappingService_GET_Location(struct zx_md_NameIDMappingService_s* x); 1496 struct zx_attr_s* zx_md_NameIDMappingService_GET_ResponseLocation(struct zx_md_NameIDMappingService_s* x); 1497 struct zx_attr_s* zx_md_NameIDMappingService_GET_index(struct zx_md_NameIDMappingService_s* x); 1498 struct zx_attr_s* zx_md_NameIDMappingService_GET_isDefault(struct zx_md_NameIDMappingService_s* x); 1499 1500 1501 1502 1503 1504 void zx_md_NameIDMappingService_PUT_Binding(struct zx_md_NameIDMappingService_s* x, struct zx_attr_s* y); 1505 void zx_md_NameIDMappingService_PUT_Location(struct zx_md_NameIDMappingService_s* x, struct zx_attr_s* y); 1506 void zx_md_NameIDMappingService_PUT_ResponseLocation(struct zx_md_NameIDMappingService_s* x, struct zx_attr_s* y); 1507 void zx_md_NameIDMappingService_PUT_index(struct zx_md_NameIDMappingService_s* x, struct zx_attr_s* y); 1508 void zx_md_NameIDMappingService_PUT_isDefault(struct zx_md_NameIDMappingService_s* x, struct zx_attr_s* y); 1509 1510 1511 1512 1513 1514 #endif 1515 /* -------------------------- md_Organization -------------------------- */ 1516 /* refby( zx_md_RoleDescriptor_s zx_md_AttributeAuthorityDescriptor_s zx_md_EntityDescriptor_s zx_md_PDPDescriptor_s zx_md_AuthnAuthorityDescriptor_s zx_md_IDPSSODescriptor_s zx_md_SPSSODescriptor_s ) */ 1517 #ifndef zx_md_Organization_EXT 1518 #define zx_md_Organization_EXT 1519 #endif 1520 struct zx_md_Organization_s { 1521 ZX_ELEM_EXT 1522 zx_md_Organization_EXT 1523 struct zx_md_Extensions_s* Extensions; /* {0,1} nada */ 1524 struct zx_md_OrganizationName_s* OrganizationName; /* {1,-1} nada */ 1525 struct zx_md_OrganizationDisplayName_s* OrganizationDisplayName; /* {1,-1} nada */ 1526 struct zx_md_OrganizationURL_s* OrganizationURL; /* {1,-1} nada */ 1527 }; 1528 1529 #define zx_NEW_md_Organization(c, father) (struct zx_md_Organization_s*)zx_new_elem((c),(father),zx_md_Organization_ELEM) 1530 int zx_DEC_ATTR_md_Organization(struct zx_ctx* c, struct zx_md_Organization_s* x); 1531 int zx_DEC_ELEM_md_Organization(struct zx_ctx* c, struct zx_md_Organization_s* x); 1532 1533 #ifdef ZX_ENA_AUX 1534 struct zx_md_Organization_s* zx_DEEP_CLONE_md_Organization(struct zx_ctx* c, struct zx_md_Organization_s* x, int dup_strs); 1535 void zx_DUP_STRS_md_Organization(struct zx_ctx* c, struct zx_md_Organization_s* x); 1536 int zx_WALK_SO_md_Organization(struct zx_ctx* c, struct zx_md_Organization_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1537 int zx_WALK_WO_md_Organization(struct zx_ctx* c, struct zx_md_Organization_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1538 #endif 1539 1540 #ifdef ZX_ENA_GETPUT 1541 1542 struct zx_md_Extensions_s* zx_md_Organization_GET_Extensions(struct zx_md_Organization_s* x, int n); 1543 struct zx_md_OrganizationName_s* zx_md_Organization_GET_OrganizationName(struct zx_md_Organization_s* x, int n); 1544 struct zx_md_OrganizationDisplayName_s* zx_md_Organization_GET_OrganizationDisplayName(struct zx_md_Organization_s* x, int n); 1545 struct zx_md_OrganizationURL_s* zx_md_Organization_GET_OrganizationURL(struct zx_md_Organization_s* x, int n); 1546 1547 int zx_md_Organization_NUM_Extensions(struct zx_md_Organization_s* x); 1548 int zx_md_Organization_NUM_OrganizationName(struct zx_md_Organization_s* x); 1549 int zx_md_Organization_NUM_OrganizationDisplayName(struct zx_md_Organization_s* x); 1550 int zx_md_Organization_NUM_OrganizationURL(struct zx_md_Organization_s* x); 1551 1552 struct zx_md_Extensions_s* zx_md_Organization_POP_Extensions(struct zx_md_Organization_s* x); 1553 struct zx_md_OrganizationName_s* zx_md_Organization_POP_OrganizationName(struct zx_md_Organization_s* x); 1554 struct zx_md_OrganizationDisplayName_s* zx_md_Organization_POP_OrganizationDisplayName(struct zx_md_Organization_s* x); 1555 struct zx_md_OrganizationURL_s* zx_md_Organization_POP_OrganizationURL(struct zx_md_Organization_s* x); 1556 1557 void zx_md_Organization_PUSH_Extensions(struct zx_md_Organization_s* x, struct zx_md_Extensions_s* y); 1558 void zx_md_Organization_PUSH_OrganizationName(struct zx_md_Organization_s* x, struct zx_md_OrganizationName_s* y); 1559 void zx_md_Organization_PUSH_OrganizationDisplayName(struct zx_md_Organization_s* x, struct zx_md_OrganizationDisplayName_s* y); 1560 void zx_md_Organization_PUSH_OrganizationURL(struct zx_md_Organization_s* x, struct zx_md_OrganizationURL_s* y); 1561 1562 1563 void zx_md_Organization_PUT_Extensions(struct zx_md_Organization_s* x, int n, struct zx_md_Extensions_s* y); 1564 void zx_md_Organization_PUT_OrganizationName(struct zx_md_Organization_s* x, int n, struct zx_md_OrganizationName_s* y); 1565 void zx_md_Organization_PUT_OrganizationDisplayName(struct zx_md_Organization_s* x, int n, struct zx_md_OrganizationDisplayName_s* y); 1566 void zx_md_Organization_PUT_OrganizationURL(struct zx_md_Organization_s* x, int n, struct zx_md_OrganizationURL_s* y); 1567 1568 void zx_md_Organization_ADD_Extensions(struct zx_md_Organization_s* x, int n, struct zx_md_Extensions_s* z); 1569 void zx_md_Organization_ADD_OrganizationName(struct zx_md_Organization_s* x, int n, struct zx_md_OrganizationName_s* z); 1570 void zx_md_Organization_ADD_OrganizationDisplayName(struct zx_md_Organization_s* x, int n, struct zx_md_OrganizationDisplayName_s* z); 1571 void zx_md_Organization_ADD_OrganizationURL(struct zx_md_Organization_s* x, int n, struct zx_md_OrganizationURL_s* z); 1572 1573 void zx_md_Organization_DEL_Extensions(struct zx_md_Organization_s* x, int n); 1574 void zx_md_Organization_DEL_OrganizationName(struct zx_md_Organization_s* x, int n); 1575 void zx_md_Organization_DEL_OrganizationDisplayName(struct zx_md_Organization_s* x, int n); 1576 void zx_md_Organization_DEL_OrganizationURL(struct zx_md_Organization_s* x, int n); 1577 1578 void zx_md_Organization_REV_Extensions(struct zx_md_Organization_s* x); 1579 void zx_md_Organization_REV_OrganizationName(struct zx_md_Organization_s* x); 1580 void zx_md_Organization_REV_OrganizationDisplayName(struct zx_md_Organization_s* x); 1581 void zx_md_Organization_REV_OrganizationURL(struct zx_md_Organization_s* x); 1582 1583 #endif 1584 /* -------------------------- md_OrganizationDisplayName -------------------------- */ 1585 /* refby( zx_md_Organization_s ) */ 1586 #ifndef zx_md_OrganizationDisplayName_EXT 1587 #define zx_md_OrganizationDisplayName_EXT 1588 #endif 1589 struct zx_md_OrganizationDisplayName_s { 1590 ZX_ELEM_EXT 1591 zx_md_OrganizationDisplayName_EXT 1592 struct zx_attr_s* lang; /* {0,1} attribute xs:string */ 1593 }; 1594 1595 #define zx_NEW_md_OrganizationDisplayName(c, father) (struct zx_md_OrganizationDisplayName_s*)zx_new_elem((c),(father),zx_md_OrganizationDisplayName_ELEM) 1596 int zx_DEC_ATTR_md_OrganizationDisplayName(struct zx_ctx* c, struct zx_md_OrganizationDisplayName_s* x); 1597 int zx_DEC_ELEM_md_OrganizationDisplayName(struct zx_ctx* c, struct zx_md_OrganizationDisplayName_s* x); 1598 1599 #ifdef ZX_ENA_AUX 1600 struct zx_md_OrganizationDisplayName_s* zx_DEEP_CLONE_md_OrganizationDisplayName(struct zx_ctx* c, struct zx_md_OrganizationDisplayName_s* x, int dup_strs); 1601 void zx_DUP_STRS_md_OrganizationDisplayName(struct zx_ctx* c, struct zx_md_OrganizationDisplayName_s* x); 1602 int zx_WALK_SO_md_OrganizationDisplayName(struct zx_ctx* c, struct zx_md_OrganizationDisplayName_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1603 int zx_WALK_WO_md_OrganizationDisplayName(struct zx_ctx* c, struct zx_md_OrganizationDisplayName_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1604 #endif 1605 1606 #ifdef ZX_ENA_GETPUT 1607 struct zx_attr_s* zx_md_OrganizationDisplayName_GET_lang(struct zx_md_OrganizationDisplayName_s* x); 1608 1609 1610 1611 1612 1613 void zx_md_OrganizationDisplayName_PUT_lang(struct zx_md_OrganizationDisplayName_s* x, struct zx_attr_s* y); 1614 1615 1616 1617 1618 1619 #endif 1620 /* -------------------------- md_OrganizationName -------------------------- */ 1621 /* refby( zx_md_Organization_s ) */ 1622 #ifndef zx_md_OrganizationName_EXT 1623 #define zx_md_OrganizationName_EXT 1624 #endif 1625 struct zx_md_OrganizationName_s { 1626 ZX_ELEM_EXT 1627 zx_md_OrganizationName_EXT 1628 struct zx_attr_s* lang; /* {0,1} attribute xs:string */ 1629 }; 1630 1631 #define zx_NEW_md_OrganizationName(c, father) (struct zx_md_OrganizationName_s*)zx_new_elem((c),(father),zx_md_OrganizationName_ELEM) 1632 int zx_DEC_ATTR_md_OrganizationName(struct zx_ctx* c, struct zx_md_OrganizationName_s* x); 1633 int zx_DEC_ELEM_md_OrganizationName(struct zx_ctx* c, struct zx_md_OrganizationName_s* x); 1634 1635 #ifdef ZX_ENA_AUX 1636 struct zx_md_OrganizationName_s* zx_DEEP_CLONE_md_OrganizationName(struct zx_ctx* c, struct zx_md_OrganizationName_s* x, int dup_strs); 1637 void zx_DUP_STRS_md_OrganizationName(struct zx_ctx* c, struct zx_md_OrganizationName_s* x); 1638 int zx_WALK_SO_md_OrganizationName(struct zx_ctx* c, struct zx_md_OrganizationName_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1639 int zx_WALK_WO_md_OrganizationName(struct zx_ctx* c, struct zx_md_OrganizationName_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1640 #endif 1641 1642 #ifdef ZX_ENA_GETPUT 1643 struct zx_attr_s* zx_md_OrganizationName_GET_lang(struct zx_md_OrganizationName_s* x); 1644 1645 1646 1647 1648 1649 void zx_md_OrganizationName_PUT_lang(struct zx_md_OrganizationName_s* x, struct zx_attr_s* y); 1650 1651 1652 1653 1654 1655 #endif 1656 /* -------------------------- md_OrganizationURL -------------------------- */ 1657 /* refby( zx_md_Organization_s ) */ 1658 #ifndef zx_md_OrganizationURL_EXT 1659 #define zx_md_OrganizationURL_EXT 1660 #endif 1661 struct zx_md_OrganizationURL_s { 1662 ZX_ELEM_EXT 1663 zx_md_OrganizationURL_EXT 1664 struct zx_attr_s* lang; /* {0,1} attribute xs:string */ 1665 }; 1666 1667 #define zx_NEW_md_OrganizationURL(c, father) (struct zx_md_OrganizationURL_s*)zx_new_elem((c),(father),zx_md_OrganizationURL_ELEM) 1668 int zx_DEC_ATTR_md_OrganizationURL(struct zx_ctx* c, struct zx_md_OrganizationURL_s* x); 1669 int zx_DEC_ELEM_md_OrganizationURL(struct zx_ctx* c, struct zx_md_OrganizationURL_s* x); 1670 1671 #ifdef ZX_ENA_AUX 1672 struct zx_md_OrganizationURL_s* zx_DEEP_CLONE_md_OrganizationURL(struct zx_ctx* c, struct zx_md_OrganizationURL_s* x, int dup_strs); 1673 void zx_DUP_STRS_md_OrganizationURL(struct zx_ctx* c, struct zx_md_OrganizationURL_s* x); 1674 int zx_WALK_SO_md_OrganizationURL(struct zx_ctx* c, struct zx_md_OrganizationURL_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1675 int zx_WALK_WO_md_OrganizationURL(struct zx_ctx* c, struct zx_md_OrganizationURL_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1676 #endif 1677 1678 #ifdef ZX_ENA_GETPUT 1679 struct zx_attr_s* zx_md_OrganizationURL_GET_lang(struct zx_md_OrganizationURL_s* x); 1680 1681 1682 1683 1684 1685 void zx_md_OrganizationURL_PUT_lang(struct zx_md_OrganizationURL_s* x, struct zx_attr_s* y); 1686 1687 1688 1689 1690 1691 #endif 1692 /* -------------------------- md_PDPDescriptor -------------------------- */ 1693 /* refby( zx_md_EntityDescriptor_s ) */ 1694 #ifndef zx_md_PDPDescriptor_EXT 1695 #define zx_md_PDPDescriptor_EXT 1696 #endif 1697 struct zx_md_PDPDescriptor_s { 1698 ZX_ELEM_EXT 1699 zx_md_PDPDescriptor_EXT 1700 struct zx_ds_Signature_s* Signature; /* {0,1} nada */ 1701 struct zx_md_Extensions_s* Extensions; /* {0,1} nada */ 1702 struct zx_md_KeyDescriptor_s* KeyDescriptor; /* {0,-1} nada */ 1703 struct zx_md_Organization_s* Organization; /* {0,1} nada */ 1704 struct zx_md_ContactPerson_s* ContactPerson; /* {0,-1} nada */ 1705 struct zx_md_AuthzService_s* AuthzService; /* {1,-1} nada */ 1706 struct zx_md_AssertionIDRequestService_s* AssertionIDRequestService; /* {0,-1} nada */ 1707 struct zx_elem_s* NameIDFormat; /* {0,-1} xs:anyURI */ 1708 struct zx_attr_s* ID; /* {0,1} attribute xs:ID */ 1709 struct zx_attr_s* cacheDuration; /* {0,1} attribute xs:duration */ 1710 struct zx_attr_s* errorURL; /* {0,1} attribute xs:anyURI */ 1711 struct zx_attr_s* protocolSupportEnumeration; /* {1,1} attribute xs:string */ 1712 struct zx_attr_s* validUntil; /* {0,1} attribute xs:dateTime */ 1713 }; 1714 1715 #define zx_NEW_md_PDPDescriptor(c, father) (struct zx_md_PDPDescriptor_s*)zx_new_elem((c),(father),zx_md_PDPDescriptor_ELEM) 1716 int zx_DEC_ATTR_md_PDPDescriptor(struct zx_ctx* c, struct zx_md_PDPDescriptor_s* x); 1717 int zx_DEC_ELEM_md_PDPDescriptor(struct zx_ctx* c, struct zx_md_PDPDescriptor_s* x); 1718 1719 #ifdef ZX_ENA_AUX 1720 struct zx_md_PDPDescriptor_s* zx_DEEP_CLONE_md_PDPDescriptor(struct zx_ctx* c, struct zx_md_PDPDescriptor_s* x, int dup_strs); 1721 void zx_DUP_STRS_md_PDPDescriptor(struct zx_ctx* c, struct zx_md_PDPDescriptor_s* x); 1722 int zx_WALK_SO_md_PDPDescriptor(struct zx_ctx* c, struct zx_md_PDPDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1723 int zx_WALK_WO_md_PDPDescriptor(struct zx_ctx* c, struct zx_md_PDPDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1724 #endif 1725 1726 #ifdef ZX_ENA_GETPUT 1727 struct zx_attr_s* zx_md_PDPDescriptor_GET_ID(struct zx_md_PDPDescriptor_s* x); 1728 struct zx_attr_s* zx_md_PDPDescriptor_GET_cacheDuration(struct zx_md_PDPDescriptor_s* x); 1729 struct zx_attr_s* zx_md_PDPDescriptor_GET_errorURL(struct zx_md_PDPDescriptor_s* x); 1730 struct zx_attr_s* zx_md_PDPDescriptor_GET_protocolSupportEnumeration(struct zx_md_PDPDescriptor_s* x); 1731 struct zx_attr_s* zx_md_PDPDescriptor_GET_validUntil(struct zx_md_PDPDescriptor_s* x); 1732 1733 struct zx_ds_Signature_s* zx_md_PDPDescriptor_GET_Signature(struct zx_md_PDPDescriptor_s* x, int n); 1734 struct zx_md_Extensions_s* zx_md_PDPDescriptor_GET_Extensions(struct zx_md_PDPDescriptor_s* x, int n); 1735 struct zx_md_KeyDescriptor_s* zx_md_PDPDescriptor_GET_KeyDescriptor(struct zx_md_PDPDescriptor_s* x, int n); 1736 struct zx_md_Organization_s* zx_md_PDPDescriptor_GET_Organization(struct zx_md_PDPDescriptor_s* x, int n); 1737 struct zx_md_ContactPerson_s* zx_md_PDPDescriptor_GET_ContactPerson(struct zx_md_PDPDescriptor_s* x, int n); 1738 struct zx_md_AuthzService_s* zx_md_PDPDescriptor_GET_AuthzService(struct zx_md_PDPDescriptor_s* x, int n); 1739 struct zx_md_AssertionIDRequestService_s* zx_md_PDPDescriptor_GET_AssertionIDRequestService(struct zx_md_PDPDescriptor_s* x, int n); 1740 struct zx_elem_s* zx_md_PDPDescriptor_GET_NameIDFormat(struct zx_md_PDPDescriptor_s* x, int n); 1741 1742 int zx_md_PDPDescriptor_NUM_Signature(struct zx_md_PDPDescriptor_s* x); 1743 int zx_md_PDPDescriptor_NUM_Extensions(struct zx_md_PDPDescriptor_s* x); 1744 int zx_md_PDPDescriptor_NUM_KeyDescriptor(struct zx_md_PDPDescriptor_s* x); 1745 int zx_md_PDPDescriptor_NUM_Organization(struct zx_md_PDPDescriptor_s* x); 1746 int zx_md_PDPDescriptor_NUM_ContactPerson(struct zx_md_PDPDescriptor_s* x); 1747 int zx_md_PDPDescriptor_NUM_AuthzService(struct zx_md_PDPDescriptor_s* x); 1748 int zx_md_PDPDescriptor_NUM_AssertionIDRequestService(struct zx_md_PDPDescriptor_s* x); 1749 int zx_md_PDPDescriptor_NUM_NameIDFormat(struct zx_md_PDPDescriptor_s* x); 1750 1751 struct zx_ds_Signature_s* zx_md_PDPDescriptor_POP_Signature(struct zx_md_PDPDescriptor_s* x); 1752 struct zx_md_Extensions_s* zx_md_PDPDescriptor_POP_Extensions(struct zx_md_PDPDescriptor_s* x); 1753 struct zx_md_KeyDescriptor_s* zx_md_PDPDescriptor_POP_KeyDescriptor(struct zx_md_PDPDescriptor_s* x); 1754 struct zx_md_Organization_s* zx_md_PDPDescriptor_POP_Organization(struct zx_md_PDPDescriptor_s* x); 1755 struct zx_md_ContactPerson_s* zx_md_PDPDescriptor_POP_ContactPerson(struct zx_md_PDPDescriptor_s* x); 1756 struct zx_md_AuthzService_s* zx_md_PDPDescriptor_POP_AuthzService(struct zx_md_PDPDescriptor_s* x); 1757 struct zx_md_AssertionIDRequestService_s* zx_md_PDPDescriptor_POP_AssertionIDRequestService(struct zx_md_PDPDescriptor_s* x); 1758 struct zx_elem_s* zx_md_PDPDescriptor_POP_NameIDFormat(struct zx_md_PDPDescriptor_s* x); 1759 1760 void zx_md_PDPDescriptor_PUSH_Signature(struct zx_md_PDPDescriptor_s* x, struct zx_ds_Signature_s* y); 1761 void zx_md_PDPDescriptor_PUSH_Extensions(struct zx_md_PDPDescriptor_s* x, struct zx_md_Extensions_s* y); 1762 void zx_md_PDPDescriptor_PUSH_KeyDescriptor(struct zx_md_PDPDescriptor_s* x, struct zx_md_KeyDescriptor_s* y); 1763 void zx_md_PDPDescriptor_PUSH_Organization(struct zx_md_PDPDescriptor_s* x, struct zx_md_Organization_s* y); 1764 void zx_md_PDPDescriptor_PUSH_ContactPerson(struct zx_md_PDPDescriptor_s* x, struct zx_md_ContactPerson_s* y); 1765 void zx_md_PDPDescriptor_PUSH_AuthzService(struct zx_md_PDPDescriptor_s* x, struct zx_md_AuthzService_s* y); 1766 void zx_md_PDPDescriptor_PUSH_AssertionIDRequestService(struct zx_md_PDPDescriptor_s* x, struct zx_md_AssertionIDRequestService_s* y); 1767 void zx_md_PDPDescriptor_PUSH_NameIDFormat(struct zx_md_PDPDescriptor_s* x, struct zx_elem_s* y); 1768 1769 void zx_md_PDPDescriptor_PUT_ID(struct zx_md_PDPDescriptor_s* x, struct zx_attr_s* y); 1770 void zx_md_PDPDescriptor_PUT_cacheDuration(struct zx_md_PDPDescriptor_s* x, struct zx_attr_s* y); 1771 void zx_md_PDPDescriptor_PUT_errorURL(struct zx_md_PDPDescriptor_s* x, struct zx_attr_s* y); 1772 void zx_md_PDPDescriptor_PUT_protocolSupportEnumeration(struct zx_md_PDPDescriptor_s* x, struct zx_attr_s* y); 1773 void zx_md_PDPDescriptor_PUT_validUntil(struct zx_md_PDPDescriptor_s* x, struct zx_attr_s* y); 1774 1775 void zx_md_PDPDescriptor_PUT_Signature(struct zx_md_PDPDescriptor_s* x, int n, struct zx_ds_Signature_s* y); 1776 void zx_md_PDPDescriptor_PUT_Extensions(struct zx_md_PDPDescriptor_s* x, int n, struct zx_md_Extensions_s* y); 1777 void zx_md_PDPDescriptor_PUT_KeyDescriptor(struct zx_md_PDPDescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* y); 1778 void zx_md_PDPDescriptor_PUT_Organization(struct zx_md_PDPDescriptor_s* x, int n, struct zx_md_Organization_s* y); 1779 void zx_md_PDPDescriptor_PUT_ContactPerson(struct zx_md_PDPDescriptor_s* x, int n, struct zx_md_ContactPerson_s* y); 1780 void zx_md_PDPDescriptor_PUT_AuthzService(struct zx_md_PDPDescriptor_s* x, int n, struct zx_md_AuthzService_s* y); 1781 void zx_md_PDPDescriptor_PUT_AssertionIDRequestService(struct zx_md_PDPDescriptor_s* x, int n, struct zx_md_AssertionIDRequestService_s* y); 1782 void zx_md_PDPDescriptor_PUT_NameIDFormat(struct zx_md_PDPDescriptor_s* x, int n, struct zx_elem_s* y); 1783 1784 void zx_md_PDPDescriptor_ADD_Signature(struct zx_md_PDPDescriptor_s* x, int n, struct zx_ds_Signature_s* z); 1785 void zx_md_PDPDescriptor_ADD_Extensions(struct zx_md_PDPDescriptor_s* x, int n, struct zx_md_Extensions_s* z); 1786 void zx_md_PDPDescriptor_ADD_KeyDescriptor(struct zx_md_PDPDescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* z); 1787 void zx_md_PDPDescriptor_ADD_Organization(struct zx_md_PDPDescriptor_s* x, int n, struct zx_md_Organization_s* z); 1788 void zx_md_PDPDescriptor_ADD_ContactPerson(struct zx_md_PDPDescriptor_s* x, int n, struct zx_md_ContactPerson_s* z); 1789 void zx_md_PDPDescriptor_ADD_AuthzService(struct zx_md_PDPDescriptor_s* x, int n, struct zx_md_AuthzService_s* z); 1790 void zx_md_PDPDescriptor_ADD_AssertionIDRequestService(struct zx_md_PDPDescriptor_s* x, int n, struct zx_md_AssertionIDRequestService_s* z); 1791 void zx_md_PDPDescriptor_ADD_NameIDFormat(struct zx_md_PDPDescriptor_s* x, int n, struct zx_elem_s* z); 1792 1793 void zx_md_PDPDescriptor_DEL_Signature(struct zx_md_PDPDescriptor_s* x, int n); 1794 void zx_md_PDPDescriptor_DEL_Extensions(struct zx_md_PDPDescriptor_s* x, int n); 1795 void zx_md_PDPDescriptor_DEL_KeyDescriptor(struct zx_md_PDPDescriptor_s* x, int n); 1796 void zx_md_PDPDescriptor_DEL_Organization(struct zx_md_PDPDescriptor_s* x, int n); 1797 void zx_md_PDPDescriptor_DEL_ContactPerson(struct zx_md_PDPDescriptor_s* x, int n); 1798 void zx_md_PDPDescriptor_DEL_AuthzService(struct zx_md_PDPDescriptor_s* x, int n); 1799 void zx_md_PDPDescriptor_DEL_AssertionIDRequestService(struct zx_md_PDPDescriptor_s* x, int n); 1800 void zx_md_PDPDescriptor_DEL_NameIDFormat(struct zx_md_PDPDescriptor_s* x,int n); 1801 1802 void zx_md_PDPDescriptor_REV_Signature(struct zx_md_PDPDescriptor_s* x); 1803 void zx_md_PDPDescriptor_REV_Extensions(struct zx_md_PDPDescriptor_s* x); 1804 void zx_md_PDPDescriptor_REV_KeyDescriptor(struct zx_md_PDPDescriptor_s* x); 1805 void zx_md_PDPDescriptor_REV_Organization(struct zx_md_PDPDescriptor_s* x); 1806 void zx_md_PDPDescriptor_REV_ContactPerson(struct zx_md_PDPDescriptor_s* x); 1807 void zx_md_PDPDescriptor_REV_AuthzService(struct zx_md_PDPDescriptor_s* x); 1808 void zx_md_PDPDescriptor_REV_AssertionIDRequestService(struct zx_md_PDPDescriptor_s* x); 1809 void zx_md_PDPDescriptor_REV_NameIDFormat(struct zx_md_PDPDescriptor_s* x); 1810 1811 #endif 1812 /* -------------------------- md_RequestedAttribute -------------------------- */ 1813 /* refby( zx_md_AttributeConsumingService_s ) */ 1814 #ifndef zx_md_RequestedAttribute_EXT 1815 #define zx_md_RequestedAttribute_EXT 1816 #endif 1817 struct zx_md_RequestedAttribute_s { 1818 ZX_ELEM_EXT 1819 zx_md_RequestedAttribute_EXT 1820 struct zx_sa_AttributeValue_s* AttributeValue; /* {0,-1} nada */ 1821 struct zx_attr_s* FriendlyName; /* {0,1} attribute xs:string */ 1822 struct zx_attr_s* Name; /* {1,1} attribute xs:anyURI */ 1823 struct zx_attr_s* NameFormat; /* {0,1} attribute xs:anyURI */ 1824 struct zx_attr_s* isRequired; /* {0,1} attribute xs:boolean */ 1825 }; 1826 1827 #define zx_NEW_md_RequestedAttribute(c, father) (struct zx_md_RequestedAttribute_s*)zx_new_elem((c),(father),zx_md_RequestedAttribute_ELEM) 1828 int zx_DEC_ATTR_md_RequestedAttribute(struct zx_ctx* c, struct zx_md_RequestedAttribute_s* x); 1829 int zx_DEC_ELEM_md_RequestedAttribute(struct zx_ctx* c, struct zx_md_RequestedAttribute_s* x); 1830 1831 #ifdef ZX_ENA_AUX 1832 struct zx_md_RequestedAttribute_s* zx_DEEP_CLONE_md_RequestedAttribute(struct zx_ctx* c, struct zx_md_RequestedAttribute_s* x, int dup_strs); 1833 void zx_DUP_STRS_md_RequestedAttribute(struct zx_ctx* c, struct zx_md_RequestedAttribute_s* x); 1834 int zx_WALK_SO_md_RequestedAttribute(struct zx_ctx* c, struct zx_md_RequestedAttribute_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1835 int zx_WALK_WO_md_RequestedAttribute(struct zx_ctx* c, struct zx_md_RequestedAttribute_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1836 #endif 1837 1838 #ifdef ZX_ENA_GETPUT 1839 struct zx_attr_s* zx_md_RequestedAttribute_GET_FriendlyName(struct zx_md_RequestedAttribute_s* x); 1840 struct zx_attr_s* zx_md_RequestedAttribute_GET_Name(struct zx_md_RequestedAttribute_s* x); 1841 struct zx_attr_s* zx_md_RequestedAttribute_GET_NameFormat(struct zx_md_RequestedAttribute_s* x); 1842 struct zx_attr_s* zx_md_RequestedAttribute_GET_isRequired(struct zx_md_RequestedAttribute_s* x); 1843 1844 struct zx_sa_AttributeValue_s* zx_md_RequestedAttribute_GET_AttributeValue(struct zx_md_RequestedAttribute_s* x, int n); 1845 1846 int zx_md_RequestedAttribute_NUM_AttributeValue(struct zx_md_RequestedAttribute_s* x); 1847 1848 struct zx_sa_AttributeValue_s* zx_md_RequestedAttribute_POP_AttributeValue(struct zx_md_RequestedAttribute_s* x); 1849 1850 void zx_md_RequestedAttribute_PUSH_AttributeValue(struct zx_md_RequestedAttribute_s* x, struct zx_sa_AttributeValue_s* y); 1851 1852 void zx_md_RequestedAttribute_PUT_FriendlyName(struct zx_md_RequestedAttribute_s* x, struct zx_attr_s* y); 1853 void zx_md_RequestedAttribute_PUT_Name(struct zx_md_RequestedAttribute_s* x, struct zx_attr_s* y); 1854 void zx_md_RequestedAttribute_PUT_NameFormat(struct zx_md_RequestedAttribute_s* x, struct zx_attr_s* y); 1855 void zx_md_RequestedAttribute_PUT_isRequired(struct zx_md_RequestedAttribute_s* x, struct zx_attr_s* y); 1856 1857 void zx_md_RequestedAttribute_PUT_AttributeValue(struct zx_md_RequestedAttribute_s* x, int n, struct zx_sa_AttributeValue_s* y); 1858 1859 void zx_md_RequestedAttribute_ADD_AttributeValue(struct zx_md_RequestedAttribute_s* x, int n, struct zx_sa_AttributeValue_s* z); 1860 1861 void zx_md_RequestedAttribute_DEL_AttributeValue(struct zx_md_RequestedAttribute_s* x, int n); 1862 1863 void zx_md_RequestedAttribute_REV_AttributeValue(struct zx_md_RequestedAttribute_s* x); 1864 1865 #endif 1866 /* -------------------------- md_RoleDescriptor -------------------------- */ 1867 /* refby( zx_md_EntityDescriptor_s ) */ 1868 #ifndef zx_md_RoleDescriptor_EXT 1869 #define zx_md_RoleDescriptor_EXT 1870 #endif 1871 struct zx_md_RoleDescriptor_s { 1872 ZX_ELEM_EXT 1873 zx_md_RoleDescriptor_EXT 1874 struct zx_ds_Signature_s* Signature; /* {0,1} nada */ 1875 struct zx_md_Extensions_s* Extensions; /* {0,1} nada */ 1876 struct zx_md_KeyDescriptor_s* KeyDescriptor; /* {0,-1} nada */ 1877 struct zx_md_Organization_s* Organization; /* {0,1} nada */ 1878 struct zx_md_ContactPerson_s* ContactPerson; /* {0,-1} nada */ 1879 struct zx_attr_s* ID; /* {0,1} attribute xs:ID */ 1880 struct zx_attr_s* cacheDuration; /* {0,1} attribute xs:duration */ 1881 struct zx_attr_s* errorURL; /* {0,1} attribute xs:anyURI */ 1882 struct zx_attr_s* protocolSupportEnumeration; /* {1,1} attribute xs:string */ 1883 struct zx_attr_s* validUntil; /* {0,1} attribute xs:dateTime */ 1884 }; 1885 1886 #define zx_NEW_md_RoleDescriptor(c, father) (struct zx_md_RoleDescriptor_s*)zx_new_elem((c),(father),zx_md_RoleDescriptor_ELEM) 1887 int zx_DEC_ATTR_md_RoleDescriptor(struct zx_ctx* c, struct zx_md_RoleDescriptor_s* x); 1888 int zx_DEC_ELEM_md_RoleDescriptor(struct zx_ctx* c, struct zx_md_RoleDescriptor_s* x); 1889 1890 #ifdef ZX_ENA_AUX 1891 struct zx_md_RoleDescriptor_s* zx_DEEP_CLONE_md_RoleDescriptor(struct zx_ctx* c, struct zx_md_RoleDescriptor_s* x, int dup_strs); 1892 void zx_DUP_STRS_md_RoleDescriptor(struct zx_ctx* c, struct zx_md_RoleDescriptor_s* x); 1893 int zx_WALK_SO_md_RoleDescriptor(struct zx_ctx* c, struct zx_md_RoleDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1894 int zx_WALK_WO_md_RoleDescriptor(struct zx_ctx* c, struct zx_md_RoleDescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1895 #endif 1896 1897 #ifdef ZX_ENA_GETPUT 1898 struct zx_attr_s* zx_md_RoleDescriptor_GET_ID(struct zx_md_RoleDescriptor_s* x); 1899 struct zx_attr_s* zx_md_RoleDescriptor_GET_cacheDuration(struct zx_md_RoleDescriptor_s* x); 1900 struct zx_attr_s* zx_md_RoleDescriptor_GET_errorURL(struct zx_md_RoleDescriptor_s* x); 1901 struct zx_attr_s* zx_md_RoleDescriptor_GET_protocolSupportEnumeration(struct zx_md_RoleDescriptor_s* x); 1902 struct zx_attr_s* zx_md_RoleDescriptor_GET_validUntil(struct zx_md_RoleDescriptor_s* x); 1903 1904 struct zx_ds_Signature_s* zx_md_RoleDescriptor_GET_Signature(struct zx_md_RoleDescriptor_s* x, int n); 1905 struct zx_md_Extensions_s* zx_md_RoleDescriptor_GET_Extensions(struct zx_md_RoleDescriptor_s* x, int n); 1906 struct zx_md_KeyDescriptor_s* zx_md_RoleDescriptor_GET_KeyDescriptor(struct zx_md_RoleDescriptor_s* x, int n); 1907 struct zx_md_Organization_s* zx_md_RoleDescriptor_GET_Organization(struct zx_md_RoleDescriptor_s* x, int n); 1908 struct zx_md_ContactPerson_s* zx_md_RoleDescriptor_GET_ContactPerson(struct zx_md_RoleDescriptor_s* x, int n); 1909 1910 int zx_md_RoleDescriptor_NUM_Signature(struct zx_md_RoleDescriptor_s* x); 1911 int zx_md_RoleDescriptor_NUM_Extensions(struct zx_md_RoleDescriptor_s* x); 1912 int zx_md_RoleDescriptor_NUM_KeyDescriptor(struct zx_md_RoleDescriptor_s* x); 1913 int zx_md_RoleDescriptor_NUM_Organization(struct zx_md_RoleDescriptor_s* x); 1914 int zx_md_RoleDescriptor_NUM_ContactPerson(struct zx_md_RoleDescriptor_s* x); 1915 1916 struct zx_ds_Signature_s* zx_md_RoleDescriptor_POP_Signature(struct zx_md_RoleDescriptor_s* x); 1917 struct zx_md_Extensions_s* zx_md_RoleDescriptor_POP_Extensions(struct zx_md_RoleDescriptor_s* x); 1918 struct zx_md_KeyDescriptor_s* zx_md_RoleDescriptor_POP_KeyDescriptor(struct zx_md_RoleDescriptor_s* x); 1919 struct zx_md_Organization_s* zx_md_RoleDescriptor_POP_Organization(struct zx_md_RoleDescriptor_s* x); 1920 struct zx_md_ContactPerson_s* zx_md_RoleDescriptor_POP_ContactPerson(struct zx_md_RoleDescriptor_s* x); 1921 1922 void zx_md_RoleDescriptor_PUSH_Signature(struct zx_md_RoleDescriptor_s* x, struct zx_ds_Signature_s* y); 1923 void zx_md_RoleDescriptor_PUSH_Extensions(struct zx_md_RoleDescriptor_s* x, struct zx_md_Extensions_s* y); 1924 void zx_md_RoleDescriptor_PUSH_KeyDescriptor(struct zx_md_RoleDescriptor_s* x, struct zx_md_KeyDescriptor_s* y); 1925 void zx_md_RoleDescriptor_PUSH_Organization(struct zx_md_RoleDescriptor_s* x, struct zx_md_Organization_s* y); 1926 void zx_md_RoleDescriptor_PUSH_ContactPerson(struct zx_md_RoleDescriptor_s* x, struct zx_md_ContactPerson_s* y); 1927 1928 void zx_md_RoleDescriptor_PUT_ID(struct zx_md_RoleDescriptor_s* x, struct zx_attr_s* y); 1929 void zx_md_RoleDescriptor_PUT_cacheDuration(struct zx_md_RoleDescriptor_s* x, struct zx_attr_s* y); 1930 void zx_md_RoleDescriptor_PUT_errorURL(struct zx_md_RoleDescriptor_s* x, struct zx_attr_s* y); 1931 void zx_md_RoleDescriptor_PUT_protocolSupportEnumeration(struct zx_md_RoleDescriptor_s* x, struct zx_attr_s* y); 1932 void zx_md_RoleDescriptor_PUT_validUntil(struct zx_md_RoleDescriptor_s* x, struct zx_attr_s* y); 1933 1934 void zx_md_RoleDescriptor_PUT_Signature(struct zx_md_RoleDescriptor_s* x, int n, struct zx_ds_Signature_s* y); 1935 void zx_md_RoleDescriptor_PUT_Extensions(struct zx_md_RoleDescriptor_s* x, int n, struct zx_md_Extensions_s* y); 1936 void zx_md_RoleDescriptor_PUT_KeyDescriptor(struct zx_md_RoleDescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* y); 1937 void zx_md_RoleDescriptor_PUT_Organization(struct zx_md_RoleDescriptor_s* x, int n, struct zx_md_Organization_s* y); 1938 void zx_md_RoleDescriptor_PUT_ContactPerson(struct zx_md_RoleDescriptor_s* x, int n, struct zx_md_ContactPerson_s* y); 1939 1940 void zx_md_RoleDescriptor_ADD_Signature(struct zx_md_RoleDescriptor_s* x, int n, struct zx_ds_Signature_s* z); 1941 void zx_md_RoleDescriptor_ADD_Extensions(struct zx_md_RoleDescriptor_s* x, int n, struct zx_md_Extensions_s* z); 1942 void zx_md_RoleDescriptor_ADD_KeyDescriptor(struct zx_md_RoleDescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* z); 1943 void zx_md_RoleDescriptor_ADD_Organization(struct zx_md_RoleDescriptor_s* x, int n, struct zx_md_Organization_s* z); 1944 void zx_md_RoleDescriptor_ADD_ContactPerson(struct zx_md_RoleDescriptor_s* x, int n, struct zx_md_ContactPerson_s* z); 1945 1946 void zx_md_RoleDescriptor_DEL_Signature(struct zx_md_RoleDescriptor_s* x, int n); 1947 void zx_md_RoleDescriptor_DEL_Extensions(struct zx_md_RoleDescriptor_s* x, int n); 1948 void zx_md_RoleDescriptor_DEL_KeyDescriptor(struct zx_md_RoleDescriptor_s* x, int n); 1949 void zx_md_RoleDescriptor_DEL_Organization(struct zx_md_RoleDescriptor_s* x, int n); 1950 void zx_md_RoleDescriptor_DEL_ContactPerson(struct zx_md_RoleDescriptor_s* x, int n); 1951 1952 void zx_md_RoleDescriptor_REV_Signature(struct zx_md_RoleDescriptor_s* x); 1953 void zx_md_RoleDescriptor_REV_Extensions(struct zx_md_RoleDescriptor_s* x); 1954 void zx_md_RoleDescriptor_REV_KeyDescriptor(struct zx_md_RoleDescriptor_s* x); 1955 void zx_md_RoleDescriptor_REV_Organization(struct zx_md_RoleDescriptor_s* x); 1956 void zx_md_RoleDescriptor_REV_ContactPerson(struct zx_md_RoleDescriptor_s* x); 1957 1958 #endif 1959 /* -------------------------- md_SPSSODescriptor -------------------------- */ 1960 /* refby( zx_md_EntityDescriptor_s ) */ 1961 #ifndef zx_md_SPSSODescriptor_EXT 1962 #define zx_md_SPSSODescriptor_EXT 1963 #endif 1964 struct zx_md_SPSSODescriptor_s { 1965 ZX_ELEM_EXT 1966 zx_md_SPSSODescriptor_EXT 1967 struct zx_ds_Signature_s* Signature; /* {0,1} nada */ 1968 struct zx_md_Extensions_s* Extensions; /* {0,1} nada */ 1969 struct zx_md_KeyDescriptor_s* KeyDescriptor; /* {0,-1} nada */ 1970 struct zx_md_Organization_s* Organization; /* {0,1} nada */ 1971 struct zx_md_ContactPerson_s* ContactPerson; /* {0,-1} nada */ 1972 struct zx_md_ArtifactResolutionService_s* ArtifactResolutionService; /* {0,-1} nada */ 1973 struct zx_md_SingleLogoutService_s* SingleLogoutService; /* {0,-1} nada */ 1974 struct zx_md_ManageNameIDService_s* ManageNameIDService; /* {0,-1} nada */ 1975 struct zx_elem_s* NameIDFormat; /* {0,-1} xs:anyURI */ 1976 struct zx_md_AssertionConsumerService_s* AssertionConsumerService; /* {1,-1} nada */ 1977 struct zx_md_AttributeConsumingService_s* AttributeConsumingService; /* {0,-1} nada */ 1978 struct zx_attr_s* AuthnRequestsSigned; /* {0,1} attribute xs:boolean */ 1979 struct zx_attr_s* ID; /* {0,1} attribute xs:ID */ 1980 struct zx_attr_s* WantAssertionsSigned; /* {0,1} attribute xs:boolean */ 1981 struct zx_attr_s* cacheDuration; /* {0,1} attribute xs:duration */ 1982 struct zx_attr_s* errorURL; /* {0,1} attribute xs:anyURI */ 1983 struct zx_attr_s* protocolSupportEnumeration; /* {1,1} attribute xs:string */ 1984 struct zx_attr_s* validUntil; /* {0,1} attribute xs:dateTime */ 1985 }; 1986 1987 #define zx_NEW_md_SPSSODescriptor(c, father) (struct zx_md_SPSSODescriptor_s*)zx_new_elem((c),(father),zx_md_SPSSODescriptor_ELEM) 1988 int zx_DEC_ATTR_md_SPSSODescriptor(struct zx_ctx* c, struct zx_md_SPSSODescriptor_s* x); 1989 int zx_DEC_ELEM_md_SPSSODescriptor(struct zx_ctx* c, struct zx_md_SPSSODescriptor_s* x); 1990 1991 #ifdef ZX_ENA_AUX 1992 struct zx_md_SPSSODescriptor_s* zx_DEEP_CLONE_md_SPSSODescriptor(struct zx_ctx* c, struct zx_md_SPSSODescriptor_s* x, int dup_strs); 1993 void zx_DUP_STRS_md_SPSSODescriptor(struct zx_ctx* c, struct zx_md_SPSSODescriptor_s* x); 1994 int zx_WALK_SO_md_SPSSODescriptor(struct zx_ctx* c, struct zx_md_SPSSODescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1995 int zx_WALK_WO_md_SPSSODescriptor(struct zx_ctx* c, struct zx_md_SPSSODescriptor_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1996 #endif 1997 1998 #ifdef ZX_ENA_GETPUT 1999 struct zx_attr_s* zx_md_SPSSODescriptor_GET_AuthnRequestsSigned(struct zx_md_SPSSODescriptor_s* x); 2000 struct zx_attr_s* zx_md_SPSSODescriptor_GET_ID(struct zx_md_SPSSODescriptor_s* x); 2001 struct zx_attr_s* zx_md_SPSSODescriptor_GET_WantAssertionsSigned(struct zx_md_SPSSODescriptor_s* x); 2002 struct zx_attr_s* zx_md_SPSSODescriptor_GET_cacheDuration(struct zx_md_SPSSODescriptor_s* x); 2003 struct zx_attr_s* zx_md_SPSSODescriptor_GET_errorURL(struct zx_md_SPSSODescriptor_s* x); 2004 struct zx_attr_s* zx_md_SPSSODescriptor_GET_protocolSupportEnumeration(struct zx_md_SPSSODescriptor_s* x); 2005 struct zx_attr_s* zx_md_SPSSODescriptor_GET_validUntil(struct zx_md_SPSSODescriptor_s* x); 2006 2007 struct zx_ds_Signature_s* zx_md_SPSSODescriptor_GET_Signature(struct zx_md_SPSSODescriptor_s* x, int n); 2008 struct zx_md_Extensions_s* zx_md_SPSSODescriptor_GET_Extensions(struct zx_md_SPSSODescriptor_s* x, int n); 2009 struct zx_md_KeyDescriptor_s* zx_md_SPSSODescriptor_GET_KeyDescriptor(struct zx_md_SPSSODescriptor_s* x, int n); 2010 struct zx_md_Organization_s* zx_md_SPSSODescriptor_GET_Organization(struct zx_md_SPSSODescriptor_s* x, int n); 2011 struct zx_md_ContactPerson_s* zx_md_SPSSODescriptor_GET_ContactPerson(struct zx_md_SPSSODescriptor_s* x, int n); 2012 struct zx_md_ArtifactResolutionService_s* zx_md_SPSSODescriptor_GET_ArtifactResolutionService(struct zx_md_SPSSODescriptor_s* x, int n); 2013 struct zx_md_SingleLogoutService_s* zx_md_SPSSODescriptor_GET_SingleLogoutService(struct zx_md_SPSSODescriptor_s* x, int n); 2014 struct zx_md_ManageNameIDService_s* zx_md_SPSSODescriptor_GET_ManageNameIDService(struct zx_md_SPSSODescriptor_s* x, int n); 2015 struct zx_elem_s* zx_md_SPSSODescriptor_GET_NameIDFormat(struct zx_md_SPSSODescriptor_s* x, int n); 2016 struct zx_md_AssertionConsumerService_s* zx_md_SPSSODescriptor_GET_AssertionConsumerService(struct zx_md_SPSSODescriptor_s* x, int n); 2017 struct zx_md_AttributeConsumingService_s* zx_md_SPSSODescriptor_GET_AttributeConsumingService(struct zx_md_SPSSODescriptor_s* x, int n); 2018 2019 int zx_md_SPSSODescriptor_NUM_Signature(struct zx_md_SPSSODescriptor_s* x); 2020 int zx_md_SPSSODescriptor_NUM_Extensions(struct zx_md_SPSSODescriptor_s* x); 2021 int zx_md_SPSSODescriptor_NUM_KeyDescriptor(struct zx_md_SPSSODescriptor_s* x); 2022 int zx_md_SPSSODescriptor_NUM_Organization(struct zx_md_SPSSODescriptor_s* x); 2023 int zx_md_SPSSODescriptor_NUM_ContactPerson(struct zx_md_SPSSODescriptor_s* x); 2024 int zx_md_SPSSODescriptor_NUM_ArtifactResolutionService(struct zx_md_SPSSODescriptor_s* x); 2025 int zx_md_SPSSODescriptor_NUM_SingleLogoutService(struct zx_md_SPSSODescriptor_s* x); 2026 int zx_md_SPSSODescriptor_NUM_ManageNameIDService(struct zx_md_SPSSODescriptor_s* x); 2027 int zx_md_SPSSODescriptor_NUM_NameIDFormat(struct zx_md_SPSSODescriptor_s* x); 2028 int zx_md_SPSSODescriptor_NUM_AssertionConsumerService(struct zx_md_SPSSODescriptor_s* x); 2029 int zx_md_SPSSODescriptor_NUM_AttributeConsumingService(struct zx_md_SPSSODescriptor_s* x); 2030 2031 struct zx_ds_Signature_s* zx_md_SPSSODescriptor_POP_Signature(struct zx_md_SPSSODescriptor_s* x); 2032 struct zx_md_Extensions_s* zx_md_SPSSODescriptor_POP_Extensions(struct zx_md_SPSSODescriptor_s* x); 2033 struct zx_md_KeyDescriptor_s* zx_md_SPSSODescriptor_POP_KeyDescriptor(struct zx_md_SPSSODescriptor_s* x); 2034 struct zx_md_Organization_s* zx_md_SPSSODescriptor_POP_Organization(struct zx_md_SPSSODescriptor_s* x); 2035 struct zx_md_ContactPerson_s* zx_md_SPSSODescriptor_POP_ContactPerson(struct zx_md_SPSSODescriptor_s* x); 2036 struct zx_md_ArtifactResolutionService_s* zx_md_SPSSODescriptor_POP_ArtifactResolutionService(struct zx_md_SPSSODescriptor_s* x); 2037 struct zx_md_SingleLogoutService_s* zx_md_SPSSODescriptor_POP_SingleLogoutService(struct zx_md_SPSSODescriptor_s* x); 2038 struct zx_md_ManageNameIDService_s* zx_md_SPSSODescriptor_POP_ManageNameIDService(struct zx_md_SPSSODescriptor_s* x); 2039 struct zx_elem_s* zx_md_SPSSODescriptor_POP_NameIDFormat(struct zx_md_SPSSODescriptor_s* x); 2040 struct zx_md_AssertionConsumerService_s* zx_md_SPSSODescriptor_POP_AssertionConsumerService(struct zx_md_SPSSODescriptor_s* x); 2041 struct zx_md_AttributeConsumingService_s* zx_md_SPSSODescriptor_POP_AttributeConsumingService(struct zx_md_SPSSODescriptor_s* x); 2042 2043 void zx_md_SPSSODescriptor_PUSH_Signature(struct zx_md_SPSSODescriptor_s* x, struct zx_ds_Signature_s* y); 2044 void zx_md_SPSSODescriptor_PUSH_Extensions(struct zx_md_SPSSODescriptor_s* x, struct zx_md_Extensions_s* y); 2045 void zx_md_SPSSODescriptor_PUSH_KeyDescriptor(struct zx_md_SPSSODescriptor_s* x, struct zx_md_KeyDescriptor_s* y); 2046 void zx_md_SPSSODescriptor_PUSH_Organization(struct zx_md_SPSSODescriptor_s* x, struct zx_md_Organization_s* y); 2047 void zx_md_SPSSODescriptor_PUSH_ContactPerson(struct zx_md_SPSSODescriptor_s* x, struct zx_md_ContactPerson_s* y); 2048 void zx_md_SPSSODescriptor_PUSH_ArtifactResolutionService(struct zx_md_SPSSODescriptor_s* x, struct zx_md_ArtifactResolutionService_s* y); 2049 void zx_md_SPSSODescriptor_PUSH_SingleLogoutService(struct zx_md_SPSSODescriptor_s* x, struct zx_md_SingleLogoutService_s* y); 2050 void zx_md_SPSSODescriptor_PUSH_ManageNameIDService(struct zx_md_SPSSODescriptor_s* x, struct zx_md_ManageNameIDService_s* y); 2051 void zx_md_SPSSODescriptor_PUSH_NameIDFormat(struct zx_md_SPSSODescriptor_s* x, struct zx_elem_s* y); 2052 void zx_md_SPSSODescriptor_PUSH_AssertionConsumerService(struct zx_md_SPSSODescriptor_s* x, struct zx_md_AssertionConsumerService_s* y); 2053 void zx_md_SPSSODescriptor_PUSH_AttributeConsumingService(struct zx_md_SPSSODescriptor_s* x, struct zx_md_AttributeConsumingService_s* y); 2054 2055 void zx_md_SPSSODescriptor_PUT_AuthnRequestsSigned(struct zx_md_SPSSODescriptor_s* x, struct zx_attr_s* y); 2056 void zx_md_SPSSODescriptor_PUT_ID(struct zx_md_SPSSODescriptor_s* x, struct zx_attr_s* y); 2057 void zx_md_SPSSODescriptor_PUT_WantAssertionsSigned(struct zx_md_SPSSODescriptor_s* x, struct zx_attr_s* y); 2058 void zx_md_SPSSODescriptor_PUT_cacheDuration(struct zx_md_SPSSODescriptor_s* x, struct zx_attr_s* y); 2059 void zx_md_SPSSODescriptor_PUT_errorURL(struct zx_md_SPSSODescriptor_s* x, struct zx_attr_s* y); 2060 void zx_md_SPSSODescriptor_PUT_protocolSupportEnumeration(struct zx_md_SPSSODescriptor_s* x, struct zx_attr_s* y); 2061 void zx_md_SPSSODescriptor_PUT_validUntil(struct zx_md_SPSSODescriptor_s* x, struct zx_attr_s* y); 2062 2063 void zx_md_SPSSODescriptor_PUT_Signature(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_ds_Signature_s* y); 2064 void zx_md_SPSSODescriptor_PUT_Extensions(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_Extensions_s* y); 2065 void zx_md_SPSSODescriptor_PUT_KeyDescriptor(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* y); 2066 void zx_md_SPSSODescriptor_PUT_Organization(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_Organization_s* y); 2067 void zx_md_SPSSODescriptor_PUT_ContactPerson(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_ContactPerson_s* y); 2068 void zx_md_SPSSODescriptor_PUT_ArtifactResolutionService(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_ArtifactResolutionService_s* y); 2069 void zx_md_SPSSODescriptor_PUT_SingleLogoutService(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_SingleLogoutService_s* y); 2070 void zx_md_SPSSODescriptor_PUT_ManageNameIDService(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_ManageNameIDService_s* y); 2071 void zx_md_SPSSODescriptor_PUT_NameIDFormat(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_elem_s* y); 2072 void zx_md_SPSSODescriptor_PUT_AssertionConsumerService(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_AssertionConsumerService_s* y); 2073 void zx_md_SPSSODescriptor_PUT_AttributeConsumingService(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_AttributeConsumingService_s* y); 2074 2075 void zx_md_SPSSODescriptor_ADD_Signature(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_ds_Signature_s* z); 2076 void zx_md_SPSSODescriptor_ADD_Extensions(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_Extensions_s* z); 2077 void zx_md_SPSSODescriptor_ADD_KeyDescriptor(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_KeyDescriptor_s* z); 2078 void zx_md_SPSSODescriptor_ADD_Organization(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_Organization_s* z); 2079 void zx_md_SPSSODescriptor_ADD_ContactPerson(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_ContactPerson_s* z); 2080 void zx_md_SPSSODescriptor_ADD_ArtifactResolutionService(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_ArtifactResolutionService_s* z); 2081 void zx_md_SPSSODescriptor_ADD_SingleLogoutService(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_SingleLogoutService_s* z); 2082 void zx_md_SPSSODescriptor_ADD_ManageNameIDService(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_ManageNameIDService_s* z); 2083 void zx_md_SPSSODescriptor_ADD_NameIDFormat(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_elem_s* z); 2084 void zx_md_SPSSODescriptor_ADD_AssertionConsumerService(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_AssertionConsumerService_s* z); 2085 void zx_md_SPSSODescriptor_ADD_AttributeConsumingService(struct zx_md_SPSSODescriptor_s* x, int n, struct zx_md_AttributeConsumingService_s* z); 2086 2087 void zx_md_SPSSODescriptor_DEL_Signature(struct zx_md_SPSSODescriptor_s* x, int n); 2088 void zx_md_SPSSODescriptor_DEL_Extensions(struct zx_md_SPSSODescriptor_s* x, int n); 2089 void zx_md_SPSSODescriptor_DEL_KeyDescriptor(struct zx_md_SPSSODescriptor_s* x, int n); 2090 void zx_md_SPSSODescriptor_DEL_Organization(struct zx_md_SPSSODescriptor_s* x, int n); 2091 void zx_md_SPSSODescriptor_DEL_ContactPerson(struct zx_md_SPSSODescriptor_s* x, int n); 2092 void zx_md_SPSSODescriptor_DEL_ArtifactResolutionService(struct zx_md_SPSSODescriptor_s* x, int n); 2093 void zx_md_SPSSODescriptor_DEL_SingleLogoutService(struct zx_md_SPSSODescriptor_s* x, int n); 2094 void zx_md_SPSSODescriptor_DEL_ManageNameIDService(struct zx_md_SPSSODescriptor_s* x, int n); 2095 void zx_md_SPSSODescriptor_DEL_NameIDFormat(struct zx_md_SPSSODescriptor_s* x,int n); 2096 void zx_md_SPSSODescriptor_DEL_AssertionConsumerService(struct zx_md_SPSSODescriptor_s* x, int n); 2097 void zx_md_SPSSODescriptor_DEL_AttributeConsumingService(struct zx_md_SPSSODescriptor_s* x, int n); 2098 2099 void zx_md_SPSSODescriptor_REV_Signature(struct zx_md_SPSSODescriptor_s* x); 2100 void zx_md_SPSSODescriptor_REV_Extensions(struct zx_md_SPSSODescriptor_s* x); 2101 void zx_md_SPSSODescriptor_REV_KeyDescriptor(struct zx_md_SPSSODescriptor_s* x); 2102 void zx_md_SPSSODescriptor_REV_Organization(struct zx_md_SPSSODescriptor_s* x); 2103 void zx_md_SPSSODescriptor_REV_ContactPerson(struct zx_md_SPSSODescriptor_s* x); 2104 void zx_md_SPSSODescriptor_REV_ArtifactResolutionService(struct zx_md_SPSSODescriptor_s* x); 2105 void zx_md_SPSSODescriptor_REV_SingleLogoutService(struct zx_md_SPSSODescriptor_s* x); 2106 void zx_md_SPSSODescriptor_REV_ManageNameIDService(struct zx_md_SPSSODescriptor_s* x); 2107 void zx_md_SPSSODescriptor_REV_NameIDFormat(struct zx_md_SPSSODescriptor_s* x); 2108 void zx_md_SPSSODescriptor_REV_AssertionConsumerService(struct zx_md_SPSSODescriptor_s* x); 2109 void zx_md_SPSSODescriptor_REV_AttributeConsumingService(struct zx_md_SPSSODescriptor_s* x); 2110 2111 #endif 2112 /* -------------------------- md_ServiceDescription -------------------------- */ 2113 /* refby( zx_md_AttributeConsumingService_s ) */ 2114 #ifndef zx_md_ServiceDescription_EXT 2115 #define zx_md_ServiceDescription_EXT 2116 #endif 2117 struct zx_md_ServiceDescription_s { 2118 ZX_ELEM_EXT 2119 zx_md_ServiceDescription_EXT 2120 struct zx_attr_s* lang; /* {0,1} attribute xs:string */ 2121 }; 2122 2123 #define zx_NEW_md_ServiceDescription(c, father) (struct zx_md_ServiceDescription_s*)zx_new_elem((c),(father),zx_md_ServiceDescription_ELEM) 2124 int zx_DEC_ATTR_md_ServiceDescription(struct zx_ctx* c, struct zx_md_ServiceDescription_s* x); 2125 int zx_DEC_ELEM_md_ServiceDescription(struct zx_ctx* c, struct zx_md_ServiceDescription_s* x); 2126 2127 #ifdef ZX_ENA_AUX 2128 struct zx_md_ServiceDescription_s* zx_DEEP_CLONE_md_ServiceDescription(struct zx_ctx* c, struct zx_md_ServiceDescription_s* x, int dup_strs); 2129 void zx_DUP_STRS_md_ServiceDescription(struct zx_ctx* c, struct zx_md_ServiceDescription_s* x); 2130 int zx_WALK_SO_md_ServiceDescription(struct zx_ctx* c, struct zx_md_ServiceDescription_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 2131 int zx_WALK_WO_md_ServiceDescription(struct zx_ctx* c, struct zx_md_ServiceDescription_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 2132 #endif 2133 2134 #ifdef ZX_ENA_GETPUT 2135 struct zx_attr_s* zx_md_ServiceDescription_GET_lang(struct zx_md_ServiceDescription_s* x); 2136 2137 2138 2139 2140 2141 void zx_md_ServiceDescription_PUT_lang(struct zx_md_ServiceDescription_s* x, struct zx_attr_s* y); 2142 2143 2144 2145 2146 2147 #endif 2148 /* -------------------------- md_ServiceName -------------------------- */ 2149 /* refby( zx_md_AttributeConsumingService_s ) */ 2150 #ifndef zx_md_ServiceName_EXT 2151 #define zx_md_ServiceName_EXT 2152 #endif 2153 struct zx_md_ServiceName_s { 2154 ZX_ELEM_EXT 2155 zx_md_ServiceName_EXT 2156 struct zx_attr_s* lang; /* {0,1} attribute xs:string */ 2157 }; 2158 2159 #define zx_NEW_md_ServiceName(c, father) (struct zx_md_ServiceName_s*)zx_new_elem((c),(father),zx_md_ServiceName_ELEM) 2160 int zx_DEC_ATTR_md_ServiceName(struct zx_ctx* c, struct zx_md_ServiceName_s* x); 2161 int zx_DEC_ELEM_md_ServiceName(struct zx_ctx* c, struct zx_md_ServiceName_s* x); 2162 2163 #ifdef ZX_ENA_AUX 2164 struct zx_md_ServiceName_s* zx_DEEP_CLONE_md_ServiceName(struct zx_ctx* c, struct zx_md_ServiceName_s* x, int dup_strs); 2165 void zx_DUP_STRS_md_ServiceName(struct zx_ctx* c, struct zx_md_ServiceName_s* x); 2166 int zx_WALK_SO_md_ServiceName(struct zx_ctx* c, struct zx_md_ServiceName_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 2167 int zx_WALK_WO_md_ServiceName(struct zx_ctx* c, struct zx_md_ServiceName_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 2168 #endif 2169 2170 #ifdef ZX_ENA_GETPUT 2171 struct zx_attr_s* zx_md_ServiceName_GET_lang(struct zx_md_ServiceName_s* x); 2172 2173 2174 2175 2176 2177 void zx_md_ServiceName_PUT_lang(struct zx_md_ServiceName_s* x, struct zx_attr_s* y); 2178 2179 2180 2181 2182 2183 #endif 2184 /* -------------------------- md_SingleLogoutService -------------------------- */ 2185 /* refby( zx_md_IDPSSODescriptor_s zx_md_SPSSODescriptor_s ) */ 2186 #ifndef zx_md_SingleLogoutService_EXT 2187 #define zx_md_SingleLogoutService_EXT 2188 #endif 2189 struct zx_md_SingleLogoutService_s { 2190 ZX_ELEM_EXT 2191 zx_md_SingleLogoutService_EXT 2192 struct zx_attr_s* Binding; /* {1,1} attribute xs:anyURI */ 2193 struct zx_attr_s* Location; /* {1,1} attribute xs:anyURI */ 2194 struct zx_attr_s* ResponseLocation; /* {0,1} attribute xs:anyURI */ 2195 struct zx_attr_s* index; /* {0,1} attribute xs:unsignedShort */ 2196 struct zx_attr_s* isDefault; /* {0,1} attribute xs:boolean */ 2197 }; 2198 2199 #define zx_NEW_md_SingleLogoutService(c, father) (struct zx_md_SingleLogoutService_s*)zx_new_elem((c),(father),zx_md_SingleLogoutService_ELEM) 2200 int zx_DEC_ATTR_md_SingleLogoutService(struct zx_ctx* c, struct zx_md_SingleLogoutService_s* x); 2201 int zx_DEC_ELEM_md_SingleLogoutService(struct zx_ctx* c, struct zx_md_SingleLogoutService_s* x); 2202 2203 #ifdef ZX_ENA_AUX 2204 struct zx_md_SingleLogoutService_s* zx_DEEP_CLONE_md_SingleLogoutService(struct zx_ctx* c, struct zx_md_SingleLogoutService_s* x, int dup_strs); 2205 void zx_DUP_STRS_md_SingleLogoutService(struct zx_ctx* c, struct zx_md_SingleLogoutService_s* x); 2206 int zx_WALK_SO_md_SingleLogoutService(struct zx_ctx* c, struct zx_md_SingleLogoutService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 2207 int zx_WALK_WO_md_SingleLogoutService(struct zx_ctx* c, struct zx_md_SingleLogoutService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 2208 #endif 2209 2210 #ifdef ZX_ENA_GETPUT 2211 struct zx_attr_s* zx_md_SingleLogoutService_GET_Binding(struct zx_md_SingleLogoutService_s* x); 2212 struct zx_attr_s* zx_md_SingleLogoutService_GET_Location(struct zx_md_SingleLogoutService_s* x); 2213 struct zx_attr_s* zx_md_SingleLogoutService_GET_ResponseLocation(struct zx_md_SingleLogoutService_s* x); 2214 struct zx_attr_s* zx_md_SingleLogoutService_GET_index(struct zx_md_SingleLogoutService_s* x); 2215 struct zx_attr_s* zx_md_SingleLogoutService_GET_isDefault(struct zx_md_SingleLogoutService_s* x); 2216 2217 2218 2219 2220 2221 void zx_md_SingleLogoutService_PUT_Binding(struct zx_md_SingleLogoutService_s* x, struct zx_attr_s* y); 2222 void zx_md_SingleLogoutService_PUT_Location(struct zx_md_SingleLogoutService_s* x, struct zx_attr_s* y); 2223 void zx_md_SingleLogoutService_PUT_ResponseLocation(struct zx_md_SingleLogoutService_s* x, struct zx_attr_s* y); 2224 void zx_md_SingleLogoutService_PUT_index(struct zx_md_SingleLogoutService_s* x, struct zx_attr_s* y); 2225 void zx_md_SingleLogoutService_PUT_isDefault(struct zx_md_SingleLogoutService_s* x, struct zx_attr_s* y); 2226 2227 2228 2229 2230 2231 #endif 2232 /* -------------------------- md_SingleSignOnService -------------------------- */ 2233 /* refby( zx_md_IDPSSODescriptor_s ) */ 2234 #ifndef zx_md_SingleSignOnService_EXT 2235 #define zx_md_SingleSignOnService_EXT 2236 #endif 2237 struct zx_md_SingleSignOnService_s { 2238 ZX_ELEM_EXT 2239 zx_md_SingleSignOnService_EXT 2240 struct zx_attr_s* Binding; /* {1,1} attribute xs:anyURI */ 2241 struct zx_attr_s* Location; /* {1,1} attribute xs:anyURI */ 2242 struct zx_attr_s* ResponseLocation; /* {0,1} attribute xs:anyURI */ 2243 struct zx_attr_s* index; /* {0,1} attribute xs:unsignedShort */ 2244 struct zx_attr_s* isDefault; /* {0,1} attribute xs:boolean */ 2245 }; 2246 2247 #define zx_NEW_md_SingleSignOnService(c, father) (struct zx_md_SingleSignOnService_s*)zx_new_elem((c),(father),zx_md_SingleSignOnService_ELEM) 2248 int zx_DEC_ATTR_md_SingleSignOnService(struct zx_ctx* c, struct zx_md_SingleSignOnService_s* x); 2249 int zx_DEC_ELEM_md_SingleSignOnService(struct zx_ctx* c, struct zx_md_SingleSignOnService_s* x); 2250 2251 #ifdef ZX_ENA_AUX 2252 struct zx_md_SingleSignOnService_s* zx_DEEP_CLONE_md_SingleSignOnService(struct zx_ctx* c, struct zx_md_SingleSignOnService_s* x, int dup_strs); 2253 void zx_DUP_STRS_md_SingleSignOnService(struct zx_ctx* c, struct zx_md_SingleSignOnService_s* x); 2254 int zx_WALK_SO_md_SingleSignOnService(struct zx_ctx* c, struct zx_md_SingleSignOnService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 2255 int zx_WALK_WO_md_SingleSignOnService(struct zx_ctx* c, struct zx_md_SingleSignOnService_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 2256 #endif 2257 2258 #ifdef ZX_ENA_GETPUT 2259 struct zx_attr_s* zx_md_SingleSignOnService_GET_Binding(struct zx_md_SingleSignOnService_s* x); 2260 struct zx_attr_s* zx_md_SingleSignOnService_GET_Location(struct zx_md_SingleSignOnService_s* x); 2261 struct zx_attr_s* zx_md_SingleSignOnService_GET_ResponseLocation(struct zx_md_SingleSignOnService_s* x); 2262 struct zx_attr_s* zx_md_SingleSignOnService_GET_index(struct zx_md_SingleSignOnService_s* x); 2263 struct zx_attr_s* zx_md_SingleSignOnService_GET_isDefault(struct zx_md_SingleSignOnService_s* x); 2264 2265 2266 2267 2268 2269 void zx_md_SingleSignOnService_PUT_Binding(struct zx_md_SingleSignOnService_s* x, struct zx_attr_s* y); 2270 void zx_md_SingleSignOnService_PUT_Location(struct zx_md_SingleSignOnService_s* x, struct zx_attr_s* y); 2271 void zx_md_SingleSignOnService_PUT_ResponseLocation(struct zx_md_SingleSignOnService_s* x, struct zx_attr_s* y); 2272 void zx_md_SingleSignOnService_PUT_index(struct zx_md_SingleSignOnService_s* x, struct zx_attr_s* y); 2273 void zx_md_SingleSignOnService_PUT_isDefault(struct zx_md_SingleSignOnService_s* x, struct zx_attr_s* y); 2274 2275 2276 2277 2278 2279 #endif 2280 2281 #endif 2282