home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 February / maximum-cd-2011-02.iso / DiscContents / digsby_setup85.exe / lib / ZSI / wstools / Namespaces.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-11-24  |  12.1 KB  |  228 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.6)
  3.  
  4. ident = '$Id: Namespaces.py 1160 2006-03-17 19:28:11Z boverhof $'
  5.  
  6. try:
  7.     from xml.ns import SOAP, SCHEMA, WSDL, XMLNS, DSIG, ENCRYPTION
  8.     DSIG.C14N = 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315'
  9. except:
  10.     
  11.     class SOAP:
  12.         ENV12 = 'http://www.w3.org/2003/05/soap-envelope'
  13.         ENV = ENV12
  14.         ENC12 = 'http://www.w3.org/2003/05/soap-encoding'
  15.         ENC = ENC12
  16.         ACTOR_NEXT = 'http://schemas.xmlsoap.org/soap/actor/next'
  17.  
  18.     
  19.     class SCHEMA:
  20.         XSD1 = 'http://www.w3.org/1999/XMLSchema'
  21.         XSD2 = 'http://www.w3.org/2000/10/XMLSchema'
  22.         XSD3 = 'http://www.w3.org/2001/XMLSchema'
  23.         XSD_LIST = [
  24.             XSD1,
  25.             XSD2,
  26.             XSD3]
  27.         XSI1 = 'http://www.w3.org/1999/XMLSchema-instance'
  28.         XSI2 = 'http://www.w3.org/2000/10/XMLSchema-instance'
  29.         XSI3 = 'http://www.w3.org/2001/XMLSchema-instance'
  30.         XSI_LIST = [
  31.             XSI1,
  32.             XSI2,
  33.             XSI3]
  34.         BASE = XSD3
  35.  
  36.     
  37.     class WSDL:
  38.         BASE = 'http://schemas.xmlsoap.org/wsdl/'
  39.         BIND_HTTP = 'http://schemas.xmlsoap.org/wsdl/http/'
  40.         BIND_MIME = 'http://schemas.xmlsoap.org/wsdl/mime/'
  41.         BIND_SOAP = 'http://schemas.xmlsoap.org/wsdl/soap/'
  42.         BIND_SOAP12 = 'http://schemas.xmlsoap.org/wsdl/soap12/'
  43.  
  44.     
  45.     class XMLNS:
  46.         BASE = 'http://www.w3.org/2000/xmlns/'
  47.         XML = 'http://www.w3.org/XML/1998/namespace'
  48.         HTML = 'http://www.w3.org/TR/REC-html40'
  49.  
  50.     
  51.     class DSIG:
  52.         BASE = 'http://www.w3.org/2000/09/xmldsig#'
  53.         C14N = 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315'
  54.         C14N_COMM = 'http://www.w3.org/TR/2000/CR-xml-c14n-20010315#WithComments'
  55.         C14N_EXCL = 'http://www.w3.org/2001/10/xml-exc-c14n#'
  56.         DIGEST_MD2 = 'http://www.w3.org/2000/09/xmldsig#md2'
  57.         DIGEST_MD5 = 'http://www.w3.org/2000/09/xmldsig#md5'
  58.         DIGEST_SHA1 = 'http://www.w3.org/2000/09/xmldsig#sha1'
  59.         ENC_BASE64 = 'http://www.w3.org/2000/09/xmldsig#base64'
  60.         ENVELOPED = 'http://www.w3.org/2000/09/xmldsig#enveloped-signature'
  61.         HMAC_SHA1 = 'http://www.w3.org/2000/09/xmldsig#hmac-sha1'
  62.         SIG_DSA_SHA1 = 'http://www.w3.org/2000/09/xmldsig#dsa-sha1'
  63.         SIG_RSA_SHA1 = 'http://www.w3.org/2000/09/xmldsig#rsa-sha1'
  64.         XPATH = 'http://www.w3.org/TR/1999/REC-xpath-19991116'
  65.         XSLT = 'http://www.w3.org/TR/1999/REC-xslt-19991116'
  66.  
  67.     
  68.     class ENCRYPTION:
  69.         BASE = 'http://www.w3.org/2001/04/xmlenc#'
  70.         BLOCK_3DES = 'http://www.w3.org/2001/04/xmlenc#des-cbc'
  71.         BLOCK_AES128 = 'http://www.w3.org/2001/04/xmlenc#aes128-cbc'
  72.         BLOCK_AES192 = 'http://www.w3.org/2001/04/xmlenc#aes192-cbc'
  73.         BLOCK_AES256 = 'http://www.w3.org/2001/04/xmlenc#aes256-cbc'
  74.         DIGEST_RIPEMD160 = 'http://www.w3.org/2001/04/xmlenc#ripemd160'
  75.         DIGEST_SHA256 = 'http://www.w3.org/2001/04/xmlenc#sha256'
  76.         DIGEST_SHA512 = 'http://www.w3.org/2001/04/xmlenc#sha512'
  77.         KA_DH = 'http://www.w3.org/2001/04/xmlenc#dh'
  78.         KT_RSA_1_5 = 'http://www.w3.org/2001/04/xmlenc#rsa-1_5'
  79.         KT_RSA_OAEP = 'http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p'
  80.         STREAM_ARCFOUR = 'http://www.w3.org/2001/04/xmlenc#arcfour'
  81.         WRAP_3DES = 'http://www.w3.org/2001/04/xmlenc#kw-3des'
  82.         WRAP_AES128 = 'http://www.w3.org/2001/04/xmlenc#kw-aes128'
  83.         WRAP_AES192 = 'http://www.w3.org/2001/04/xmlenc#kw-aes192'
  84.         WRAP_AES256 = 'http://www.w3.org/2001/04/xmlenc#kw-aes256'
  85.  
  86.  
  87.  
  88. class WSRF_V1_2:
  89.     
  90.     class LIFETIME:
  91.         XSD_DRAFT1 = 'http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd'
  92.         XSD_DRAFT4 = 'http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceLifetime-1.2-draft-04.xsd'
  93.         WSDL_DRAFT1 = 'http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl'
  94.         WSDL_DRAFT4 = 'http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceLifetime-1.2-draft-04.wsdl'
  95.         LATEST = WSDL_DRAFT4
  96.         WSDL_LIST = (WSDL_DRAFT1, WSDL_DRAFT4)
  97.         XSD_LIST = (XSD_DRAFT1, XSD_DRAFT4)
  98.  
  99.     
  100.     class PROPERTIES:
  101.         XSD_DRAFT1 = 'http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd'
  102.         XSD_DRAFT5 = 'http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceProperties-1.2-draft-05.xsd'
  103.         WSDL_DRAFT1 = 'http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl'
  104.         WSDL_DRAFT5 = 'http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceProperties-1.2-draft-05.wsdl'
  105.         LATEST = WSDL_DRAFT5
  106.         WSDL_LIST = (WSDL_DRAFT1, WSDL_DRAFT5)
  107.         XSD_LIST = (XSD_DRAFT1, XSD_DRAFT5)
  108.  
  109.     
  110.     class BASENOTIFICATION:
  111.         XSD_DRAFT1 = 'http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd'
  112.         WSDL_DRAFT1 = 'http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl'
  113.         LATEST = WSDL_DRAFT1
  114.         WSDL_LIST = (WSDL_DRAFT1,)
  115.         XSD_LIST = (XSD_DRAFT1,)
  116.  
  117.     
  118.     class BASEFAULTS:
  119.         XSD_DRAFT1 = 'http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd'
  120.         XSD_DRAFT3 = 'http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-BaseFaults-1.2-draft-03.xsd'
  121.         XSD_LIST = (XSD_DRAFT1, XSD_DRAFT3)
  122.  
  123.  
  124. WSRF = WSRF_V1_2
  125. WSRFLIST = (WSRF_V1_2,)
  126.  
  127. class OASIS:
  128.     WSSE = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
  129.     UTILITY = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'
  130.     
  131.     class X509TOKEN:
  132.         Base64Binary = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary'
  133.         STRTransform = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0'
  134.         PKCS7 = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#PKCS7'
  135.         X509 = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509'
  136.         X509PKIPathv1 = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509PKIPathv1'
  137.         X509v3SubjectKeyIdentifier = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3SubjectKeyIdentifier'
  138.  
  139.     LIFETIME = WSRF_V1_2.LIFETIME.XSD_DRAFT1
  140.     PROPERTIES = WSRF_V1_2.PROPERTIES.XSD_DRAFT1
  141.     BASENOTIFICATION = WSRF_V1_2.BASENOTIFICATION.XSD_DRAFT1
  142.     BASEFAULTS = WSRF_V1_2.BASEFAULTS.XSD_DRAFT1
  143.  
  144.  
  145. class WSTRUST200404:
  146.     BASE = 'http://schemas.xmlsoap.org/ws/2004/04/trust'
  147.     ISSUE = 'http://schemas.xmlsoap.org/ws/2004/04/trust/Issue'
  148.  
  149.  
  150. class WSTRUST200502:
  151.     BASE = 'http://schemas.xmlsoap.org/ws/2005/02/trust'
  152.     ISSUE = 'http://schemas.xmlsoap.org/ws/2005/02/trust/Issue'
  153.     CONV = 'http://schemas.xmlsoap.org/ws/2005/02/sc'
  154.  
  155. WSTRUST = WSTRUST200502
  156. WSTRUST_LIST = (WSTRUST200502, WSTRUST200404)
  157.  
  158. class WSSE200204:
  159.     BASE = 'http://schemas.xmlsoap.org/ws/2002/04/secext'
  160.     TRUST = WSTRUST.BASE
  161.  
  162.  
  163. class WSSE200306:
  164.     BASE = 'http://schemas.xmlsoap.org/ws/2003/06/secext'
  165.     TRUST = WSTRUST.BASE
  166.  
  167. WSSE = WSSE200306
  168.  
  169. class WSU:
  170.     BASE = 'http://schemas.xmlsoap.org/ws/2002/04/utility'
  171.     UTILITY = 'http://schemas.xmlsoap.org/ws/2002/07/utility'
  172.  
  173.  
  174. class WSR:
  175.     PROPERTIES = 'http://www.ibm.com/xmlns/stdwip/web-services/WS-ResourceProperties'
  176.     LIFETIME = 'http://www.ibm.com/xmlns/stdwip/web-services/WS-ResourceLifetime'
  177.  
  178.  
  179. class WSA200303:
  180.     ADDRESS = 'http://schemas.xmlsoap.org/ws/2003/03/addressing'
  181.     ANONYMOUS = '%s/role/anonymous' % ADDRESS
  182.     FAULT = None
  183.     RM = 'http://schemas.xmlsoap.org/ws/2003/03/rm'
  184.  
  185.  
  186. class WSA200408(WSA200303):
  187.     ADDRESS = 'http://schemas.xmlsoap.org/ws/2004/08/addressing'
  188.     ANONYMOUS = '%s/role/anonymous' % ADDRESS
  189.     FAULT = '%s/fault' % ADDRESS
  190.  
  191.  
  192. class WSA200403(WSA200408):
  193.     ADDRESS = 'http://schemas.xmlsoap.org/ws/2004/03/addressing'
  194.     ANONYMOUS = '%s/role/anonymous' % ADDRESS
  195.     FAULT = '%s/fault' % ADDRESS
  196.  
  197.  
  198. class WSA200508(WSA200403):
  199.     ADDRESS = 'http://www.w3.org/2005/08/addressing'
  200.     ANONYMOUS = '%s/role/anonymous' % ADDRESS
  201.     FAULT = '%s/fault' % ADDRESS
  202.  
  203. WSA = WSA200508
  204. WSA_LIST = (WSA200508, WSA200408, WSA200403, WSA200303)
  205.  
  206. class WSP200212:
  207.     POLICY = 'http://schemas.xmlsoap.org/ws/2002/12/policy'
  208.  
  209.  
  210. class WSP200409:
  211.     POLICY = 'http://schemas.xmlsoap.org/ws/2004/09/policy'
  212.  
  213. WSP = WSP200409
  214. WSP_LIST = (WSP200212, WSP200409)
  215.  
  216. class BEA:
  217.     SECCONV = 'http://schemas.xmlsoap.org/ws/2004/04/sc'
  218.     SCTOKEN = 'http://schemas.xmlsoap.org/ws/2004/04/security/sc/sct'
  219.  
  220.  
  221. class GLOBUS:
  222.     SECCONV = 'http://wsrf.globus.org/core/2004/07/security/secconv'
  223.     CORE = 'http://www.globus.org/namespaces/2004/06/core'
  224.     SIG = 'http://www.globus.org/2002/04/xmlenc#gssapi-sign'
  225.     TOKEN = 'http://www.globus.org/ws/2004/09/security/sc#GSSAPI_GSI_TOKEN'
  226.  
  227. ZSI_SCHEMA_URI = 'http://www.zolera.com/schemas/ZSI/'
  228.