aboutsummaryrefslogtreecommitdiff
path: root/import/wsse2.h
diff options
context:
space:
mode:
Diffstat (limited to 'import/wsse2.h')
-rw-r--r--import/wsse2.h200
1 files changed, 200 insertions, 0 deletions
diff --git a/import/wsse2.h b/import/wsse2.h
new file mode 100644
index 0000000..50df7d2
--- /dev/null
+++ b/import/wsse2.h
@@ -0,0 +1,200 @@
+/*
+
+wsse2.h
+
+See wsse.h
+
+- Copied from wsse.h
+- Removed //gsoapopt
+- Added //gsoap wsse2 schema import: http://schemas.xmlsoap.org/ws/2002/12/secext
+- Renamed //gsoap wsse => wsse2
+- Renamed wsse__ => wsse2__
+
+*/
+
+/******************************************************************************\
+ * *
+ * http://schemas.xmlsoap.org/ws/2002/12/secext *
+ * *
+\******************************************************************************/
+
+
+/******************************************************************************\
+ * *
+ * Import *
+ * *
+\******************************************************************************/
+
+#import "wsu.h" // wsu = <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd>
+
+/******************************************************************************\
+ * *
+ * Schema Namespaces *
+ * *
+\******************************************************************************/
+
+//gsoap wsse2 schema import: http://schemas.xmlsoap.org/ws/2002/12/secext
+//gsoap wsse2 schema elementForm: qualified
+//gsoap wsse2 schema attributeForm: unqualified
+
+/******************************************************************************\
+ * *
+ * Schema Types *
+ * *
+\******************************************************************************/
+
+
+
+/// 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.
+/// @brief This type represents an element with arbitrary attributes.
+/// complexType definition intentionally left blank.
+
+/// 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.
+/// @brief This type is used for password elements per Section 4.1.
+/// complexType definition intentionally left blank.
+
+/// 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.
+/// @brief This type is used for elements containing stringified binary data.
+/// complexType definition intentionally left blank.
+
+/// 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.
+/// @brief This type represents a username token per Section 4.1
+/// complexType definition intentionally left blank.
+
+/// 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.
+/// @brief A security token that is encoded in binary
+/// complexType definition intentionally left blank.
+
+/// 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.
+/// @brief A security token key identifier
+/// complexType definition intentionally left blank.
+
+/// 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.
+/// @brief This type represents a reference to an external security token.
+/// complexType definition intentionally left blank.
+
+/// 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.
+/// @brief This type represents a reference to an embedded security token.
+/// complexType definition intentionally left blank.
+
+/// 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.
+/// @brief This type is used reference a security token.
+/// complexType definition intentionally left blank.
+
+/// 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.
+/// @brief This complexType defines header block to use for security-relevant data directed at a specific SOAP actor.
+/// complexType definition intentionally left blank.
+
+/// 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.
+/// @brief This complexType defines a container for elements to be specified from any namespace as properties/parameters of a DSIG transformation.
+/// complexType definition intentionally left blank.
+
+/// 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.
+/// @brief Typedef to allow a list of usages (as URIs).
+/// simpleType definition intentionally left blank.
+
+/// "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FaultcodeEnum is a simpleType restriction of xs:QName.
+enum wsse2__FaultcodeEnum
+{
+ wsse2__UnsupportedSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedSecurityToken"
+ wsse2__UnsupportedAlgorithm, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedAlgorithm"
+ wsse2__InvalidSecurity, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurity"
+ wsse2__InvalidSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurityToken"
+ wsse2__FailedAuthentication, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedAuthentication"
+ wsse2__FailedCheck, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedCheck"
+ wsse2__SecurityTokenUnavailable, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenUnavailable"
+};
+/// Typedef synonym for enum wsse2__FaultcodeEnum.
+typedef enum wsse2__FaultcodeEnum wsse2__FaultcodeEnum;
+
+/// 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.
+/// @brief This element defines the wsse:UsernameToken element per Section 4.1.
+/// Imported element _wsse2__UsernameToken from typemap WS/WS-typemap.dat.
+typedef struct _wsse2__UsernameToken
+{ char* Username;
+ struct _wsse2__Password* Password;
+ char* Nonce;
+ char* wsu__Created;
+ @char* wsu__Id;
+} _wsse2__UsernameToken;
+
+/// 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.
+/// @brief This element defines the wsse:BinarySecurityToken element per Section 4.2.
+/// Imported element _wsse2__BinarySecurityToken from typemap WS/WS-typemap.dat.
+typedef struct _wsse2__BinarySecurityToken
+{ char* __item;
+ @char* wsu__Id;
+ @char* ValueType;
+ @char* EncodingType;
+} _wsse2__BinarySecurityToken;
+
+/// 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.
+/// @brief This element defines a security token reference
+/// Imported element _wsse2__Reference from typemap WS/WS-typemap.dat.
+typedef struct _wsse2__Reference
+{ @char* URI;
+ @char* ValueType;
+} _wsse2__Reference;
+
+/// 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.
+/// @brief This element defines a security token embedded reference
+/// Imported element _wsse2__Embedded from typemap WS/WS-typemap.dat.
+typedef struct _wsse2__Embedded
+{ /* Extensible with embedded tokens and assertions */
+ @char* wsu__Id;
+ @char* ValueType;
+} _wsse2__Embedded;
+
+/// 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.
+/// @brief This element defines a key identifier reference
+/// Imported element _wsse2__KeyIdentifier from typemap WS/WS-typemap.dat.
+typedef struct _wsse2__KeyIdentifier
+{ char* __item;
+ @char* wsu__Id;
+ @char* ValueType;
+ @char* EncodingType;
+} _wsse2__KeyIdentifier;
+
+/// 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.
+/// @brief This element defines the wsse:SecurityTokenReference per Section 4.3.
+/// Imported element _wsse2__SecurityTokenReference from typemap WS/WS-typemap.dat.
+typedef struct _wsse2__SecurityTokenReference
+{ struct _wsse2__Reference* Reference;
+ struct _wsse2__KeyIdentifier* KeyIdentifier;
+ struct _wsse2__Embedded* Embedded;
+ @char* wsu__Id;
+ @char* Usage;
+} _wsse2__SecurityTokenReference;
+
+/// 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.
+/// @brief This element defines the wsse:Security SOAP header element per Section 4.
+/// Imported element _wsse2__Security from typemap WS/WS-typemap.dat.
+#import "ds2.h"
+typedef struct _wsse2__Security
+{ struct _wsu__Timestamp* wsu__Timestamp;
+ struct _wsse2__UsernameToken* UsernameToken;
+ struct _wsse2__BinarySecurityToken* BinarySecurityToken;
+ struct ds__SignatureType* ds__Signature;
+ @char* SOAP_ENV__actor;
+ @char* SOAP_ENV__role;
+} _wsse2__Security;
+
+/// 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.
+/// @brief This element contains properties for transformations from any namespace, including DSIG.
+/// '_wsse2__TransformationParameters' element definition intentionally left blank.
+
+/// 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.
+/// Imported element _wsse2__Password from typemap WS/WS-typemap.dat.
+typedef struct _wsse2__Password
+{ char* __item;
+ @char* Type;
+} _wsse2__Password;
+
+/// 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.
+/// '_wsse2__Nonce' element definition intentionally left blank.
+
+/// 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.
+/// @brief This global attribute is used to indicate the usage of a referenced or indicated token within the containing context
+/// '_wsse2__Usage' attribute definition intentionally left blank.
+
+/* End of wsse.h */