/usr/share/gsoap/import/xenc.h is in gsoap 2.8.16-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 | /*
xenc.h
Generated with:
wsdl2h -cuxy -o xenc.h -t WS/WS-typemap.dat WS/xenc.xsd
- Removed //gsoapopt
- Added //gsoap xenc schema import: http://www.w3.org/2001/04/xmlenc#
*/
/******************************************************************************\
* *
* Definitions *
* http://www.w3.org/2001/04/xmlenc# *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
#import "ds.h" // ds = <http://www.w3.org/2000/09/xmldsig#>
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap xenc schema import: http://www.w3.org/2001/04/xmlenc#
//gsoap xenc schema elementForm: qualified
//gsoap xenc schema attributeForm: unqualified
/******************************************************************************\
* *
* Built-in Schema Types and Top-Level Elements and Attributes *
* *
\******************************************************************************/
/// Imported type "http://www.w3.org/2000/09/xmldsig#":KeyInfoType from typemap WS/WS-typemap.dat.
// Imported element "http://www.w3.org/2000/09/xmldsig#":KeyInfo declared as _ds__KeyInfo
// Imported element "http://www.w3.org/2000/09/xmldsig#":Transform declared as _ds__Transform
/// Typedef synonym for struct xenc__EncryptedType.
typedef struct xenc__EncryptedType xenc__EncryptedType;
/// Typedef synonym for struct xenc__EncryptionMethodType.
typedef struct xenc__EncryptionMethodType xenc__EncryptionMethodType;
/// Typedef synonym for struct xenc__CipherDataType.
typedef struct xenc__CipherDataType xenc__CipherDataType;
/// Typedef synonym for struct xenc__CipherReferenceType.
typedef struct xenc__CipherReferenceType xenc__CipherReferenceType;
/// Typedef synonym for struct xenc__TransformsType.
typedef struct xenc__TransformsType xenc__TransformsType;
/// Typedef synonym for struct xenc__EncryptedDataType.
typedef struct xenc__EncryptedDataType xenc__EncryptedDataType;
/// Typedef synonym for struct xenc__EncryptedKeyType.
typedef struct xenc__EncryptedKeyType xenc__EncryptedKeyType;
/// Typedef synonym for struct xenc__AgreementMethodType.
typedef struct xenc__AgreementMethodType xenc__AgreementMethodType;
/// Typedef synonym for struct xenc__ReferenceType.
typedef struct xenc__ReferenceType xenc__ReferenceType;
/// Typedef synonym for struct xenc__EncryptionPropertiesType.
typedef struct xenc__EncryptionPropertiesType xenc__EncryptionPropertiesType;
/// Imported complexType "http://www.w3.org/2001/04/xmlenc#":EncryptionPropertyType from typemap WS/WS-typemap.dat.
typedef struct xenc__EncryptionPropertyType
{ @char* Target;
@char* Id;
} xenc__EncryptionPropertyType;
/// Typedef synonym for struct _xenc__ReferenceList.
typedef struct _xenc__ReferenceList _xenc__ReferenceList;
/******************************************************************************\
* *
* Schema Types and Top-Level Elements and Attributes *
* http://www.w3.org/2001/04/xmlenc# *
* *
\******************************************************************************/
/// Imported simpleType "http://www.w3.org/2001/04/xmlenc#":KeySizeType from typemap WS/WS-typemap.dat.
// simpleType definition intentionally left blank.
/******************************************************************************\
* *
* Schema Complex Types and Top-Level Elements *
* http://www.w3.org/2001/04/xmlenc# *
* *
\******************************************************************************/
/// "http://www.w3.org/2001/04/xmlenc#":EncryptedType is an abstract complexType.
struct xenc__EncryptedType
{
/// Element EncryptionMethod of type "http://www.w3.org/2001/04/xmlenc#":EncryptionMethodType.
struct xenc__EncryptionMethodType* EncryptionMethod 0; ///< Optional element.
/// Imported element reference "http://www.w3.org/2000/09/xmldsig#":KeyInfo.
_ds__KeyInfo* ds__KeyInfo 0; ///< Optional element.
/// Element reference "http://www.w3.org/2001/04/xmlenc#":CipherData.
struct xenc__CipherDataType* CipherData 1; ///< Required element.
/// Element reference "http://www.w3.org/2001/04/xmlenc#":EncryptionProperties.
struct xenc__EncryptionPropertiesType* EncryptionProperties 0; ///< Optional element.
/// Attribute Id of type xs:ID.
@char* Id 0; ///< Optional attribute.
/// Attribute Type of type xs:anyURI.
@char* Type 0; ///< Optional attribute.
/// Attribute MimeType of type xs:string.
@char* MimeType 0; ///< Optional attribute.
/// Attribute Encoding of type xs:anyURI.
@char* Encoding 0; ///< Optional attribute.
};
/// "http://www.w3.org/2001/04/xmlenc#":EncryptionMethodType is a complexType.
struct xenc__EncryptionMethodType
{
/// Element KeySize of type "http://www.w3.org/2001/04/xmlenc#":KeySizeType.
int* KeySize 0; ///< Optional element.
/// Element OAEPparams of type xs:base64Binary.
char* OAEPparams 0; ///< Optional element.
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
/// TODO: Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d for xsd__anyType DOM (soap_dom_element).
/// Attribute Algorithm of type xs:anyURI.
@char* Algorithm 1; ///< Required attribute.
/// Member declared in WS/WS-typemap.dat
struct ds__DigestMethodType* ds__DigestMethod;
/// TODO: this mixed complexType is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -d for xsd__anyType DOM (soap_dom_element).
_XML __mixed 0; ///< Catch mixed content in XML string
};
/// "http://www.w3.org/2001/04/xmlenc#":CipherDataType is a complexType.
struct xenc__CipherDataType
{
/// CHOICE OF ELEMENTS <xs:choice>
/// Element CipherValue of type xs:base64Binary.
char* CipherValue ;
/// Element reference "http://www.w3.org/2001/04/xmlenc#":CipherReference.
struct xenc__CipherReferenceType* CipherReference ;
;
// END OF CHOICE
};
/// "http://www.w3.org/2001/04/xmlenc#":CipherReferenceType is a complexType.
struct xenc__CipherReferenceType
{
/// CHOICE OF ELEMENTS <xs:choice>
/// Element Transforms of type "http://www.w3.org/2001/04/xmlenc#":TransformsType.
struct xenc__TransformsType* Transforms ;
;
// END OF CHOICE
/// Attribute URI of type xs:anyURI.
@char* URI 1; ///< Required attribute.
};
/// "http://www.w3.org/2001/04/xmlenc#":TransformsType is a complexType.
struct xenc__TransformsType
{
/// Imported element reference "http://www.w3.org/2000/09/xmldsig#":Transform.
_ds__Transform ds__Transform 1;
};
/// "http://www.w3.org/2001/04/xmlenc#":AgreementMethodType is a complexType.
struct xenc__AgreementMethodType
{
/// Element KA-Nonce of type xs:base64Binary.
char* KA_Nonce 0; ///< Optional element.
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
/// TODO: Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d for xsd__anyType DOM (soap_dom_element).
/// Element OriginatorKeyInfo of type "http://www.w3.org/2000/09/xmldsig#":KeyInfoType.
ds__KeyInfoType* OriginatorKeyInfo 0; ///< Optional element.
/// Element RecipientKeyInfo of type "http://www.w3.org/2000/09/xmldsig#":KeyInfoType.
ds__KeyInfoType* RecipientKeyInfo 0; ///< Optional element.
/// Attribute Algorithm of type xs:anyURI.
@char* Algorithm 1; ///< Required attribute.
/// TODO: this mixed complexType is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -d for xsd__anyType DOM (soap_dom_element).
_XML __mixed 0; ///< Catch mixed content in XML string
};
/// "http://www.w3.org/2001/04/xmlenc#":ReferenceType is a complexType.
struct xenc__ReferenceType
{
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
/// TODO: Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d for xsd__anyType DOM (soap_dom_element).
/// Attribute URI of type xs:anyURI.
@char* URI 1; ///< Required attribute.
};
/// "http://www.w3.org/2001/04/xmlenc#":EncryptionPropertiesType is a complexType.
struct xenc__EncryptionPropertiesType
{
/// Size of the dynamic array of xenc__EncryptionPropertyType* is 1..unbounded
$int __sizeEncryptionProperty 1;
/// Array xenc__EncryptionPropertyType* of length 1..unbounded
xenc__EncryptionPropertyType* EncryptionProperty 1;
/// Attribute Id of type xs:ID.
@char* Id 0; ///< Optional attribute.
};
/// Top-level root element "http://www.w3.org/2001/04/xmlenc#":ReferenceList
/// "http://www.w3.org/2001/04/xmlenc#":ReferenceList is a complexType.
struct _xenc__ReferenceList
{
/// CHOICE OF ELEMENTS <xs:choice minOccurs="1" maxOccurs="unbounded">
$int __size_ReferenceList 1;
struct __xenc__union_ReferenceList
{
/// Element DataReference of type "http://www.w3.org/2001/04/xmlenc#":ReferenceType.
struct xenc__ReferenceType* DataReference ;
/// Element KeyReference of type "http://www.w3.org/2001/04/xmlenc#":ReferenceType.
struct xenc__ReferenceType* KeyReference ;
} *__union_ReferenceList ;
// END OF CHOICE
};
/// "http://www.w3.org/2001/04/xmlenc#":EncryptedDataType is a complexType with complexContent extension of "http://www.w3.org/2001/04/xmlenc#":EncryptedType.
struct xenc__EncryptedDataType
{
/// INHERITED FROM xenc__EncryptedType:
/// Element EncryptionMethod of type "http://www.w3.org/2001/04/xmlenc#":EncryptionMethodType.
struct xenc__EncryptionMethodType* EncryptionMethod 0; ///< Optional element.
/// Imported element reference "http://www.w3.org/2000/09/xmldsig#":KeyInfo.
_ds__KeyInfo* ds__KeyInfo 0; ///< Optional element.
/// Element reference "http://www.w3.org/2001/04/xmlenc#":CipherData.
struct xenc__CipherDataType* CipherData 1; ///< Required element.
/// Element reference "http://www.w3.org/2001/04/xmlenc#":EncryptionProperties.
struct xenc__EncryptionPropertiesType* EncryptionProperties 0; ///< Optional element.
/// Attribute Id of type xs:ID.
@char* Id 0; ///< Optional attribute.
/// Attribute Type of type xs:anyURI.
@char* Type 0; ///< Optional attribute.
/// Attribute MimeType of type xs:string.
@char* MimeType 0; ///< Optional attribute.
/// Attribute Encoding of type xs:anyURI.
@char* Encoding 0; ///< Optional attribute.
// END OF INHERITED FROM xenc__EncryptedType
};
/// "http://www.w3.org/2001/04/xmlenc#":EncryptedKeyType is a complexType with complexContent extension of "http://www.w3.org/2001/04/xmlenc#":EncryptedType.
struct xenc__EncryptedKeyType
{
/// INHERITED FROM xenc__EncryptedType:
/// Element EncryptionMethod of type "http://www.w3.org/2001/04/xmlenc#":EncryptionMethodType.
struct xenc__EncryptionMethodType* EncryptionMethod 0; ///< Optional element.
/// Imported element reference "http://www.w3.org/2000/09/xmldsig#":KeyInfo.
_ds__KeyInfo* ds__KeyInfo 0; ///< Optional element.
/// Element reference "http://www.w3.org/2001/04/xmlenc#":CipherData.
struct xenc__CipherDataType* CipherData 1; ///< Required element.
/// Element reference "http://www.w3.org/2001/04/xmlenc#":EncryptionProperties.
struct xenc__EncryptionPropertiesType* EncryptionProperties 0; ///< Optional element.
/// Attribute Id of type xs:ID.
@char* Id 0; ///< Optional attribute.
/// Attribute Type of type xs:anyURI.
@char* Type 0; ///< Optional attribute.
/// Attribute MimeType of type xs:string.
@char* MimeType 0; ///< Optional attribute.
/// Attribute Encoding of type xs:anyURI.
@char* Encoding 0; ///< Optional attribute.
// END OF INHERITED FROM xenc__EncryptedType
/// Element reference "http://www.w3.org/2001/04/xmlenc#":ReferenceList.
struct _xenc__ReferenceList* ReferenceList 0; ///< Optional element.
/// Element CarriedKeyName of type xs:string.
char* CarriedKeyName 0; ///< Optional element.
/// Attribute Recipient of type xs:string.
@char* Recipient 0; ///< Optional attribute.
};
/******************************************************************************\
* *
* Additional Top-Level Elements *
* http://www.w3.org/2001/04/xmlenc# *
* *
\******************************************************************************/
/// Top-level root element "http://www.w3.org/2001/04/xmlenc#":CipherData of type "http://www.w3.org/2001/04/xmlenc#":CipherDataType.
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
/// Top-level root element "http://www.w3.org/2001/04/xmlenc#":CipherReference of type "http://www.w3.org/2001/04/xmlenc#":CipherReferenceType.
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
/// Top-level root element "http://www.w3.org/2001/04/xmlenc#":EncryptedData of type "http://www.w3.org/2001/04/xmlenc#":EncryptedDataType.
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
/// Top-level root element "http://www.w3.org/2001/04/xmlenc#":EncryptedKey of type "http://www.w3.org/2001/04/xmlenc#":EncryptedKeyType.
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
/// Top-level root element "http://www.w3.org/2001/04/xmlenc#":AgreementMethod of type "http://www.w3.org/2001/04/xmlenc#":AgreementMethodType.
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
/// Top-level root element "http://www.w3.org/2001/04/xmlenc#":EncryptionProperties of type "http://www.w3.org/2001/04/xmlenc#":EncryptionPropertiesType.
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
/// Top-level root element "http://www.w3.org/2001/04/xmlenc#":EncryptionProperty of type "http://www.w3.org/2001/04/xmlenc#":EncryptionPropertyType.
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
/******************************************************************************\
* *
* Additional Top-Level Attributes *
* http://www.w3.org/2001/04/xmlenc# *
* *
\******************************************************************************/
/******************************************************************************\
* *
* XML Data Binding *
* *
\******************************************************************************/
/**
@page page_XMLDataBinding XML Data Binding
SOAP/XML services use data bindings contractually bound by WSDL and auto-
generated by wsdl2h and soapcpp2 (see Service Bindings). Plain data bindings
are adopted from XML schemas as part of the WSDL types section or when running
wsdl2h on a set of schemas to produce non-SOAP-based XML data bindings.
The following readers and writers are C/C++ data type (de)serializers auto-
generated by wsdl2h and soapcpp2. Run soapcpp2 on this file to generate the
(de)serialization code, which is stored in soapC.c[pp]. Include "soapH.h" in
your code to import these data type and function declarations. Only use the
soapcpp2-generated files in your project build. Do not include the wsdl2h-
generated .h file in your code.
XML content can be retrieved from:
- a file descriptor, using soap->recvfd = fd
- a socket, using soap->socket = ...
- a C++ stream, using soap->is = ...
- a buffer, using the soap->frecv() callback
XML content can be stored to:
- a file descriptor, using soap->sendfd = fd
- a socket, using soap->socket = ...
- a C++ stream, using soap->os = ...
- a buffer, using the soap->fsend() callback
@section xenc Top-level root elements of schema "http://www.w3.org/2001/04/xmlenc#"
- <xenc:CipherData> (use wsdl2h option -g to auto-generate)
- <xenc:CipherReference> (use wsdl2h option -g to auto-generate)
- <xenc:EncryptedData> (use wsdl2h option -g to auto-generate)
- <xenc:EncryptedKey> (use wsdl2h option -g to auto-generate)
- <xenc:AgreementMethod> (use wsdl2h option -g to auto-generate)
- <xenc:ReferenceList> @ref _xenc__ReferenceList
@code
// Reader (returns SOAP_OK on success):
soap_read__xenc__ReferenceList(struct soap*, struct _xenc__ReferenceList*);
// Writer (returns SOAP_OK on success):
soap_write__xenc__ReferenceList(struct soap*, struct _xenc__ReferenceList*);
@endcode
- <xenc:EncryptionProperties> (use wsdl2h option -g to auto-generate)
- <xenc:EncryptionProperty> (use wsdl2h option -g to auto-generate)
*/
/* End of xenc.h */
|