~vcs-imports/simias/trunk

« back to all changes in this revision

Viewing changes to simias/tools/gsoap/gsoap-linux-2.7/import/wsse.h

  • Committer: kalidasbala
  • Date: 2007-08-25 12:48:51 UTC
  • Revision ID: vcs-imports@canonical.com-20070825124851-vlfvzun3732ld196
Latest gsoap code update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 
 
3
wsse.h
 
4
 
 
5
Generated with:
 
6
wsdl2h -cegxy -o wsse.h -t WS/WS-typemap.dat WS/wsse.xsd
 
7
 
 
8
- Removed //gsoapopt
 
9
- Added //gsoap wsse  schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
 
10
 
 
11
*/
 
12
 
 
13
/******************************************************************************\
 
14
 *                                                                            *
 
15
 * http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd*
 
16
 *                                                                            *
 
17
\******************************************************************************/
 
18
 
 
19
 
 
20
/******************************************************************************\
 
21
 *                                                                            *
 
22
 * Import                                                                     *
 
23
 *                                                                            *
 
24
\******************************************************************************/
 
25
 
 
26
#import "wsu.h" // wsu = <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd>
 
27
 
 
28
/******************************************************************************\
 
29
 *                                                                            *
 
30
 * Schema Namespaces                                                          *
 
31
 *                                                                            *
 
32
\******************************************************************************/
 
33
 
 
34
//gsoap wsse  schema import:    http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
 
35
//gsoap wsse  schema elementForm:       qualified
 
36
//gsoap wsse  schema attributeForm:     unqualified
 
37
 
 
38
/******************************************************************************\
 
39
 *                                                                            *
 
40
 * Schema Types                                                               *
 
41
 *                                                                            *
 
42
\******************************************************************************/
 
43
 
 
44
 
 
45
 
 
46
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":AttributedString from typemap WS/WS-typemap.dat.
 
47
/// @brief This type represents an element with arbitrary attributes.
 
48
/// complexType definition intentionally left blank.
 
49
 
 
50
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":PasswordString from typemap WS/WS-typemap.dat.
 
51
/// @brief This type is used for password elements per Section 4.1.
 
52
/// complexType definition intentionally left blank.
 
53
 
 
54
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EncodedString from typemap WS/WS-typemap.dat.
 
55
/// @brief This type is used for elements containing stringified binary data.
 
56
/// complexType definition intentionally left blank.
 
57
 
 
58
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UsernameTokenType from typemap WS/WS-typemap.dat.
 
59
/// @brief This type represents a username token per Section 4.1
 
60
/// complexType definition intentionally left blank.
 
61
 
 
62
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":BinarySecurityTokenType from typemap WS/WS-typemap.dat.
 
63
/// @brief A security token that is encoded in binary
 
64
/// complexType definition intentionally left blank.
 
65
 
 
66
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":KeyIdentifierType from typemap WS/WS-typemap.dat.
 
67
/// @brief A security token key identifier
 
68
/// complexType definition intentionally left blank.
 
69
 
 
70
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":ReferenceType from typemap WS/WS-typemap.dat.
 
71
/// @brief This type represents a reference to an external security token.
 
72
/// complexType definition intentionally left blank.
 
73
 
 
74
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EmbeddedType from typemap WS/WS-typemap.dat.
 
75
/// @brief This type represents a reference to an embedded security token.
 
76
/// complexType definition intentionally left blank.
 
77
 
 
78
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenReferenceType from typemap WS/WS-typemap.dat.
 
79
/// @brief This type is used reference a security token.
 
80
/// complexType definition intentionally left blank.
 
81
 
 
82
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityHeaderType from typemap WS/WS-typemap.dat.
 
83
/// @brief This complexType defines header block to use for security-relevant data directed at a specific SOAP actor.
 
84
/// complexType definition intentionally left blank.
 
85
 
 
86
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":TransformationParametersType from typemap WS/WS-typemap.dat.
 
87
/// @brief This complexType defines a container for elements to be specified from any namespace as properties/parameters of a DSIG transformation.
 
88
/// complexType definition intentionally left blank.
 
89
 
 
90
/// Imported simpleType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":tUsage from typemap WS/WS-typemap.dat.
 
91
/// @brief Typedef to allow a list of usages (as URIs).
 
92
/// simpleType definition intentionally left blank.
 
93
 
 
94
/// "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FaultcodeEnum is a simpleType restriction of xs:QName.
 
95
enum wsse__FaultcodeEnum
 
96
{
 
97
        wsse__UnsupportedSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedSecurityToken"
 
98
        wsse__UnsupportedAlgorithm,     ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedAlgorithm"
 
99
        wsse__InvalidSecurity,  ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurity"
 
100
        wsse__InvalidSecurityToken,     ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurityToken"
 
101
        wsse__FailedAuthentication,     ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedAuthentication"
 
102
        wsse__FailedCheck,      ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedCheck"
 
103
        wsse__SecurityTokenUnavailable, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenUnavailable"
 
104
};
 
