1# ./pyxb/bundles/wssplat/raw/wsse.py 2# -*- coding: utf-8 -*- 3# PyXB bindings for NM:533be3d902dc7f54d5027ddd5917639d584e9d38 4# Generated 2017-09-03 06:16:47.133519 by PyXB version 1.2.6 using Python 2.7.12.final.0 5# Namespace http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd 6 7from __future__ import unicode_literals 8import pyxb 9import pyxb.binding 10import pyxb.binding.saxer 11import io 12import pyxb.utils.utility 13import pyxb.utils.domutils 14import sys 15import pyxb.utils.six as _six 16# Unique identifier for bindings created at the same time 17_GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:5fde95be-9099-11e7-b77e-3497f68b2e96') 18 19# Version of PyXB used to generate the bindings 20_PyXBVersion = '1.2.6' 21# Generated bindings are not compatible across PyXB versions 22if pyxb.__version__ != _PyXBVersion: 23 raise pyxb.PyXBVersionError(_PyXBVersion) 24 25# A holder for module-level binding classes so we can access them from 26# inside class definitions where property names may conflict. 27_module_typeBindings = pyxb.utils.utility.Object() 28 29# Import bindings for namespaces imported into schema 30import pyxb.bundles.wssplat.wsu 31import pyxb.binding.datatypes 32 33# NOTE: All namespace declarations are reserved within the binding 34Namespace = pyxb.namespace.NamespaceForURI('http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd', create_if_missing=True) 35Namespace.configureCategories(['typeBinding', 'elementBinding']) 36_Namespace_wsu = pyxb.bundles.wssplat.wsu.Namespace 37_Namespace_wsu.configureCategories(['typeBinding', 'elementBinding']) 38 39def CreateFromDocument (xml_text, default_namespace=None, location_base=None): 40 """Parse the given XML and use the document element to create a 41 Python instance. 42 43 @param xml_text An XML document. This should be data (Python 2 44 str or Python 3 bytes), or a text (Python 2 unicode or Python 3 45 str) in the L{pyxb._InputEncoding} encoding. 46 47 @keyword default_namespace The L{pyxb.Namespace} instance to use as the 48 default namespace where there is no default namespace in scope. 49 If unspecified or C{None}, the namespace of the module containing 50 this function will be used. 51 52 @keyword location_base: An object to be recorded as the base of all 53 L{pyxb.utils.utility.Location} instances associated with events and 54 objects handled by the parser. You might pass the URI from which 55 the document was obtained. 56 """ 57 58 if pyxb.XMLStyle_saxer != pyxb._XMLStyle: 59 dom = pyxb.utils.domutils.StringToDOM(xml_text) 60 return CreateFromDOM(dom.documentElement, default_namespace=default_namespace) 61 if default_namespace is None: 62 default_namespace = Namespace.fallbackNamespace() 63 saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base) 64 handler = saxer.getContentHandler() 65 xmld = xml_text 66 if isinstance(xmld, _six.text_type): 67 xmld = xmld.encode(pyxb._InputEncoding) 68 saxer.parse(io.BytesIO(xmld)) 69 instance = handler.rootObject() 70 return instance 71 72def CreateFromDOM (node, default_namespace=None): 73 """Create a Python instance from the given DOM node. 74 The node tag must correspond to an element declaration in this module. 75 76 @deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}.""" 77 if default_namespace is None: 78 default_namespace = Namespace.fallbackNamespace() 79 return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace) 80 81 82# List simple type: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}tUsage 83# superclasses pyxb.binding.datatypes.anySimpleType 84class tUsage (pyxb.binding.basis.STD_list): 85 86 """Typedef to allow a list of usages (as URIs).""" 87 88 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'tUsage') 89 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 76, 1) 90 _Documentation = 'Typedef to allow a list of usages (as URIs).' 91 92 _ItemType = pyxb.binding.datatypes.anyURI 93tUsage._InitializeFacetMap() 94Namespace.addCategoryObject('typeBinding', 'tUsage', tUsage) 95_module_typeBindings.tUsage = tUsage 96 97# Atomic simple type: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}FaultcodeEnum 98class FaultcodeEnum (pyxb.binding.datatypes.QName, pyxb.binding.basis.enumeration_mixin): 99 100 """An atomic simple type.""" 101 102 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'FaultcodeEnum') 103 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 184, 1) 104 _Documentation = None 105FaultcodeEnum._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=FaultcodeEnum, enum_prefix=None) 106FaultcodeEnum._CF_enumeration.addEnumeration(value=pyxb.namespace.ExpandedName(Namespace, 'UnsupportedSecurityToken'), tag=None) 107FaultcodeEnum._CF_enumeration.addEnumeration(value=pyxb.namespace.ExpandedName(Namespace, 'UnsupportedAlgorithm'), tag=None) 108FaultcodeEnum._CF_enumeration.addEnumeration(value=pyxb.namespace.ExpandedName(Namespace, 'InvalidSecurity'), tag=None) 109FaultcodeEnum._CF_enumeration.addEnumeration(value=pyxb.namespace.ExpandedName(Namespace, 'InvalidSecurityToken'), tag=None) 110FaultcodeEnum._CF_enumeration.addEnumeration(value=pyxb.namespace.ExpandedName(Namespace, 'FailedAuthentication'), tag=None) 111FaultcodeEnum._CF_enumeration.addEnumeration(value=pyxb.namespace.ExpandedName(Namespace, 'FailedCheck'), tag=None) 112FaultcodeEnum._CF_enumeration.addEnumeration(value=pyxb.namespace.ExpandedName(Namespace, 'SecurityTokenUnavailable'), tag=None) 113FaultcodeEnum._InitializeFacetMap(FaultcodeEnum._CF_enumeration) 114Namespace.addCategoryObject('typeBinding', 'FaultcodeEnum', FaultcodeEnum) 115_module_typeBindings.FaultcodeEnum = FaultcodeEnum 116 117# Complex type {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}AttributedString with content type SIMPLE 118class AttributedString (pyxb.binding.basis.complexTypeDefinition): 119 """This type represents an element with arbitrary attributes.""" 120 _TypeDefinition = pyxb.binding.datatypes.string 121 _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE 122 _Abstract = False 123 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'AttributedString') 124 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 14, 1) 125 _ElementMap = {} 126 _AttributeMap = {} 127 # Base type is pyxb.binding.datatypes.string 128 129 # Attribute {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id uses Python identifier Id 130 __Id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(_Namespace_wsu, 'Id'), 'Id', '__httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsd_AttributedString_httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_utility_1_0_xsdId', pyxb.binding.datatypes.ID) 131 __Id._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsu.xsd', 28, 1) 132 __Id._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 20, 4) 133 134 Id = property(__Id.value, __Id.set, None, '\nThis global attribute supports annotating arbitrary elements with an ID.\n ') 135 136 _AttributeWildcard = pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd')) 137 _ElementMap.update({ 138 139 }) 140 _AttributeMap.update({ 141 __Id.name() : __Id 142 }) 143_module_typeBindings.AttributedString = AttributedString 144Namespace.addCategoryObject('typeBinding', 'AttributedString', AttributedString) 145 146 147# Complex type {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameTokenType with content type ELEMENT_ONLY 148class UsernameTokenType (pyxb.binding.basis.complexTypeDefinition): 149 """This type represents a username token per Section 4.1""" 150 _TypeDefinition = None 151 _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY 152 _Abstract = False 153 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'UsernameTokenType') 154 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 45, 1) 155 _ElementMap = {} 156 _AttributeMap = {} 157 # Base type is pyxb.binding.datatypes.anyType 158 159 # Element {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Username uses Python identifier Username 160 __Username = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Username'), 'Username', '__httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsd_UsernameTokenType_httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsdUsername', False, pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 50, 3), ) 161 162 163 Username = property(__Username.value, __Username.set, None, None) 164 165 166 # Attribute {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id uses Python identifier Id 167 __Id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(_Namespace_wsu, 'Id'), 'Id', '__httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsd_UsernameTokenType_httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_utility_1_0_xsdId', pyxb.binding.datatypes.ID) 168 __Id._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsu.xsd', 28, 1) 169 __Id._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 53, 2) 170 171 Id = property(__Id.value, __Id.set, None, '\nThis global attribute supports annotating arbitrary elements with an ID.\n ') 172 173 _AttributeWildcard = pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd')) 174 _HasWildcardElement = True 175 _ElementMap.update({ 176 __Username.name() : __Username 177 }) 178 _AttributeMap.update({ 179 __Id.name() : __Id 180 }) 181_module_typeBindings.UsernameTokenType = UsernameTokenType 182Namespace.addCategoryObject('typeBinding', 'UsernameTokenType', UsernameTokenType) 183 184 185# Complex type {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}ReferenceType with content type EMPTY 186class ReferenceType (pyxb.binding.basis.complexTypeDefinition): 187 """This type represents a reference to an external security token.""" 188 _TypeDefinition = None 189 _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY 190 _Abstract = False 191 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'ReferenceType') 192 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 87, 1) 193 _ElementMap = {} 194 _AttributeMap = {} 195 # Base type is pyxb.binding.datatypes.anyType 196 197 # Attribute URI uses Python identifier URI 198 __URI = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'URI'), 'URI', '__httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsd_ReferenceType_URI', pyxb.binding.datatypes.anyURI) 199 __URI._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 91, 2) 200 __URI._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 91, 2) 201 202 URI = property(__URI.value, __URI.set, None, None) 203 204 205 # Attribute ValueType uses Python identifier ValueType 206 __ValueType = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'ValueType'), 'ValueType', '__httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsd_ReferenceType_ValueType', pyxb.binding.datatypes.anyURI) 207 __ValueType._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 92, 2) 208 __ValueType._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 92, 2) 209 210 ValueType = property(__ValueType.value, __ValueType.set, None, None) 211 212 _AttributeWildcard = pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd')) 213 _ElementMap.update({ 214 215 }) 216 _AttributeMap.update({ 217 __URI.name() : __URI, 218 __ValueType.name() : __ValueType 219 }) 220_module_typeBindings.ReferenceType = ReferenceType 221Namespace.addCategoryObject('typeBinding', 'ReferenceType', ReferenceType) 222 223 224# Complex type {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}EmbeddedType with content type ELEMENT_ONLY 225class EmbeddedType (pyxb.binding.basis.complexTypeDefinition): 226 """This type represents a reference to an embedded security token.""" 227 _TypeDefinition = None 228 _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY 229 _Abstract = False 230 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'EmbeddedType') 231 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 95, 1) 232 _ElementMap = {} 233 _AttributeMap = {} 234 # Base type is pyxb.binding.datatypes.anyType 235 236 # Attribute ValueType uses Python identifier ValueType 237 __ValueType = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'ValueType'), 'ValueType', '__httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsd_EmbeddedType_ValueType', pyxb.binding.datatypes.anyURI) 238 __ValueType._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 102, 2) 239 __ValueType._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 102, 2) 240 241 ValueType = property(__ValueType.value, __ValueType.set, None, None) 242 243 _AttributeWildcard = pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd')) 244 _HasWildcardElement = True 245 _ElementMap.update({ 246 247 }) 248 _AttributeMap.update({ 249 __ValueType.name() : __ValueType 250 }) 251_module_typeBindings.EmbeddedType = EmbeddedType 252Namespace.addCategoryObject('typeBinding', 'EmbeddedType', EmbeddedType) 253 254 255# Complex type {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityHeaderType with content type ELEMENT_ONLY 256class SecurityHeaderType (pyxb.binding.basis.complexTypeDefinition): 257 """This complexType defines header block to use for security-relevant data directed at a specific SOAP actor.""" 258 _TypeDefinition = None 259 _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY 260 _Abstract = False 261 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SecurityHeaderType') 262 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 116, 1) 263 _ElementMap = {} 264 _AttributeMap = {} 265 # Base type is pyxb.binding.datatypes.anyType 266 _AttributeWildcard = pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd')) 267 _HasWildcardElement = True 268 _ElementMap.update({ 269 270 }) 271 _AttributeMap.update({ 272 273 }) 274_module_typeBindings.SecurityHeaderType = SecurityHeaderType 275Namespace.addCategoryObject('typeBinding', 'SecurityHeaderType', SecurityHeaderType) 276 277 278# Complex type {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}TransformationParametersType with content type ELEMENT_ONLY 279class TransformationParametersType (pyxb.binding.basis.complexTypeDefinition): 280 """This complexType defines a container for elements to be specified from any namespace as properties/parameters of a DSIG transformation.""" 281 _TypeDefinition = None 282 _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY 283 _Abstract = False 284 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'TransformationParametersType') 285 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 129, 1) 286 _ElementMap = {} 287 _AttributeMap = {} 288 # Base type is pyxb.binding.datatypes.anyType 289 _AttributeWildcard = pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd')) 290 _HasWildcardElement = True 291 _ElementMap.update({ 292 293 }) 294 _AttributeMap.update({ 295 296 }) 297_module_typeBindings.TransformationParametersType = TransformationParametersType 298Namespace.addCategoryObject('typeBinding', 'TransformationParametersType', TransformationParametersType) 299 300 301# Complex type {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}PasswordString with content type SIMPLE 302class PasswordString (AttributedString): 303 """This type is used for password elements per Section 4.1.""" 304 _TypeDefinition = pyxb.binding.datatypes.string 305 _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE 306 _Abstract = False 307 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'PasswordString') 308 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 25, 1) 309 _ElementMap = AttributedString._ElementMap.copy() 310 _AttributeMap = AttributedString._AttributeMap.copy() 311 # Base type is AttributedString 312 313 # Attribute Type uses Python identifier Type 314 __Type = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'Type'), 'Type', '__httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsd_PasswordString_Type', pyxb.binding.datatypes.anyURI) 315 __Type._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 31, 4) 316 __Type._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 31, 4) 317 318 Type = property(__Type.value, __Type.set, None, None) 319 320 321 # Attribute Id inherited from {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}AttributedString 322 _AttributeWildcard = pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd')) 323 _ElementMap.update({ 324 325 }) 326 _AttributeMap.update({ 327 __Type.name() : __Type 328 }) 329_module_typeBindings.PasswordString = PasswordString 330Namespace.addCategoryObject('typeBinding', 'PasswordString', PasswordString) 331 332 333# Complex type {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}EncodedString with content type SIMPLE 334class EncodedString (AttributedString): 335 """This type is used for elements containing stringified binary data.""" 336 _TypeDefinition = pyxb.binding.datatypes.string 337 _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE 338 _Abstract = False 339 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'EncodedString') 340 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 35, 1) 341 _ElementMap = AttributedString._ElementMap.copy() 342 _AttributeMap = AttributedString._AttributeMap.copy() 343 # Base type is AttributedString 344 345 # Attribute EncodingType uses Python identifier EncodingType 346 __EncodingType = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'EncodingType'), 'EncodingType', '__httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsd_EncodedString_EncodingType', pyxb.binding.datatypes.anyURI) 347 __EncodingType._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 41, 4) 348 __EncodingType._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 41, 4) 349 350 EncodingType = property(__EncodingType.value, __EncodingType.set, None, None) 351 352 353 # Attribute Id inherited from {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}AttributedString 354 _AttributeWildcard = pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd')) 355 _ElementMap.update({ 356 357 }) 358 _AttributeMap.update({ 359 __EncodingType.name() : __EncodingType 360 }) 361_module_typeBindings.EncodedString = EncodedString 362Namespace.addCategoryObject('typeBinding', 'EncodedString', EncodedString) 363 364 365# Complex type {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityTokenReferenceType with content type ELEMENT_ONLY 366class SecurityTokenReferenceType (pyxb.binding.basis.complexTypeDefinition): 367 """This type is used reference a security token.""" 368 _TypeDefinition = None 369 _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY 370 _Abstract = False 371 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SecurityTokenReferenceType') 372 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 105, 1) 373 _ElementMap = {} 374 _AttributeMap = {} 375 # Base type is pyxb.binding.datatypes.anyType 376 377 # Attribute {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Usage uses Python identifier Usage 378 __Usage = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, 'Usage'), 'Usage', '__httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsd_SecurityTokenReferenceType_httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsdUsage', _module_typeBindings.tUsage) 379 __Usage._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 82, 1) 380 __Usage._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 113, 2) 381 382 Usage = property(__Usage.value, __Usage.set, None, 'This global attribute is used to indicate the usage of a referenced or indicated token within the containing context') 383 384 385 # Attribute {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id uses Python identifier Id 386 __Id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(_Namespace_wsu, 'Id'), 'Id', '__httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsd_SecurityTokenReferenceType_httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_utility_1_0_xsdId', pyxb.binding.datatypes.ID) 387 __Id._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsu.xsd', 28, 1) 388 __Id._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 112, 2) 389 390 Id = property(__Id.value, __Id.set, None, '\nThis global attribute supports annotating arbitrary elements with an ID.\n ') 391 392 _AttributeWildcard = pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd')) 393 _HasWildcardElement = True 394 _ElementMap.update({ 395 396 }) 397 _AttributeMap.update({ 398 __Usage.name() : __Usage, 399 __Id.name() : __Id 400 }) 401_module_typeBindings.SecurityTokenReferenceType = SecurityTokenReferenceType 402Namespace.addCategoryObject('typeBinding', 'SecurityTokenReferenceType', SecurityTokenReferenceType) 403 404 405# Complex type {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}BinarySecurityTokenType with content type SIMPLE 406class BinarySecurityTokenType (EncodedString): 407 """A security token that is encoded in binary""" 408 _TypeDefinition = pyxb.binding.datatypes.string 409 _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE 410 _Abstract = False 411 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'BinarySecurityTokenType') 412 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 56, 1) 413 _ElementMap = EncodedString._ElementMap.copy() 414 _AttributeMap = EncodedString._AttributeMap.copy() 415 # Base type is EncodedString 416 417 # Attribute EncodingType inherited from {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}EncodedString 418 419 # Attribute ValueType uses Python identifier ValueType 420 __ValueType = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'ValueType'), 'ValueType', '__httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsd_BinarySecurityTokenType_ValueType', pyxb.binding.datatypes.anyURI) 421 __ValueType._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 62, 4) 422 __ValueType._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 62, 4) 423 424 ValueType = property(__ValueType.value, __ValueType.set, None, None) 425 426 427 # Attribute Id inherited from {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}AttributedString 428 _AttributeWildcard = pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd')) 429 _ElementMap.update({ 430 431 }) 432 _AttributeMap.update({ 433 __ValueType.name() : __ValueType 434 }) 435_module_typeBindings.BinarySecurityTokenType = BinarySecurityTokenType 436Namespace.addCategoryObject('typeBinding', 'BinarySecurityTokenType', BinarySecurityTokenType) 437 438 439# Complex type {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}KeyIdentifierType with content type SIMPLE 440class KeyIdentifierType (EncodedString): 441 """A security token key identifier""" 442 _TypeDefinition = pyxb.binding.datatypes.string 443 _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE 444 _Abstract = False 445 _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'KeyIdentifierType') 446 _XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 66, 1) 447 _ElementMap = EncodedString._ElementMap.copy() 448 _AttributeMap = EncodedString._AttributeMap.copy() 449 # Base type is EncodedString 450 451 # Attribute EncodingType inherited from {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}EncodedString 452 453 # Attribute ValueType uses Python identifier ValueType 454 __ValueType = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'ValueType'), 'ValueType', '__httpdocs_oasis_open_orgwss200401oasis_200401_wss_wssecurity_secext_1_0_xsd_KeyIdentifierType_ValueType', pyxb.binding.datatypes.anyURI) 455 __ValueType._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 72, 4) 456 __ValueType._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 72, 4) 457 458 ValueType = property(__ValueType.value, __ValueType.set, None, None) 459 460 461 # Attribute Id inherited from {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}AttributedString 462 _AttributeWildcard = pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd')) 463 _ElementMap.update({ 464 465 }) 466 _AttributeMap.update({ 467 __ValueType.name() : __ValueType 468 }) 469_module_typeBindings.KeyIdentifierType = KeyIdentifierType 470Namespace.addCategoryObject('typeBinding', 'KeyIdentifierType', KeyIdentifierType) 471 472 473UsernameToken = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'UsernameToken'), UsernameTokenType, documentation='This element defines the wsse:UsernameToken element per Section 4.1.', location=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 142, 1)) 474Namespace.addCategoryObject('elementBinding', UsernameToken.name().localName(), UsernameToken) 475 476Reference = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Reference'), ReferenceType, documentation='This element defines a security token reference', location=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 152, 1)) 477Namespace.addCategoryObject('elementBinding', Reference.name().localName(), Reference) 478 479Embedded = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Embedded'), EmbeddedType, documentation='This element defines a security token embedded reference', location=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 157, 1)) 480Namespace.addCategoryObject('elementBinding', Embedded.name().localName(), Embedded) 481 482Security = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Security'), SecurityHeaderType, documentation='This element defines the wsse:Security SOAP header element per Section 4.', location=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 172, 1)) 483Namespace.addCategoryObject('elementBinding', Security.name().localName(), Security) 484 485TransformationParameters = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'TransformationParameters'), TransformationParametersType, documentation='This element contains properties for transformations from any namespace, including DSIG.', location=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 177, 1)) 486Namespace.addCategoryObject('elementBinding', TransformationParameters.name().localName(), TransformationParameters) 487 488SecurityTokenReference = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SecurityTokenReference'), SecurityTokenReferenceType, documentation='This element defines the wsse:SecurityTokenReference per Section 4.3.', location=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 167, 1)) 489Namespace.addCategoryObject('elementBinding', SecurityTokenReference.name().localName(), SecurityTokenReference) 490 491Password = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Password'), PasswordString, location=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 182, 1)) 492Namespace.addCategoryObject('elementBinding', Password.name().localName(), Password) 493 494Nonce = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Nonce'), EncodedString, location=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 183, 1)) 495Namespace.addCategoryObject('elementBinding', Nonce.name().localName(), Nonce) 496 497BinarySecurityToken = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'BinarySecurityToken'), BinarySecurityTokenType, documentation='This element defines the wsse:BinarySecurityToken element per Section 4.2.', location=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 147, 1)) 498Namespace.addCategoryObject('elementBinding', BinarySecurityToken.name().localName(), BinarySecurityToken) 499 500KeyIdentifier = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'KeyIdentifier'), KeyIdentifierType, documentation='This element defines a key identifier reference', location=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 162, 1)) 501Namespace.addCategoryObject('elementBinding', KeyIdentifier.name().localName(), KeyIdentifier) 502 503 504 505UsernameTokenType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Username'), AttributedString, scope=UsernameTokenType, location=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 50, 3))) 506 507def _BuildAutomaton (): 508 # Remove this helper function from the namespace after it is invoked 509 global _BuildAutomaton 510 del _BuildAutomaton 511 import pyxb.utils.fac as fac 512 513 counters = set() 514 cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 51, 3)) 515 counters.add(cc_0) 516 states = [] 517 final_update = set() 518 symbol = pyxb.binding.content.ElementUse(UsernameTokenType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Username')), pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 50, 3)) 519 st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) 520 states.append(st_0) 521 final_update = set() 522 final_update.add(fac.UpdateInstruction(cc_0, False)) 523 symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=pyxb.binding.content.Wildcard.NC_any), pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 51, 3)) 524 st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) 525 states.append(st_1) 526 transitions = [] 527 transitions.append(fac.Transition(st_1, [ 528 ])) 529 st_0._set_transitionSet(transitions) 530 transitions = [] 531 transitions.append(fac.Transition(st_1, [ 532 fac.UpdateInstruction(cc_0, True) ])) 533 st_1._set_transitionSet(transitions) 534 return fac.Automaton(states, counters, False, containing_state=None) 535UsernameTokenType._Automaton = _BuildAutomaton() 536 537 538 539 540def _BuildAutomaton_ (): 541 # Remove this helper function from the namespace after it is invoked 542 global _BuildAutomaton_ 543 del _BuildAutomaton_ 544 import pyxb.utils.fac as fac 545 546 counters = set() 547 cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 99, 2)) 548 counters.add(cc_0) 549 states = [] 550 final_update = set() 551 final_update.add(fac.UpdateInstruction(cc_0, False)) 552 symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=pyxb.binding.content.Wildcard.NC_any), pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 100, 3)) 553 st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) 554 states.append(st_0) 555 transitions = [] 556 transitions.append(fac.Transition(st_0, [ 557 fac.UpdateInstruction(cc_0, True) ])) 558 st_0._set_transitionSet(transitions) 559 return fac.Automaton(states, counters, True, containing_state=None) 560EmbeddedType._Automaton = _BuildAutomaton_() 561 562 563 564 565def _BuildAutomaton_2 (): 566 # Remove this helper function from the namespace after it is invoked 567 global _BuildAutomaton_2 568 del _BuildAutomaton_2 569 import pyxb.utils.fac as fac 570 571 counters = set() 572 cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 121, 3)) 573 counters.add(cc_0) 574 states = [] 575 final_update = set() 576 final_update.add(fac.UpdateInstruction(cc_0, False)) 577 symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=pyxb.binding.content.Wildcard.NC_any), pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 121, 3)) 578 st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) 579 states.append(st_0) 580 transitions = [] 581 transitions.append(fac.Transition(st_0, [ 582 fac.UpdateInstruction(cc_0, True) ])) 583 st_0._set_transitionSet(transitions) 584 return fac.Automaton(states, counters, True, containing_state=None) 585SecurityHeaderType._Automaton = _BuildAutomaton_2() 586 587 588 589 590def _BuildAutomaton_3 (): 591 # Remove this helper function from the namespace after it is invoked 592 global _BuildAutomaton_3 593 del _BuildAutomaton_3 594 import pyxb.utils.fac as fac 595 596 counters = set() 597 cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 134, 3)) 598 counters.add(cc_0) 599 states = [] 600 final_update = set() 601 final_update.add(fac.UpdateInstruction(cc_0, False)) 602 symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=pyxb.binding.content.Wildcard.NC_any), pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 134, 3)) 603 st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) 604 states.append(st_0) 605 transitions = [] 606 transitions.append(fac.Transition(st_0, [ 607 fac.UpdateInstruction(cc_0, True) ])) 608 st_0._set_transitionSet(transitions) 609 return fac.Automaton(states, counters, True, containing_state=None) 610TransformationParametersType._Automaton = _BuildAutomaton_3() 611 612 613 614 615def _BuildAutomaton_4 (): 616 # Remove this helper function from the namespace after it is invoked 617 global _BuildAutomaton_4 618 del _BuildAutomaton_4 619 import pyxb.utils.fac as fac 620 621 counters = set() 622 cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 109, 2)) 623 counters.add(cc_0) 624 states = [] 625 final_update = set() 626 final_update.add(fac.UpdateInstruction(cc_0, False)) 627 symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_lax, namespace_constraint=pyxb.binding.content.Wildcard.NC_any), pyxb.utils.utility.Location('/tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/wsse.xsd', 110, 3)) 628 st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) 629 states.append(st_0) 630 transitions = [] 631 transitions.append(fac.Transition(st_0, [ 632 fac.UpdateInstruction(cc_0, True) ])) 633 st_0._set_transitionSet(transitions) 634 return fac.Automaton(states, counters, True, containing_state=None) 635SecurityTokenReferenceType._Automaton = _BuildAutomaton_4() 636 637