home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 February / maximum-cd-2011-02.iso / DiscContents / digsby_setup85.exe / lib / msn / SOAP / xml / ds.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-11-24  |  46.8 KB  |  1,309 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.6)
  3.  
  4. import ZSI
  5. import ZSI.TCcompound as ZSI
  6. import ZSI.wstools.Namespaces as NS
  7. from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED
  8. from ZSI.generate.pyclass import pyclass_type
  9.  
  10. class ds:
  11.     targetNamespace = NS.DSIG.BASE
  12.     
  13.     class CryptoBinary_Def(ZSI.TC.Base64String, TypeDefinition):
  14.         schema = NS.DSIG.BASE
  15.         type = (schema, 'CryptoBinary')
  16.         
  17.         def __init__(self, pname, **kw):
  18.             ZSI.TC.Base64String.__init__(self, pname, pyclass = None, **kw)
  19.             
  20.             class Holder((str,)):
  21.                 typecode = self
  22.  
  23.             self.pyclass = Holder
  24.  
  25.  
  26.     
  27.     class SignatureType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  28.         schema = NS.DSIG.BASE
  29.         type = (schema, 'SignatureType')
  30.         
  31.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  32.             ns = ds.SignatureType_Def.schema
  33.             TClist = [
  34.                 GED(NS.DSIG.BASE, 'SignedInfo', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  35.                 GED(NS.DSIG.BASE, 'SignatureValue', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  36.                 GED(NS.DSIG.BASE, 'KeyInfo', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  37.                 GED(NS.DSIG.BASE, 'Object', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded'))]
  38.             if not attributes:
  39.                 pass
  40.             self.attribute_typecode_dict = { }
  41.             if extend:
  42.                 TClist += ofwhat
  43.             
  44.             if restrict:
  45.                 TClist = ofwhat
  46.             else:
  47.                 self.attribute_typecode_dict['Id'] = ZSI.TC.AnyType()
  48.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  49.             
  50.             class Holder(()):
  51.                 __metaclass__ = pyclass_type
  52.                 typecode = self
  53.                 
  54.                 def __init__(self):
  55.                     self._SignedInfo = None
  56.                     self._SignatureValue = None
  57.                     self._KeyInfo = None
  58.                     self._Object = None
  59.  
  60.  
  61.             Holder.__name__ = 'SignatureType_Holder'
  62.             self.pyclass = Holder
  63.  
  64.  
  65.     
  66.     class SignatureValueType_Def(ZSI.TC.Base64String, TypeDefinition):
  67.         schema = NS.DSIG.BASE
  68.         type = (schema, 'SignatureValueType')
  69.         
  70.         def __init__(self, pname, **kw):
  71.             if getattr(self, 'attribute_typecode_dict', None) is None:
  72.                 self.attribute_typecode_dict = { }
  73.             
  74.             self.attribute_typecode_dict['Id'] = ZSI.TC.AnyType()
  75.             ZSI.TC.Base64String.__init__(self, pname, **kw)
  76.             
  77.             class Holder((str,)):
  78.                 __metaclass__ = pyclass_type
  79.                 typecode = self
  80.  
  81.             self.pyclass = Holder
  82.  
  83.  
  84.     
  85.     class SignedInfoType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  86.         schema = NS.DSIG.BASE
  87.         type = (schema, 'SignedInfoType')
  88.         
  89.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  90.             ns = ds.SignedInfoType_Def.schema
  91.             TClist = [
  92.                 GED(NS.DSIG.BASE, 'CanonicalizationMethod', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  93.                 GED(NS.DSIG.BASE, 'SignatureMethod', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  94.                 GED(NS.DSIG.BASE, 'Reference', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded'))]
  95.             if not attributes:
  96.                 pass
  97.             self.attribute_typecode_dict = { }
  98.             if extend:
  99.                 TClist += ofwhat
  100.             
  101.             if restrict:
  102.                 TClist = ofwhat
  103.             else:
  104.                 self.attribute_typecode_dict['Id'] = ZSI.TC.AnyType()
  105.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  106.             
  107.             class Holder(()):
  108.                 __metaclass__ = pyclass_type
  109.                 typecode = self
  110.                 
  111.                 def __init__(self):
  112.                     self._CanonicalizationMethod = None
  113.                     self._SignatureMethod = None
  114.                     self._Reference = None
  115.  
  116.  
  117.             Holder.__name__ = 'SignedInfoType_Holder'
  118.             self.pyclass = Holder
  119.  
  120.  
  121.     
  122.     class CanonicalizationMethodType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  123.         schema = NS.DSIG.BASE
  124.         type = (schema, 'CanonicalizationMethodType')
  125.         
  126.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  127.             ns = ds.CanonicalizationMethodType_Def.schema
  128.             TClist = [
  129.                 ZSI.TC.AnyElement(aname = '_any', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, processContents = 'strict')]
  130.             if not attributes:
  131.                 pass
  132.             self.attribute_typecode_dict = { }
  133.             if extend:
  134.                 TClist += ofwhat
  135.             
  136.             if restrict:
  137.                 TClist = ofwhat
  138.             else:
  139.                 self.attribute_typecode_dict['Algorithm'] = ZSI.TC.URI()
  140.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, mixed = True, mixed_aname = '_text', **kw)
  141.             
  142.             class Holder(()):
  143.                 __metaclass__ = pyclass_type
  144.                 typecode = self
  145.                 
  146.                 def __init__(self):
  147.                     self._any = []
  148.  
  149.  
  150.             Holder.__name__ = 'CanonicalizationMethodType_Holder'
  151.             self.pyclass = Holder
  152.  
  153.  
  154.     
  155.     class SignatureMethodType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  156.         schema = NS.DSIG.BASE
  157.         type = (schema, 'SignatureMethodType')
  158.         
  159.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  160.             ns = ds.SignatureMethodType_Def.schema
  161.             TClist = [
  162.                 GTD(NS.DSIG.BASE, 'HMACOutputLengthType', lazy = False)(pname = (ns, 'HMACOutputLength'), aname = '_HMACOutputLength', minOccurs = 0, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded')),
  163.                 ZSI.TC.AnyElement(aname = '_any', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, processContents = 'strict')]
  164.             if not attributes:
  165.                 pass
  166.             self.attribute_typecode_dict = { }
  167.             if extend:
  168.                 TClist += ofwhat
  169.             
  170.             if restrict:
  171.                 TClist = ofwhat
  172.             else:
  173.                 self.attribute_typecode_dict['Algorithm'] = ZSI.TC.URI()
  174.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, mixed = True, mixed_aname = '_text', **kw)
  175.             
  176.             class Holder(()):
  177.                 __metaclass__ = pyclass_type
  178.                 typecode = self
  179.                 
  180.                 def __init__(self):
  181.                     self._HMACOutputLength = None
  182.                     self._any = []
  183.  
  184.  
  185.             Holder.__name__ = 'SignatureMethodType_Holder'
  186.             self.pyclass = Holder
  187.  
  188.  
  189.     
  190.     class ReferenceType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  191.         schema = NS.DSIG.BASE
  192.         type = (schema, 'ReferenceType')
  193.         
  194.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  195.             ns = ds.ReferenceType_Def.schema
  196.             TClist = [
  197.                 GED(NS.DSIG.BASE, 'Transforms', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  198.                 GED(NS.DSIG.BASE, 'DigestMethod', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  199.                 GED(NS.DSIG.BASE, 'DigestValue', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 1, nillable = False, encoded = kw.get('encoded'))]
  200.             if not attributes:
  201.                 pass
  202.             self.attribute_typecode_dict = { }
  203.             if extend:
  204.                 TClist += ofwhat
  205.             
  206.             if restrict:
  207.                 TClist = ofwhat
  208.             else:
  209.                 self.attribute_typecode_dict['Id'] = ZSI.TC.AnyType()
  210.                 self.attribute_typecode_dict['URI'] = ZSI.TC.URI()
  211.                 self.attribute_typecode_dict['Type'] = ZSI.TC.URI()
  212.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  213.             
  214.             class Holder(()):
  215.                 __metaclass__ = pyclass_type
  216.                 typecode = self
  217.                 
  218.                 def __init__(self):
  219.                     self._Transforms = None
  220.                     self._DigestMethod = None
  221.                     self._DigestValue = None
  222.  
  223.  
  224.             Holder.__name__ = 'ReferenceType_Holder'
  225.             self.pyclass = Holder
  226.  
  227.  
  228.     
  229.     class TransformsType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  230.         schema = NS.DSIG.BASE
  231.         type = (schema, 'TransformsType')
  232.         
  233.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  234.             ns = ds.TransformsType_Def.schema
  235.             TClist = [
  236.                 GED(NS.DSIG.BASE, 'Transform', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded'))]
  237.             if not attributes:
  238.                 pass
  239.             self.attribute_typecode_dict = { }
  240.             if extend:
  241.                 TClist += ofwhat
  242.             
  243.             if restrict:
  244.                 TClist = ofwhat
  245.             
  246.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  247.             
  248.             class Holder(()):
  249.                 __metaclass__ = pyclass_type
  250.                 typecode = self
  251.                 
  252.                 def __init__(self):
  253.                     self._Transform = None
  254.  
  255.  
  256.             Holder.__name__ = 'TransformsType_Holder'
  257.             self.pyclass = Holder
  258.  
  259.  
  260.     
  261.     class TransformType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  262.         schema = NS.DSIG.BASE
  263.         type = (schema, 'TransformType')
  264.         
  265.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  266.             ns = ds.TransformType_Def.schema
  267.             TClist = [
  268.                 ZSI.TC.AnyElement(aname = '_any', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, processContents = 'lax'),
  269.                 ZSI.TC.String(pname = (ns, 'XPath'), aname = '_XPath', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, typed = False, encoded = kw.get('encoded'))]
  270.             if not attributes:
  271.                 pass
  272.             self.attribute_typecode_dict = { }
  273.             if extend:
  274.                 TClist += ofwhat
  275.             
  276.             if restrict:
  277.                 TClist = ofwhat
  278.             else:
  279.                 self.attribute_typecode_dict['Algorithm'] = ZSI.TC.URI()
  280.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, mixed = True, mixed_aname = '_text', **kw)
  281.             
  282.             class Holder(()):
  283.                 __metaclass__ = pyclass_type
  284.                 typecode = self
  285.                 
  286.                 def __init__(self):
  287.                     self._any = []
  288.                     self._XPath = []
  289.  
  290.  
  291.             Holder.__name__ = 'TransformType_Holder'
  292.             self.pyclass = Holder
  293.  
  294.  
  295.     
  296.     class DigestMethodType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  297.         schema = NS.DSIG.BASE
  298.         type = (schema, 'DigestMethodType')
  299.         
  300.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  301.             ns = ds.DigestMethodType_Def.schema
  302.             TClist = [
  303.                 ZSI.TC.AnyElement(aname = '_any', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, processContents = 'lax')]
  304.             if not attributes:
  305.                 pass
  306.             self.attribute_typecode_dict = { }
  307.             if extend:
  308.                 TClist += ofwhat
  309.             
  310.             if restrict:
  311.                 TClist = ofwhat
  312.             else:
  313.                 self.attribute_typecode_dict['Algorithm'] = ZSI.TC.URI()
  314.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, mixed = True, mixed_aname = '_text', **kw)
  315.             
  316.             class Holder(()):
  317.                 __metaclass__ = pyclass_type
  318.                 typecode = self
  319.                 
  320.                 def __init__(self):
  321.                     self._any = []
  322.  
  323.  
  324.             Holder.__name__ = 'DigestMethodType_Holder'
  325.             self.pyclass = Holder
  326.  
  327.  
  328.     
  329.     class DigestValueType_Def(ZSI.TC.Base64String, TypeDefinition):
  330.         schema = NS.DSIG.BASE
  331.         type = (schema, 'DigestValueType')
  332.         
  333.         def __init__(self, pname, **kw):
  334.             ZSI.TC.Base64String.__init__(self, pname, pyclass = None, **kw)
  335.             
  336.             class Holder((str,)):
  337.                 typecode = self
  338.  
  339.             self.pyclass = Holder
  340.  
  341.  
  342.     
  343.     class KeyInfoType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  344.         schema = NS.DSIG.BASE
  345.         type = (schema, 'KeyInfoType')
  346.         
  347.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  348.             ns = ds.KeyInfoType_Def.schema
  349.             TClist = [
  350.                 GED(NS.DSIG.BASE, 'KeyName', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  351.                 GED(NS.DSIG.BASE, 'KeyValue', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  352.                 GED(NS.DSIG.BASE, 'RetrievalMethod', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  353.                 GED(NS.DSIG.BASE, 'X509Data', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  354.                 GED(NS.DSIG.BASE, 'PGPData', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  355.                 GED(NS.DSIG.BASE, 'SPKIData', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  356.                 GED(NS.DSIG.BASE, 'MgmtData', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  357.                 ZSI.TC.AnyElement(aname = '_any', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, processContents = 'lax')]
  358.             if not attributes:
  359.                 pass
  360.             self.attribute_typecode_dict = { }
  361.             if extend:
  362.                 TClist += ofwhat
  363.             
  364.             if restrict:
  365.                 TClist = ofwhat
  366.             else:
  367.                 self.attribute_typecode_dict['Id'] = ZSI.TC.AnyType()
  368.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, mixed = True, mixed_aname = '_text', **kw)
  369.             
  370.             class Holder(()):
  371.                 __metaclass__ = pyclass_type
  372.                 typecode = self
  373.                 
  374.                 def __init__(self):
  375.                     self._KeyName = None
  376.                     self._KeyValue = None
  377.                     self._RetrievalMethod = None
  378.                     self._X509Data = None
  379.                     self._PGPData = None
  380.                     self._SPKIData = None
  381.                     self._MgmtData = None
  382.                     self._any = []
  383.  
  384.  
  385.             Holder.__name__ = 'KeyInfoType_Holder'
  386.             self.pyclass = Holder
  387.  
  388.  
  389.     
  390.     class KeyValueType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  391.         schema = NS.DSIG.BASE
  392.         type = (schema, 'KeyValueType')
  393.         
  394.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  395.             ns = ds.KeyValueType_Def.schema
  396.             TClist = [
  397.                 GED(NS.DSIG.BASE, 'DSAKeyValue', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  398.                 GED(NS.DSIG.BASE, 'RSAKeyValue', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  399.                 ZSI.TC.AnyElement(aname = '_any', minOccurs = 0, maxOccurs = 1, nillable = False, processContents = 'lax')]
  400.             if not attributes:
  401.                 pass
  402.             self.attribute_typecode_dict = { }
  403.             if extend:
  404.                 TClist += ofwhat
  405.             
  406.             if restrict:
  407.                 TClist = ofwhat
  408.             
  409.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, mixed = True, mixed_aname = '_text', **kw)
  410.             
  411.             class Holder(()):
  412.                 __metaclass__ = pyclass_type
  413.                 typecode = self
  414.                 
  415.                 def __init__(self):
  416.                     self._DSAKeyValue = None
  417.                     self._RSAKeyValue = None
  418.                     self._any = None
  419.  
  420.  
  421.             Holder.__name__ = 'KeyValueType_Holder'
  422.             self.pyclass = Holder
  423.  
  424.  
  425.     
  426.     class RetrievalMethodType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  427.         schema = NS.DSIG.BASE
  428.         type = (schema, 'RetrievalMethodType')
  429.         
  430.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  431.             ns = ds.RetrievalMethodType_Def.schema
  432.             TClist = [
  433.                 GED(NS.DSIG.BASE, 'Transforms', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded'))]
  434.             if not attributes:
  435.                 pass
  436.             self.attribute_typecode_dict = { }
  437.             if extend:
  438.                 TClist += ofwhat
  439.             
  440.             if restrict:
  441.                 TClist = ofwhat
  442.             else:
  443.                 self.attribute_typecode_dict['URI'] = ZSI.TC.URI()
  444.                 self.attribute_typecode_dict['Type'] = ZSI.TC.URI()
  445.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  446.             
  447.             class Holder(()):
  448.                 __metaclass__ = pyclass_type
  449.                 typecode = self
  450.                 
  451.                 def __init__(self):
  452.                     self._Transforms = None
  453.  
  454.  
  455.             Holder.__name__ = 'RetrievalMethodType_Holder'
  456.             self.pyclass = Holder
  457.  
  458.  
  459.     
  460.     class X509DataType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  461.         schema = NS.DSIG.BASE
  462.         type = (schema, 'X509DataType')
  463.         
  464.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  465.             ns = ds.X509DataType_Def.schema
  466.             TClist = [
  467.                 GTD(NS.DSIG.BASE, 'X509IssuerSerialType', lazy = False)(pname = (ns, 'X509IssuerSerial'), aname = '_X509IssuerSerial', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, typed = False, encoded = kw.get('encoded')),
  468.                 ZSI.TC.Base64String(pname = (ns, 'X509SKI'), aname = '_X509SKI', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, typed = False, encoded = kw.get('encoded')),
  469.                 ZSI.TC.String(pname = (ns, 'X509SubjectName'), aname = '_X509SubjectName', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, typed = False, encoded = kw.get('encoded')),
  470.                 ZSI.TC.Base64String(pname = (ns, 'X509Certificate'), aname = '_X509Certificate', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, typed = False, encoded = kw.get('encoded')),
  471.                 ZSI.TC.Base64String(pname = (ns, 'X509CRL'), aname = '_X509CRL', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, typed = False, encoded = kw.get('encoded')),
  472.                 ZSI.TC.AnyElement(aname = '_any', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, processContents = 'lax')]
  473.             if not attributes:
  474.                 pass
  475.             self.attribute_typecode_dict = { }
  476.             if extend:
  477.                 TClist += ofwhat
  478.             
  479.             if restrict:
  480.                 TClist = ofwhat
  481.             
  482.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  483.             
  484.             class Holder(()):
  485.                 __metaclass__ = pyclass_type
  486.                 typecode = self
  487.                 
  488.                 def __init__(self):
  489.                     self._X509IssuerSerial = []
  490.                     self._X509SKI = []
  491.                     self._X509SubjectName = []
  492.                     self._X509Certificate = []
  493.                     self._X509CRL = []
  494.                     self._any = []
  495.  
  496.  
  497.             Holder.__name__ = 'X509DataType_Holder'
  498.             self.pyclass = Holder
  499.  
  500.  
  501.     
  502.     class X509IssuerSerialType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  503.         schema = NS.DSIG.BASE
  504.         type = (schema, 'X509IssuerSerialType')
  505.         
  506.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  507.             ns = ds.X509IssuerSerialType_Def.schema
  508.             TClist = [
  509.                 ZSI.TC.String(pname = (ns, 'X509IssuerName'), aname = '_X509IssuerName', minOccurs = 1, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded')),
  510.                 ZSI.TCnumbers.Iinteger(pname = (ns, 'X509SerialNumber'), aname = '_X509SerialNumber', minOccurs = 1, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded'))]
  511.             if not attributes:
  512.                 pass
  513.             self.attribute_typecode_dict = { }
  514.             if extend:
  515.                 TClist += ofwhat
  516.             
  517.             if restrict:
  518.                 TClist = ofwhat
  519.             
  520.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  521.             
  522.             class Holder(()):
  523.                 __metaclass__ = pyclass_type
  524.                 typecode = self
  525.                 
  526.                 def __init__(self):
  527.                     self._X509IssuerName = None
  528.                     self._X509SerialNumber = None
  529.  
  530.  
  531.             Holder.__name__ = 'X509IssuerSerialType_Holder'
  532.             self.pyclass = Holder
  533.  
  534.  
  535.     
  536.     class PGPDataType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  537.         schema = NS.DSIG.BASE
  538.         type = (schema, 'PGPDataType')
  539.         
  540.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  541.             ns = ds.PGPDataType_Def.schema
  542.             TClist = [
  543.                 ZSI.TC.Base64String(pname = (ns, 'PGPKeyID'), aname = '_PGPKeyID', minOccurs = 0, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded')),
  544.                 ZSI.TC.Base64String(pname = (ns, 'PGPKeyPacket'), aname = '_PGPKeyPacket', minOccurs = 0, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded')),
  545.                 ZSI.TC.AnyElement(aname = '_any', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, processContents = 'lax')]
  546.             if not attributes:
  547.                 pass
  548.             self.attribute_typecode_dict = { }
  549.             if extend:
  550.                 TClist += ofwhat
  551.             
  552.             if restrict:
  553.                 TClist = ofwhat
  554.             
  555.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  556.             
  557.             class Holder(()):
  558.                 __metaclass__ = pyclass_type
  559.                 typecode = self
  560.                 
  561.                 def __init__(self):
  562.                     self._PGPKeyID = None
  563.                     self._PGPKeyPacket = None
  564.                     self._any = []
  565.                     self._PGPKeyPacket = None
  566.                     self._any = []
  567.  
  568.  
  569.             Holder.__name__ = 'PGPDataType_Holder'
  570.             self.pyclass = Holder
  571.  
  572.  
  573.     
  574.     class SPKIDataType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  575.         schema = NS.DSIG.BASE
  576.         type = (schema, 'SPKIDataType')
  577.         
  578.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  579.             ns = ds.SPKIDataType_Def.schema
  580.             TClist = [
  581.                 ZSI.TC.Base64String(pname = (ns, 'SPKISexp'), aname = '_SPKISexp', minOccurs = 1, maxOccurs = 'unbounded', nillable = False, typed = False, encoded = kw.get('encoded')),
  582.                 ZSI.TC.AnyElement(aname = '_any', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, processContents = 'lax')]
  583.             if not attributes:
  584.                 pass
  585.             self.attribute_typecode_dict = { }
  586.             if extend:
  587.                 TClist += ofwhat
  588.             
  589.             if restrict:
  590.                 TClist = ofwhat
  591.             
  592.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  593.             
  594.             class Holder(()):
  595.                 __metaclass__ = pyclass_type
  596.                 typecode = self
  597.                 
  598.                 def __init__(self):
  599.                     self._SPKISexp = []
  600.                     self._any = []
  601.  
  602.  
  603.             Holder.__name__ = 'SPKIDataType_Holder'
  604.             self.pyclass = Holder
  605.  
  606.  
  607.     
  608.     class ObjectType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  609.         schema = NS.DSIG.BASE
  610.         type = (schema, 'ObjectType')
  611.         
  612.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  613.             ns = ds.ObjectType_Def.schema
  614.             TClist = [
  615.                 ZSI.TC.AnyElement(aname = '_any', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, processContents = 'lax')]
  616.             if not attributes:
  617.                 pass
  618.             self.attribute_typecode_dict = { }
  619.             if extend:
  620.                 TClist += ofwhat
  621.             
  622.             if restrict:
  623.                 TClist = ofwhat
  624.             else:
  625.                 self.attribute_typecode_dict['Id'] = ZSI.TC.AnyType()
  626.                 self.attribute_typecode_dict['MimeType'] = ZSI.TC.String()
  627.                 self.attribute_typecode_dict['Encoding'] = ZSI.TC.URI()
  628.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, mixed = True, mixed_aname = '_text', **kw)
  629.             
  630.             class Holder(()):
  631.                 __metaclass__ = pyclass_type
  632.                 typecode = self
  633.                 
  634.                 def __init__(self):
  635.                     self._any = []
  636.  
  637.  
  638.             Holder.__name__ = 'ObjectType_Holder'
  639.             self.pyclass = Holder
  640.  
  641.  
  642.     
  643.     class ManifestType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  644.         schema = NS.DSIG.BASE
  645.         type = (schema, 'ManifestType')
  646.         
  647.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  648.             ns = ds.ManifestType_Def.schema
  649.             TClist = [
  650.                 GED(NS.DSIG.BASE, 'Reference', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded'))]
  651.             if not attributes:
  652.                 pass
  653.             self.attribute_typecode_dict = { }
  654.             if extend:
  655.                 TClist += ofwhat
  656.             
  657.             if restrict:
  658.                 TClist = ofwhat
  659.             else:
  660.                 self.attribute_typecode_dict['Id'] = ZSI.TC.AnyType()
  661.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  662.             
  663.             class Holder(()):
  664.                 __metaclass__ = pyclass_type
  665.                 typecode = self
  666.                 
  667.                 def __init__(self):
  668.                     self._Reference = None
  669.  
  670.  
  671.             Holder.__name__ = 'ManifestType_Holder'
  672.             self.pyclass = Holder
  673.  
  674.  
  675.     
  676.     class SignaturePropertiesType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  677.         schema = NS.DSIG.BASE
  678.         type = (schema, 'SignaturePropertiesType')
  679.         
  680.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  681.             ns = ds.SignaturePropertiesType_Def.schema
  682.             TClist = [
  683.                 GED(NS.DSIG.BASE, 'SignatureProperty', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded'))]
  684.             if not attributes:
  685.                 pass
  686.             self.attribute_typecode_dict = { }
  687.             if extend:
  688.                 TClist += ofwhat
  689.             
  690.             if restrict:
  691.                 TClist = ofwhat
  692.             else:
  693.                 self.attribute_typecode_dict['Id'] = ZSI.TC.AnyType()
  694.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  695.             
  696.             class Holder(()):
  697.                 __metaclass__ = pyclass_type
  698.                 typecode = self
  699.                 
  700.                 def __init__(self):
  701.                     self._SignatureProperty = None
  702.  
  703.  
  704.             Holder.__name__ = 'SignaturePropertiesType_Holder'
  705.             self.pyclass = Holder
  706.  
  707.  
  708.     
  709.     class SignaturePropertyType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  710.         schema = NS.DSIG.BASE
  711.         type = (schema, 'SignaturePropertyType')
  712.         
  713.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  714.             ns = ds.SignaturePropertyType_Def.schema
  715.             TClist = [
  716.                 ZSI.TC.AnyElement(aname = '_any', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, processContents = 'lax')]
  717.             if not attributes:
  718.                 pass
  719.             self.attribute_typecode_dict = { }
  720.             if extend:
  721.                 TClist += ofwhat
  722.             
  723.             if restrict:
  724.                 TClist = ofwhat
  725.             else:
  726.                 self.attribute_typecode_dict['Target'] = ZSI.TC.URI()
  727.                 self.attribute_typecode_dict['Id'] = ZSI.TC.AnyType()
  728.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, mixed = True, mixed_aname = '_text', **kw)
  729.             
  730.             class Holder(()):
  731.                 __metaclass__ = pyclass_type
  732.                 typecode = self
  733.                 
  734.                 def __init__(self):
  735.                     self._any = []
  736.  
  737.  
  738.             Holder.__name__ = 'SignaturePropertyType_Holder'
  739.             self.pyclass = Holder
  740.  
  741.  
  742.     
  743.     class HMACOutputLengthType_Def(ZSI.TCnumbers.Iinteger, TypeDefinition):
  744.         schema = NS.DSIG.BASE
  745.         type = (schema, 'HMACOutputLengthType')
  746.         
  747.         def __init__(self, pname, **kw):
  748.             ZSI.TCnumbers.Iinteger.__init__(self, pname, pyclass = None, **kw)
  749.             
  750.             class Holder((int,)):
  751.                 typecode = self
  752.  
  753.             self.pyclass = Holder
  754.  
  755.  
  756.     
  757.     class DSAKeyValueType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  758.         schema = NS.DSIG.BASE
  759.         type = (schema, 'DSAKeyValueType')
  760.         
  761.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  762.             ns = ds.DSAKeyValueType_Def.schema
  763.             TClist = [
  764.                 GTD(NS.DSIG.BASE, 'CryptoBinary', lazy = False)(pname = (ns, 'P'), aname = '_P', minOccurs = 0, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded')),
  765.                 GTD(NS.DSIG.BASE, 'CryptoBinary', lazy = False)(pname = (ns, 'Q'), aname = '_Q', minOccurs = 0, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded')),
  766.                 GTD(NS.DSIG.BASE, 'CryptoBinary', lazy = False)(pname = (ns, 'G'), aname = '_G', minOccurs = 0, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded')),
  767.                 GTD(NS.DSIG.BASE, 'CryptoBinary', lazy = False)(pname = (ns, 'Y'), aname = '_Y', minOccurs = 1, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded')),
  768.                 GTD(NS.DSIG.BASE, 'CryptoBinary', lazy = False)(pname = (ns, 'J'), aname = '_J', minOccurs = 0, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded')),
  769.                 GTD(NS.DSIG.BASE, 'CryptoBinary', lazy = False)(pname = (ns, 'Seed'), aname = '_Seed', minOccurs = 0, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded')),
  770.                 GTD(NS.DSIG.BASE, 'CryptoBinary', lazy = False)(pname = (ns, 'PgenCounter'), aname = '_PgenCounter', minOccurs = 0, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded'))]
  771.             if not attributes:
  772.                 pass
  773.             self.attribute_typecode_dict = { }
  774.             if extend:
  775.                 TClist += ofwhat
  776.             
  777.             if restrict:
  778.                 TClist = ofwhat
  779.             
  780.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  781.             
  782.             class Holder(()):
  783.                 __metaclass__ = pyclass_type
  784.                 typecode = self
  785.                 
  786.                 def __init__(self):
  787.                     self._P = None
  788.                     self._Q = None
  789.                     self._G = None
  790.                     self._Y = None
  791.                     self._J = None
  792.                     self._Seed = None
  793.                     self._PgenCounter = None
  794.  
  795.  
  796.             Holder.__name__ = 'DSAKeyValueType_Holder'
  797.             self.pyclass = Holder
  798.  
  799.  
  800.     
  801.     class RSAKeyValueType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  802.         schema = NS.DSIG.BASE
  803.         type = (schema, 'RSAKeyValueType')
  804.         
  805.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  806.             ns = ds.RSAKeyValueType_Def.schema
  807.             TClist = [
  808.                 GTD(NS.DSIG.BASE, 'CryptoBinary', lazy = False)(pname = (ns, 'Modulus'), aname = '_Modulus', minOccurs = 1, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded')),
  809.                 GTD(NS.DSIG.BASE, 'CryptoBinary', lazy = False)(pname = (ns, 'Exponent'), aname = '_Exponent', minOccurs = 1, maxOccurs = 1, nillable = False, typed = False, encoded = kw.get('encoded'))]
  810.             if not attributes:
  811.                 pass
  812.             self.attribute_typecode_dict = { }
  813.             if extend:
  814.                 TClist += ofwhat
  815.             
  816.             if restrict:
  817.                 TClist = ofwhat
  818.             
  819.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  820.             
  821.             class Holder(()):
  822.                 __metaclass__ = pyclass_type
  823.                 typecode = self
  824.                 
  825.                 def __init__(self):
  826.                     self._Modulus = None
  827.                     self._Exponent = None
  828.  
  829.  
  830.             Holder.__name__ = 'RSAKeyValueType_Holder'
  831.             self.pyclass = Holder
  832.  
  833.  
  834.     
  835.     class Signature_Dec(ElementDeclaration):
  836.         literal = 'Signature'
  837.         schema = NS.DSIG.BASE
  838.         substitutionGroup = None
  839.         
  840.         def __init__(self, **kw):
  841.             kw['pname'] = (NS.DSIG.BASE, 'Signature')
  842.             kw['aname'] = '_Signature'
  843.             if ds.SignatureType_Def not in ds.Signature_Dec.__bases__:
  844.                 bases = list(ds.Signature_Dec.__bases__)
  845.                 bases.insert(0, ds.SignatureType_Def)
  846.                 ds.Signature_Dec.__bases__ = tuple(bases)
  847.             
  848.             ds.SignatureType_Def.__init__(self, **kw)
  849.             if self.pyclass is not None:
  850.                 self.pyclass.__name__ = 'Signature_Dec_Holder'
  851.             
  852.  
  853.  
  854.     
  855.     class SignatureValue_Dec(ElementDeclaration):
  856.         literal = 'SignatureValue'
  857.         schema = NS.DSIG.BASE
  858.         substitutionGroup = None
  859.         
  860.         def __init__(self, **kw):
  861.             kw['pname'] = (NS.DSIG.BASE, 'SignatureValue')
  862.             kw['aname'] = '_SignatureValue'
  863.             if ds.SignatureValueType_Def not in ds.SignatureValue_Dec.__bases__:
  864.                 bases = list(ds.SignatureValue_Dec.__bases__)
  865.                 bases.insert(0, ds.SignatureValueType_Def)
  866.                 ds.SignatureValue_Dec.__bases__ = tuple(bases)
  867.             
  868.             ds.SignatureValueType_Def.__init__(self, **kw)
  869.             if self.pyclass is not None:
  870.                 self.pyclass.__name__ = 'SignatureValue_Dec_Holder'
  871.             
  872.  
  873.  
  874.     
  875.     class SignedInfo_Dec(ElementDeclaration):
  876.         literal = 'SignedInfo'
  877.         schema = NS.DSIG.BASE
  878.         substitutionGroup = None
  879.         
  880.         def __init__(self, **kw):
  881.             kw['pname'] = (NS.DSIG.BASE, 'SignedInfo')
  882.             kw['aname'] = '_SignedInfo'
  883.             if ds.SignedInfoType_Def not in ds.SignedInfo_Dec.__bases__:
  884.                 bases = list(ds.SignedInfo_Dec.__bases__)
  885.                 bases.insert(0, ds.SignedInfoType_Def)
  886.                 ds.SignedInfo_Dec.__bases__ = tuple(bases)
  887.             
  888.             ds.SignedInfoType_Def.__init__(self, **kw)
  889.             if self.pyclass is not None:
  890.                 self.pyclass.__name__ = 'SignedInfo_Dec_Holder'
  891.             
  892.  
  893.  
  894.     
  895.     class CanonicalizationMethod_Dec(ElementDeclaration):
  896.         literal = 'CanonicalizationMethod'
  897.         schema = NS.DSIG.BASE
  898.         substitutionGroup = None
  899.         
  900.         def __init__(self, **kw):
  901.             kw['pname'] = (NS.DSIG.BASE, 'CanonicalizationMethod')
  902.             kw['aname'] = '_CanonicalizationMethod'
  903.             if ds.CanonicalizationMethodType_Def not in ds.CanonicalizationMethod_Dec.__bases__:
  904.                 bases = list(ds.CanonicalizationMethod_Dec.__bases__)
  905.                 bases.insert(0, ds.CanonicalizationMethodType_Def)
  906.                 ds.CanonicalizationMethod_Dec.__bases__ = tuple(bases)
  907.             
  908.             ds.CanonicalizationMethodType_Def.__init__(self, **kw)
  909.             if self.pyclass is not None:
  910.                 self.pyclass.__name__ = 'CanonicalizationMethod_Dec_Holder'
  911.             
  912.  
  913.  
  914.     
  915.     class SignatureMethod_Dec(ElementDeclaration):
  916.         literal = 'SignatureMethod'
  917.         schema = NS.DSIG.BASE
  918.         substitutionGroup = None
  919.         
  920.         def __init__(self, **kw):
  921.             kw['pname'] = (NS.DSIG.BASE, 'SignatureMethod')
  922.             kw['aname'] = '_SignatureMethod'
  923.             if ds.SignatureMethodType_Def not in ds.SignatureMethod_Dec.__bases__:
  924.                 bases = list(ds.SignatureMethod_Dec.__bases__)
  925.                 bases.insert(0, ds.SignatureMethodType_Def)
  926.                 ds.SignatureMethod_Dec.__bases__ = tuple(bases)
  927.             
  928.             ds.SignatureMethodType_Def.__init__(self, **kw)
  929.             if self.pyclass is not None:
  930.                 self.pyclass.__name__ = 'SignatureMethod_Dec_Holder'
  931.             
  932.  
  933.  
  934.     
  935.     class Reference_Dec(ElementDeclaration):
  936.         literal = 'Reference'
  937.         schema = NS.DSIG.BASE
  938.         substitutionGroup = None
  939.         
  940.         def __init__(self, **kw):
  941.             kw['pname'] = (NS.DSIG.BASE, 'Reference')
  942.             kw['aname'] = '_Reference'
  943.             if ds.ReferenceType_Def not in ds.Reference_Dec.__bases__:
  944.                 bases = list(ds.Reference_Dec.__bases__)
  945.                 bases.insert(0, ds.ReferenceType_Def)
  946.                 ds.Reference_Dec.__bases__ = tuple(bases)
  947.             
  948.             ds.ReferenceType_Def.__init__(self, **kw)
  949.             if self.pyclass is not None:
  950.                 self.pyclass.__name__ = 'Reference_Dec_Holder'
  951.             
  952.  
  953.  
  954.     
  955.     class Transforms_Dec(ElementDeclaration):
  956.         literal = 'Transforms'
  957.         schema = NS.DSIG.BASE
  958.         substitutionGroup = None
  959.         
  960.         def __init__(self, **kw):
  961.             kw['pname'] = (NS.DSIG.BASE, 'Transforms')
  962.             kw['aname'] = '_Transforms'
  963.             if ds.TransformsType_Def not in ds.Transforms_Dec.__bases__:
  964.                 bases = list(ds.Transforms_Dec.__bases__)
  965.                 bases.insert(0, ds.TransformsType_Def)
  966.                 ds.Transforms_Dec.__bases__ = tuple(bases)
  967.             
  968.             ds.TransformsType_Def.__init__(self, **kw)
  969.             if self.pyclass is not None:
  970.                 self.pyclass.__name__ = 'Transforms_Dec_Holder'
  971.             
  972.  
  973.  
  974.     
  975.     class Transform_Dec(ElementDeclaration):
  976.         literal = 'Transform'
  977.         schema = NS.DSIG.BASE
  978.         substitutionGroup = None
  979.         
  980.         def __init__(self, **kw):
  981.             kw['pname'] = (NS.DSIG.BASE, 'Transform')
  982.             kw['aname'] = '_Transform'
  983.             if ds.TransformType_Def not in ds.Transform_Dec.__bases__:
  984.                 bases = list(ds.Transform_Dec.__bases__)
  985.                 bases.insert(0, ds.TransformType_Def)
  986.                 ds.Transform_Dec.__bases__ = tuple(bases)
  987.             
  988.             ds.TransformType_Def.__init__(self, **kw)
  989.             if self.pyclass is not None:
  990.                 self.pyclass.__name__ = 'Transform_Dec_Holder'
  991.             
  992.  
  993.  
  994.     
  995.     class DigestMethod_Dec(ElementDeclaration):
  996.         literal = 'DigestMethod'
  997.         schema = NS.DSIG.BASE
  998.         substitutionGroup = None
  999.         
  1000.         def __init__(self, **kw):
  1001.             kw['pname'] = (NS.DSIG.BASE, 'DigestMethod')
  1002.             kw['aname'] = '_DigestMethod'
  1003.             if ds.DigestMethodType_Def not in ds.DigestMethod_Dec.__bases__:
  1004.                 bases = list(ds.DigestMethod_Dec.__bases__)
  1005.                 bases.insert(0, ds.DigestMethodType_Def)
  1006.                 ds.DigestMethod_Dec.__bases__ = tuple(bases)
  1007.             
  1008.             ds.DigestMethodType_Def.__init__(self, **kw)
  1009.             if self.pyclass is not None:
  1010.                 self.pyclass.__name__ = 'DigestMethod_Dec_Holder'
  1011.             
  1012.  
  1013.  
  1014.     
  1015.     class DigestValue_Dec(ElementDeclaration):
  1016.         literal = 'DigestValue'
  1017.         schema = NS.DSIG.BASE
  1018.         substitutionGroup = None
  1019.         
  1020.         def __init__(self, **kw):
  1021.             kw['pname'] = (NS.DSIG.BASE, 'DigestValue')
  1022.             kw['aname'] = '_DigestValue'
  1023.             if ds.DigestValueType_Def not in ds.DigestValue_Dec.__bases__:
  1024.                 bases = list(ds.DigestValue_Dec.__bases__)
  1025.                 bases.insert(0, ds.DigestValueType_Def)
  1026.                 ds.DigestValue_Dec.__bases__ = tuple(bases)
  1027.             
  1028.             ds.DigestValueType_Def.__init__(self, **kw)
  1029.             if self.pyclass is not None:
  1030.                 self.pyclass.__name__ = 'DigestValue_Dec_Holder'
  1031.             
  1032.  
  1033.  
  1034.     
  1035.     class KeyInfo_Dec(ElementDeclaration):
  1036.         literal = 'KeyInfo'
  1037.         schema = NS.DSIG.BASE
  1038.         substitutionGroup = None
  1039.         
  1040.         def __init__(self, **kw):
  1041.             kw['pname'] = (NS.DSIG.BASE, 'KeyInfo')
  1042.             kw['aname'] = '_KeyInfo'
  1043.             if ds.KeyInfoType_Def not in ds.KeyInfo_Dec.__bases__:
  1044.                 bases = list(ds.KeyInfo_Dec.__bases__)
  1045.                 bases.insert(0, ds.KeyInfoType_Def)
  1046.                 ds.KeyInfo_Dec.__bases__ = tuple(bases)
  1047.             
  1048.             ds.KeyInfoType_Def.__init__(self, **kw)
  1049.             if self.pyclass is not None:
  1050.                 self.pyclass.__name__ = 'KeyInfo_Dec_Holder'
  1051.             
  1052.  
  1053.  
  1054.     
  1055.     class KeyName_Dec(ZSI.TC.String, ElementDeclaration):
  1056.         literal = 'KeyName'
  1057.         schema = NS.DSIG.BASE
  1058.         
  1059.         def __init__(self, **kw):
  1060.             kw['pname'] = (NS.DSIG.BASE, 'KeyName')
  1061.             kw['aname'] = '_KeyName'
  1062.             
  1063.             class IHolder((str,)):
  1064.                 typecode = self
  1065.  
  1066.             kw['pyclass'] = IHolder
  1067.             IHolder.__name__ = '_KeyName_immutable_holder'
  1068.             ZSI.TC.String.__init__(self, **kw)
  1069.  
  1070.  
  1071.     
  1072.     class MgmtData_Dec(ZSI.TC.String, ElementDeclaration):
  1073.         literal = 'MgmtData'
  1074.         schema = NS.DSIG.BASE
  1075.         
  1076.         def __init__(self, **kw):
  1077.             kw['pname'] = (NS.DSIG.BASE, 'MgmtData')
  1078.             kw['aname'] = '_MgmtData'
  1079.             
  1080.             class IHolder((str,)):
  1081.                 typecode = self
  1082.  
  1083.             kw['pyclass'] = IHolder
  1084.             IHolder.__name__ = '_MgmtData_immutable_holder'
  1085.             ZSI.TC.String.__init__(self, **kw)
  1086.  
  1087.  
  1088.     
  1089.     class KeyValue_Dec(ElementDeclaration):
  1090.         literal = 'KeyValue'
  1091.         schema = NS.DSIG.BASE
  1092.         substitutionGroup = None
  1093.         
  1094.         def __init__(self, **kw):
  1095.             kw['pname'] = (NS.DSIG.BASE, 'KeyValue')
  1096.             kw['aname'] = '_KeyValue'
  1097.             if ds.KeyValueType_Def not in ds.KeyValue_Dec.__bases__:
  1098.                 bases = list(ds.KeyValue_Dec.__bases__)
  1099.                 bases.insert(0, ds.KeyValueType_Def)
  1100.                 ds.KeyValue_Dec.__bases__ = tuple(bases)
  1101.             
  1102.             ds.KeyValueType_Def.__init__(self, **kw)
  1103.             if self.pyclass is not None:
  1104.                 self.pyclass.__name__ = 'KeyValue_Dec_Holder'
  1105.             
  1106.  
  1107.  
  1108.     
  1109.     class RetrievalMethod_Dec(ElementDeclaration):
  1110.         literal = 'RetrievalMethod'
  1111.         schema = NS.DSIG.BASE
  1112.         substitutionGroup = None
  1113.         
  1114.         def __init__(self, **kw):
  1115.             kw['pname'] = (NS.DSIG.BASE, 'RetrievalMethod')
  1116.             kw['aname'] = '_RetrievalMethod'
  1117.             if ds.RetrievalMethodType_Def not in ds.RetrievalMethod_Dec.__bases__:
  1118.                 bases = list(ds.RetrievalMethod_Dec.__bases__)
  1119.                 bases.insert(0, ds.RetrievalMethodType_Def)
  1120.                 ds.RetrievalMethod_Dec.__bases__ = tuple(bases)
  1121.             
  1122.             ds.RetrievalMethodType_Def.__init__(self, **kw)
  1123.             if self.pyclass is not None:
  1124.                 self.pyclass.__name__ = 'RetrievalMethod_Dec_Holder'
  1125.             
  1126.  
  1127.  
  1128.     
  1129.     class X509Data_Dec(ElementDeclaration):
  1130.         literal = 'X509Data'
  1131.         schema = NS.DSIG.BASE
  1132.         substitutionGroup = None
  1133.         
  1134.         def __init__(self, **kw):
  1135.             kw['pname'] = (NS.DSIG.BASE, 'X509Data')
  1136.             kw['aname'] = '_X509Data'
  1137.             if ds.X509DataType_Def not in ds.X509Data_Dec.__bases__:
  1138.                 bases = list(ds.X509Data_Dec.__bases__)
  1139.                 bases.insert(0, ds.X509DataType_Def)
  1140.                 ds.X509Data_Dec.__bases__ = tuple(bases)
  1141.             
  1142.             ds.X509DataType_Def.__init__(self, **kw)
  1143.             if self.pyclass is not None:
  1144.                 self.pyclass.__name__ = 'X509Data_Dec_Holder'
  1145.             
  1146.  
  1147.  
  1148.     
  1149.     class PGPData_Dec(ElementDeclaration):
  1150.         literal = 'PGPData'
  1151.         schema = NS.DSIG.BASE
  1152.         substitutionGroup = None
  1153.         
  1154.         def __init__(self, **kw):
  1155.             kw['pname'] = (NS.DSIG.BASE, 'PGPData')
  1156.             kw['aname'] = '_PGPData'
  1157.             if ds.PGPDataType_Def not in ds.PGPData_Dec.__bases__:
  1158.                 bases = list(ds.PGPData_Dec.__bases__)
  1159.                 bases.insert(0, ds.PGPDataType_Def)
  1160.                 ds.PGPData_Dec.__bases__ = tuple(bases)
  1161.             
  1162.             ds.PGPDataType_Def.__init__(self, **kw)
  1163.             if self.pyclass is not None:
  1164.                 self.pyclass.__name__ = 'PGPData_Dec_Holder'
  1165.             
  1166.  
  1167.  
  1168.     
  1169.     class SPKIData_Dec(ElementDeclaration):
  1170.         literal = 'SPKIData'
  1171.         schema = NS.DSIG.BASE
  1172.         substitutionGroup = None
  1173.         
  1174.         def __init__(self, **kw):
  1175.             kw['pname'] = (NS.DSIG.BASE, 'SPKIData')
  1176.             kw['aname'] = '_SPKIData'
  1177.             if ds.SPKIDataType_Def not in ds.SPKIData_Dec.__bases__:
  1178.                 bases = list(ds.SPKIData_Dec.__bases__)
  1179.                 bases.insert(0, ds.SPKIDataType_Def)
  1180.                 ds.SPKIData_Dec.__bases__ = tuple(bases)
  1181.             
  1182.             ds.SPKIDataType_Def.__init__(self, **kw)
  1183.             if self.pyclass is not None:
  1184.                 self.pyclass.__name__ = 'SPKIData_Dec_Holder'
  1185.             
  1186.  
  1187.  
  1188.     
  1189.     class Object_Dec(ElementDeclaration):
  1190.         literal = 'Object'
  1191.         schema = NS.DSIG.BASE
  1192.         substitutionGroup = None
  1193.         
  1194.         def __init__(self, **kw):
  1195.             kw['pname'] = (NS.DSIG.BASE, 'Object')
  1196.             kw['aname'] = '_Object'
  1197.             if ds.ObjectType_Def not in ds.Object_Dec.__bases__:
  1198.                 bases = list(ds.Object_Dec.__bases__)
  1199.                 bases.insert(0, ds.ObjectType_Def)
  1200.                 ds.Object_Dec.__bases__ = tuple(bases)
  1201.             
  1202.             ds.ObjectType_Def.__init__(self, **kw)
  1203.             if self.pyclass is not None:
  1204.                 self.pyclass.__name__ = 'Object_Dec_Holder'
  1205.             
  1206.  
  1207.  
  1208.     
  1209.     class Manifest_Dec(ElementDeclaration):
  1210.         literal = 'Manifest'
  1211.         schema = NS.DSIG.BASE
  1212.         substitutionGroup = None
  1213.         
  1214.         def __init__(self, **kw):
  1215.             kw['pname'] = (NS.DSIG.BASE, 'Manifest')
  1216.             kw['aname'] = '_Manifest'
  1217.             if ds.ManifestType_Def not in ds.Manifest_Dec.__bases__:
  1218.                 bases = list(ds.Manifest_Dec.__bases__)
  1219.                 bases.insert(0, ds.ManifestType_Def)
  1220.                 ds.Manifest_Dec.__bases__ = tuple(bases)
  1221.             
  1222.             ds.ManifestType_Def.__init__(self, **kw)
  1223.             if self.pyclass is not None:
  1224.                 self.pyclass.__name__ = 'Manifest_Dec_Holder'
  1225.             
  1226.  
  1227.  
  1228.     
  1229.     class SignatureProperties_Dec(ElementDeclaration):
  1230.         literal = 'SignatureProperties'
  1231.         schema = NS.DSIG.BASE
  1232.         substitutionGroup = None
  1233.         
  1234.         def __init__(self, **kw):
  1235.             kw['pname'] = (NS.DSIG.BASE, 'SignatureProperties')
  1236.             kw['aname'] = '_SignatureProperties'
  1237.             if ds.SignaturePropertiesType_Def not in ds.SignatureProperties_Dec.__bases__:
  1238.                 bases = list(ds.SignatureProperties_Dec.__bases__)
  1239.                 bases.insert(0, ds.SignaturePropertiesType_Def)
  1240.                 ds.SignatureProperties_Dec.__bases__ = tuple(bases)
  1241.             
  1242.             ds.SignaturePropertiesType_Def.__init__(self, **kw)
  1243.             if self.pyclass is not None:
  1244.                 self.pyclass.__name__ = 'SignatureProperties_Dec_Holder'
  1245.             
  1246.  
  1247.  
  1248.     
  1249.     class SignatureProperty_Dec(ElementDeclaration):
  1250.         literal = 'SignatureProperty'
  1251.         schema = NS.DSIG.BASE
  1252.         substitutionGroup = None
  1253.         
  1254.         def __init__(self, **kw):
  1255.             kw['pname'] = (NS.DSIG.BASE, 'SignatureProperty')
  1256.             kw['aname'] = '_SignatureProperty'
  1257.             if ds.SignaturePropertyType_Def not in ds.SignatureProperty_Dec.__bases__:
  1258.                 bases = list(ds.SignatureProperty_Dec.__bases__)
  1259.                 bases.insert(0, ds.SignaturePropertyType_Def)
  1260.                 ds.SignatureProperty_Dec.__bases__ = tuple(bases)
  1261.             
  1262.             ds.SignaturePropertyType_Def.__init__(self, **kw)
  1263.             if self.pyclass is not None:
  1264.                 self.pyclass.__name__ = 'SignatureProperty_Dec_Holder'
  1265.             
  1266.  
  1267.  
  1268.     
  1269.     class DSAKeyValue_Dec(ElementDeclaration):
  1270.         literal = 'DSAKeyValue'
  1271.         schema = NS.DSIG.BASE
  1272.         substitutionGroup = None
  1273.         
  1274.         def __init__(self, **kw):
  1275.             kw['pname'] = (NS.DSIG.BASE, 'DSAKeyValue')
  1276.             kw['aname'] = '_DSAKeyValue'
  1277.             if ds.DSAKeyValueType_Def not in ds.DSAKeyValue_Dec.__bases__:
  1278.                 bases = list(ds.DSAKeyValue_Dec.__bases__)
  1279.                 bases.insert(0, ds.DSAKeyValueType_Def)
  1280.                 ds.DSAKeyValue_Dec.__bases__ = tuple(bases)
  1281.             
  1282.             ds.DSAKeyValueType_Def.__init__(self, **kw)
  1283.             if self.pyclass is not None:
  1284.                 self.pyclass.__name__ = 'DSAKeyValue_Dec_Holder'
  1285.             
  1286.  
  1287.  
  1288.     
  1289.     class RSAKeyValue_Dec(ElementDeclaration):
  1290.         literal = 'RSAKeyValue'
  1291.         schema = NS.DSIG.BASE
  1292.         substitutionGroup = None
  1293.         
  1294.         def __init__(self, **kw):
  1295.             kw['pname'] = (NS.DSIG.BASE, 'RSAKeyValue')
  1296.             kw['aname'] = '_RSAKeyValue'
  1297.             if ds.RSAKeyValueType_Def not in ds.RSAKeyValue_Dec.__bases__:
  1298.                 bases = list(ds.RSAKeyValue_Dec.__bases__)
  1299.                 bases.insert(0, ds.RSAKeyValueType_Def)
  1300.                 ds.RSAKeyValue_Dec.__bases__ = tuple(bases)
  1301.             
  1302.             ds.RSAKeyValueType_Def.__init__(self, **kw)
  1303.             if self.pyclass is not None:
  1304.                 self.pyclass.__name__ = 'RSAKeyValue_Dec_Holder'
  1305.             
  1306.  
  1307.  
  1308.  
  1309.