105
/// Typedef synonym for enum wsse__FaultcodeEnum.
 
106
typedef enum wsse__FaultcodeEnum wsse__FaultcodeEnum;
 
107
 
 
108
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UsernameToken of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UsernameTokenType.
 
109
/// @brief This element defines the wsse:UsernameToken element per Section 4.1.
 
110
/// Imported element _wsse__UsernameToken from typemap WS/WS-typemap.dat.
 
111
typedef struct _wsse__UsernameToken
 
112
{       char*                                   Username;
 
113
        struct _wsse__Password*                 Password;
 
114
        char*                                   Nonce;
 
115
        char*                                   wsu__Created;
 
116
        @char*                                  wsu__Id;
 
117
} _wsse__UsernameToken;
 
118
 
 
119
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":BinarySecurityToken of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":BinarySecurityTokenType.
 
120
/// @brief This element defines the wsse:BinarySecurityToken element per Section 4.2.
 
121
/// Imported element _wsse__BinarySecurityToken from typemap WS/WS-typemap.dat.
 
122
typedef struct _wsse__BinarySecurityToken
 
123
{       char*                                   __item;
 
124
        @char*                                  wsu__Id;
 
125
        @char*                                  ValueType;
 
126
        @char*                                  EncodingType;
 
127
} _wsse__BinarySecurityToken;
 
128
 
 
129
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Reference of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":ReferenceType.
 
130
/// @brief This element defines a security token reference
 
131
/// Imported element _wsse__Reference from typemap WS/WS-typemap.dat.
 
132
typedef struct _wsse__Reference
 
133
{       @char*                                  URI;
 
134
        @char*                                  ValueType;
 
135
} _wsse__Reference;
 
136
 
 
137
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Embedded of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EmbeddedType.
 
138
/// @brief This element defines a security token embedded reference
 
139
/// Imported element _wsse__Embedded from typemap WS/WS-typemap.dat.
 
140
typedef struct _wsse__Embedded
 
141
{       /* Extensible with embedded tokens and assertions */
 
142
        @char*                                  wsu__Id;
 
143
        @char*                                  ValueType;
 
144
} _wsse__Embedded;
 
145
 
 
146
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":KeyIdentifier of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":KeyIdentifierType.
 
147
/// @brief This element defines a key identifier reference
 
148
/// Imported element _wsse__KeyIdentifier from typemap WS/WS-typemap.dat.
 
149
typedef struct _wsse__KeyIdentifier
 
150
{       char*                                   __item;
 
151
        @char*                                  wsu__Id;
 
152
        @char*                                  ValueType;
 
153
        @char*                                  EncodingType;
 
154
} _wsse__KeyIdentifier;
 
155
 
 
156
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenReference of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenReferenceType.
 
157
/// @brief This element defines the wsse:SecurityTokenReference per Section 4.3.
 
158
/// Imported element _wsse__SecurityTokenReference from typemap WS/WS-typemap.dat.
 
159
typedef struct _wsse__SecurityTokenReference
 
160
{       struct _wsse__Reference*                Reference;
 
161
        struct _wsse__KeyIdentifier*            KeyIdentifier;
 
162
        struct _wsse__Embedded*                 Embedded;
 
163
        @char*                                  wsu__Id;
 
164
        @char*                                  Usage;
 
165
} _wsse__SecurityTokenReference;
 
166
 
 
167
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Security of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityHeaderType.
 
168
/// @brief This element defines the wsse:Security SOAP header element per Section 4.
 
169
/// Imported element _wsse__Security from typemap WS/WS-typemap.dat.
 
170
#import "ds.h"
 
171
typedef struct _wsse__Security
 
172
{       struct _wsu__Timestamp*                 wsu__Timestamp;
 
173
        struct _wsse__UsernameToken*            UsernameToken;
 
174
        struct _wsse__BinarySecurityToken*      BinarySecurityToken;
 
175
        struct ds__SignatureType*               ds__Signature;
 
176
        @char*                                  SOAP_ENV__actor;
 
177
        @char*                                  SOAP_ENV__role;
 
178
} _wsse__Security;
 
179
 
 
180
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":TransformationParameters of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":TransformationParametersType.
 
181
/// @brief This element contains properties for transformations from any namespace, including DSIG.
 
182
/// '_wsse__TransformationParameters' element definition intentionally left blank.
 
183
 
 
184
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Password of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":PasswordString.
 
185
/// Imported element _wsse__Password from typemap WS/WS-typemap.dat.
 
186
typedef struct _wsse__Password
 
187
{       char*                                   __item;
 
188
        @char*                                  Type;
 
189
} _wsse__Password;
 
190
 
 
191
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Nonce of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EncodedString.
 
192
/// '_wsse__Nonce' element definition intentionally left blank.
 
193
 
 
194
/// Attribute "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Usage of simpleType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":tUsage.
 
195
/// @brief This global attribute is used to indicate the usage of a referenced or indicated token within the containing context
 
196
/// '_wsse__Usage' attribute definition intentionally left blank.
 
197
 
 
198
/* End of wsse.h */