<s> import saml2 <EOL> from saml2 import SamlBase <EOL> NAMESPACE = '<STR_LIT>' <EOL> ENCODING_BASE64 = '<STR_LIT>' <EOL> DIGEST_MD5 = '<STR_LIT>' <EOL> DIGEST_SHA1 = '<STR_LIT>' <EOL> DIGEST_SHA224 = '<STR_LIT>' <EOL> DIGEST_SHA256 = '<STR_LIT>' <EOL> DIGEST_SHA384 = '<STR_LIT>' <EOL> DIGEST_SHA512 = '<STR_LIT>' <EOL> DIGEST_RIPEMD160 = '<STR_LIT>' <EOL> digest_default = DIGEST_SHA1 <EOL> DIGEST_ALLOWED_ALG = ( ( '<STR_LIT>' , DIGEST_SHA1 ) , <EOL> ( '<STR_LIT>' , DIGEST_SHA224 ) , <EOL> ( '<STR_LIT>' , DIGEST_SHA256 ) , <EOL> ( '<STR_LIT>' , DIGEST_SHA384 ) , <EOL> ( '<STR_LIT>' , DIGEST_SHA512 ) , <EOL> ( '<STR_LIT>' , DIGEST_RIPEMD160 ) ) <EOL> DIGEST_AVAIL_ALG = DIGEST_ALLOWED_ALG + ( ( '<STR_LIT>' , DIGEST_MD5 ) , ) <EOL> SIG_RSA_MD5 = '<STR_LIT>' <EOL> SIG_RSA_SHA1 = '<STR_LIT>' <EOL> SIG_RSA_SHA224 = '<STR_LIT>' <EOL> SIG_RSA_SHA256 = '<STR_LIT>' <EOL> SIG_RSA_SHA384 = '<STR_LIT>' <EOL> SIG_RSA_SHA512 = '<STR_LIT>' <EOL> sig_default = SIG_RSA_SHA1 <EOL> SIG_ALLOWED_ALG = ( ( '<STR_LIT>' , SIG_RSA_SHA1 ) , <EOL> ( '<STR_LIT>' , SIG_RSA_SHA224 ) , <EOL> ( '<STR_LIT>' , SIG_RSA_SHA256 ) , <EOL> ( '<STR_LIT>' , SIG_RSA_SHA384 ) , <EOL> ( '<STR_LIT>' , SIG_RSA_SHA512 ) ) <EOL> SIG_AVAIL_ALG = SIG_ALLOWED_ALG + ( ( '<STR_LIT>' , SIG_RSA_MD5 ) , ) <EOL> MAC_SHA1 = '<STR_LIT>' <EOL> C14N = '<STR_LIT>' <EOL> C14N_WITH_C = '<STR_LIT>' <EOL> ALG_EXC_C14N = '<STR_LIT>' <EOL> TRANSFORM_XSLT = '<STR_LIT>' <EOL> TRANSFORM_XPATH = '<STR_LIT>' <EOL> TRANSFORM_ENVELOPED = '<STR_LIT>' <EOL> class CryptoBinary_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def crypto_binary__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( CryptoBinary_ , xml_string ) <EOL> class SignatureValueType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:id>' , '<STR_LIT>' , False ) <EOL> def __init__ ( self , <EOL> id = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . id = id <EOL> def signature_value_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SignatureValueType_ , xml_string ) <EOL> class CanonicalizationMethodType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT>' , True ) <EOL> def __init__ ( self , <EOL> algorithm = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . algorithm = algorithm <EOL> def canonicalization_method_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( CanonicalizationMethodType_ , <EOL> xml_string ) <EOL> class TransformType_XPath ( SamlBase ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT:string>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def transform_type__x_path_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( TransformType_XPath , xml_string ) <EOL> class TransformType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> [ TransformType_XPath ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT>' , True ) <EOL> c_child_order . extend ( [ '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> x_path = None , <EOL> algorithm = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . x_path = x_path or [ ] <EOL> self . algorithm = algorithm <EOL> def transform_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( TransformType_ , xml_string ) <EOL> class DigestMethodType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT>' , True ) <EOL> def __init__ ( self , <EOL> algorithm = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . algorithm = algorithm <EOL> def digest_method_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( DigestMethodType_ , xml_string ) <EOL> class DigestValueType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def digest_value_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( DigestValueType_ , xml_string ) <EOL> class KeyName ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT:string>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def key_name_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( KeyName , xml_string ) <EOL> class MgmtData ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT:string>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def mgmt_data_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( MgmtData , xml_string ) <EOL> class X509IssuerName ( SamlBase ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT:string>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def x509_issuer_name_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( X509IssuerName , xml_string ) <EOL> class X509SerialNumber ( SamlBase ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def x509_serial_number_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( X509SerialNumber , xml_string ) <EOL> class X509IssuerSerialType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , X509IssuerName ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , X509SerialNumber ) <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> x509_issuer_name = None , <EOL> x509_serial_number = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . x509_issuer_name = x509_issuer_name <EOL> self . x509_serial_number = x509_serial_number <EOL> def x509_issuer_serial_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( X509IssuerSerialType_ , xml_string ) <EOL> class PGPKeyID ( SamlBase ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def pgp_key_id_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PGPKeyID , xml_string ) <EOL> class PGPKeyPacket ( SamlBase ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def pgp_key_packet_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PGPKeyPacket , xml_string ) <EOL> class PGPDataType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , PGPKeyID ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , PGPKeyPacket ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> pgp_key_id = None , <EOL> pgp_key_packet = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . pgp_key_id = pgp_key_id <EOL> self . pgp_key_packet = pgp_key_packet <EOL> def pgp_data_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PGPDataType_ , xml_string ) <EOL> class SPKISexp ( SamlBase ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def spki_sexp_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SPKISexp , xml_string ) <EOL> class SPKIDataType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> [ SPKISexp ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_child_order . extend ( [ '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> spki_sexp = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . spki_sexp = spki_sexp or [ ] <EOL> def spki_data_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SPKIDataType_ , xml_string ) <EOL> class ObjectType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:id>' , '<STR_LIT>' , False ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT:string>' , False ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT>' , False ) <EOL> def __init__ ( self , <EOL> id = None , <EOL> mime_type = None , <EOL> encoding = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . id = id <EOL> self . mime_type = mime_type <EOL> self . encoding = encoding <EOL> def object_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ObjectType_ , xml_string ) <EOL> class SignaturePropertyType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:target>' , '<STR_LIT>' , True ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:id>' , '<STR_LIT>' , False ) <EOL> def __init__ ( self , <EOL> target = None , <EOL> id = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . target = target <EOL> self . id = id <EOL> def signature_property_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SignaturePropertyType_ , xml_string ) <EOL> class HMACOutputLengthType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def hmac_output_length_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( HMACOutputLengthType_ , xml_string ) <EOL> class P ( CryptoBinary_ ) : <EOL> c_tag = '<STR_LIT:P>' <EOL> c_namespace = NAMESPACE <EOL> c_children = CryptoBinary_ . c_children . copy ( ) <EOL> c_attributes = CryptoBinary_ . c_attributes . copy ( ) <EOL> c_child_order = CryptoBinary_ . c_child_order [ : ] <EOL> c_cardinality = CryptoBinary_ . c_cardinality . copy ( ) <EOL> def p_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( P , xml_string ) <EOL> class Q ( CryptoBinary_ ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = CryptoBinary_ . c_children . copy ( ) <EOL> c_attributes = CryptoBinary_ . c_attributes . copy ( ) <EOL> c_child_order = CryptoBinary_ . c_child_order [ : ] <EOL> c_cardinality = CryptoBinary_ . c_cardinality . copy ( ) <EOL> def q_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Q , xml_string ) <EOL> class G ( CryptoBinary_ ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = CryptoBinary_ . c_children . copy ( ) <EOL> c_attributes = CryptoBinary_ . c_attributes . copy ( ) <EOL> c_child_order = CryptoBinary_ . c_child_order [ : ] <EOL> c_cardinality = CryptoBinary_ . c_cardinality . copy ( ) <EOL> def g_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( G , xml_string ) <EOL> class Y ( CryptoBinary_ ) : <EOL> c_tag = '<STR_LIT:Y>' <EOL> c_namespace = NAMESPACE <EOL> c_children = CryptoBinary_ . c_children . copy ( ) <EOL> c_attributes = CryptoBinary_ . c_attributes . copy ( ) <EOL> c_child_order = CryptoBinary_ . c_child_order [ : ] <EOL> c_cardinality = CryptoBinary_ . c_cardinality . copy ( ) <EOL> def y_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Y , xml_string ) <EOL> class J ( CryptoBinary_ ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = CryptoBinary_ . c_children . copy ( ) <EOL> c_attributes = CryptoBinary_ . c_attributes . copy ( ) <EOL> c_child_order = CryptoBinary_ . c_child_order [ : ] <EOL> c_cardinality = CryptoBinary_ . c_cardinality . copy ( ) <EOL> def j_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( J , xml_string ) <EOL> class Seed ( CryptoBinary_ ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = CryptoBinary_ . c_children . copy ( ) <EOL> c_attributes = CryptoBinary_ . c_attributes . copy ( ) <EOL> c_child_order = CryptoBinary_ . c_child_order [ : ] <EOL> c_cardinality = CryptoBinary_ . c_cardinality . copy ( ) <EOL> def seed_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Seed , xml_string ) <EOL> class PgenCounter ( CryptoBinary_ ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = CryptoBinary_ . c_children . copy ( ) <EOL> c_attributes = CryptoBinary_ . c_attributes . copy ( ) <EOL> c_child_order = CryptoBinary_ . c_child_order [ : ] <EOL> c_cardinality = CryptoBinary_ . c_cardinality . copy ( ) <EOL> def pgen_counter_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PgenCounter , xml_string ) <EOL> class DSAKeyValueType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT:p>' , P ) <EOL> c_cardinality [ '<STR_LIT:p>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT:q>' , Q ) <EOL> c_cardinality [ '<STR_LIT:q>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT:g>' , G ) <EOL> c_cardinality [ '<STR_LIT:g>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT:y>' , Y ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , J ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , Seed ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> PgenCounter ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_child_order . extend ( [ '<STR_LIT:p>' , '<STR_LIT:q>' , '<STR_LIT:g>' , '<STR_LIT:y>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> p = None , <EOL> q = None , <EOL> g = None , <EOL> y = None , <EOL> j = None , <EOL> seed = None , <EOL> pgen_counter = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . p = p <EOL> self . q = q <EOL> self . g = g <EOL> self . y = y <EOL> self . j = j <EOL> self . seed = seed <EOL> self . pgen_counter = pgen_counter <EOL> def dsa_key_value_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( DSAKeyValueType_ , xml_string ) <EOL> class Modulus ( CryptoBinary_ ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = CryptoBinary_ . c_children . copy ( ) <EOL> c_attributes = CryptoBinary_ . c_attributes . copy ( ) <EOL> c_child_order = CryptoBinary_ . c_child_order [ : ] <EOL> c_cardinality = CryptoBinary_ . c_cardinality . copy ( ) <EOL> def modulus_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Modulus , xml_string ) <EOL> class Exponent ( CryptoBinary_ ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = CryptoBinary_ . c_children . copy ( ) <EOL> c_attributes = CryptoBinary_ . c_attributes . copy ( ) <EOL> c_child_order = CryptoBinary_ . c_child_order [ : ] <EOL> c_cardinality = CryptoBinary_ . c_cardinality . copy ( ) <EOL> def exponent_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Exponent , xml_string ) <EOL> class RSAKeyValueType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> Modulus ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> Exponent ) <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> modulus = None , <EOL> exponent = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . modulus = modulus <EOL> self . exponent = exponent <EOL> def rsa_key_value_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( RSAKeyValueType_ , xml_string ) <EOL> class SignatureValue ( SignatureValueType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SignatureValueType_ . c_children . copy ( ) <EOL> c_attributes = SignatureValueType_ . c_attributes . copy ( ) <EOL> c_child_order = SignatureValueType_ . c_child_order [ : ] <EOL> c_cardinality = SignatureValueType_ . c_cardinality . copy ( ) <EOL> def signature_value_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SignatureValue , xml_string ) <EOL> class CanonicalizationMethod ( CanonicalizationMethodType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = CanonicalizationMethodType_ . c_children . copy ( ) <EOL> c_attributes = CanonicalizationMethodType_ . c_attributes . copy ( ) <EOL> c_child_order = CanonicalizationMethodType_ . c_child_order [ : ] <EOL> c_cardinality = CanonicalizationMethodType_ . c_cardinality . copy ( ) <EOL> def canonicalization_method_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( CanonicalizationMethod , <EOL> xml_string ) <EOL> class HMACOutputLength ( HMACOutputLengthType_ ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = HMACOutputLengthType_ . c_children . copy ( ) <EOL> c_attributes = HMACOutputLengthType_ . c_attributes . copy ( ) <EOL> c_child_order = HMACOutputLengthType_ . c_child_order [ : ] <EOL> c_cardinality = HMACOutputLengthType_ . c_cardinality . copy ( ) <EOL> def hmac_output_length_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( HMACOutputLength , xml_string ) <EOL> class SignatureMethodType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , HMACOutputLength ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT>' , True ) <EOL> c_child_order . extend ( [ '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> hmac_output_length = None , <EOL> algorithm = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . hmac_output_length = hmac_output_length <EOL> self . algorithm = algorithm <EOL> def signature_method_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SignatureMethodType_ , xml_string ) <EOL> class Transform ( TransformType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = TransformType_ . c_children . copy ( ) <EOL> c_attributes = TransformType_ . c_attributes . copy ( ) <EOL> c_child_order = TransformType_ . c_child_order [ : ] <EOL> c_cardinality = TransformType_ . c_cardinality . copy ( ) <EOL> def transform_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Transform , xml_string ) <EOL> class DigestMethod ( DigestMethodType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = DigestMethodType_ . c_children . copy ( ) <EOL> c_attributes = DigestMethodType_ . c_attributes . copy ( ) <EOL> c_child_order = DigestMethodType_ . c_child_order [ : ] <EOL> c_cardinality = DigestMethodType_ . c_cardinality . copy ( ) <EOL> def digest_method_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( DigestMethod , xml_string ) <EOL> class DigestValue ( DigestValueType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = DigestValueType_ . c_children . copy ( ) <EOL> c_attributes = DigestValueType_ . c_attributes . copy ( ) <EOL> c_child_order = DigestValueType_ . c_child_order [ : ] <EOL> c_cardinality = DigestValueType_ . c_cardinality . copy ( ) <EOL> def digest_value_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( DigestValue , xml_string ) <EOL> class X509IssuerSerial ( X509IssuerSerialType_ ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = X509IssuerSerialType_ . c_children . copy ( ) <EOL> c_attributes = X509IssuerSerialType_ . c_attributes . copy ( ) <EOL> c_child_order = X509IssuerSerialType_ . c_child_order [ : ] <EOL> c_cardinality = X509IssuerSerialType_ . c_cardinality . copy ( ) <EOL> def x509_issuer_serial_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( X509IssuerSerial , xml_string ) <EOL> class X509SKI ( SamlBase ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def x509_ski_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( X509SKI , xml_string ) <EOL> class X509SubjectName ( SamlBase ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT:string>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def x509_subject_name_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( X509SubjectName , xml_string ) <EOL> class X509Certificate ( SamlBase ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def x509_certificate_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( X509Certificate , xml_string ) <EOL> class X509CRL ( SamlBase ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' } <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> def x509_crl_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( X509CRL , xml_string ) <EOL> class X509DataType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> X509IssuerSerial ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> X509SKI ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> X509SubjectName ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> X509Certificate ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> X509CRL ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> x509_issuer_serial = None , <EOL> x509_ski = None , <EOL> x509_subject_name = None , <EOL> x509_certificate = None , <EOL> x509_crl = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . x509_issuer_serial = x509_issuer_serial <EOL> self . x509_ski = x509_ski <EOL> self . x509_subject_name = x509_subject_name <EOL> self . x509_certificate = x509_certificate <EOL> self . x509_crl = x509_crl <EOL> def x509_data_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( X509DataType_ , xml_string ) <EOL> class PGPData ( PGPDataType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = PGPDataType_ . c_children . copy ( ) <EOL> c_attributes = PGPDataType_ . c_attributes . copy ( ) <EOL> c_child_order = PGPDataType_ . c_child_order [ : ] <EOL> c_cardinality = PGPDataType_ . c_cardinality . copy ( ) <EOL> def pgp_data_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PGPData , xml_string ) <EOL> class SPKIData ( SPKIDataType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SPKIDataType_ . c_children . copy ( ) <EOL> c_attributes = SPKIDataType_ . c_attributes . copy ( ) <EOL> c_child_order = SPKIDataType_ . c_child_order [ : ] <EOL> c_cardinality = SPKIDataType_ . c_cardinality . copy ( ) <EOL> def spki_data_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SPKIData , xml_string ) <EOL> class Object ( ObjectType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ObjectType_ . c_children . copy ( ) <EOL> c_attributes = ObjectType_ . c_attributes . copy ( ) <EOL> c_child_order = ObjectType_ . c_child_order [ : ] <EOL> c_cardinality = ObjectType_ . c_cardinality . copy ( ) <EOL> def object_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Object , xml_string ) <EOL> class SignatureProperty ( SignaturePropertyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SignaturePropertyType_ . c_children . copy ( ) <EOL> c_attributes = SignaturePropertyType_ . c_attributes . copy ( ) <EOL> c_child_order = SignaturePropertyType_ . c_child_order [ : ] <EOL> c_cardinality = SignaturePropertyType_ . c_cardinality . copy ( ) <EOL> def signature_property_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SignatureProperty , xml_string ) <EOL> class DSAKeyValue ( DSAKeyValueType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = DSAKeyValueType_ . c_children . copy ( ) <EOL> c_attributes = DSAKeyValueType_ . c_attributes . copy ( ) <EOL> c_child_order = DSAKeyValueType_ . c_child_order [ : ] <EOL> c_cardinality = DSAKeyValueType_ . c_cardinality . copy ( ) <EOL> def dsa_key_value_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( DSAKeyValue , xml_string ) <EOL> class RSAKeyValue ( RSAKeyValueType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = RSAKeyValueType_ . c_children . copy ( ) <EOL> c_attributes = RSAKeyValueType_ . c_attributes . copy ( ) <EOL> c_child_order = RSAKeyValueType_ . c_child_order [ : ] <EOL> c_cardinality = RSAKeyValueType_ . c_cardinality . copy ( ) <EOL> def rsa_key_value_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( RSAKeyValue , xml_string ) <EOL> class SignatureMethod ( SignatureMethodType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SignatureMethodType_ . c_children . copy ( ) <EOL> c_attributes = SignatureMethodType_ . c_attributes . copy ( ) <EOL> c_child_order = SignatureMethodType_ . c_child_order [ : ] <EOL> c_cardinality = SignatureMethodType_ . c_cardinality . copy ( ) <EOL> def signature_method_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SignatureMethod , xml_string ) <EOL> class TransformsType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> [ Transform ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_child_order . extend ( [ '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> transform = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . transform = transform or [ ] <EOL> def transforms_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( TransformsType_ , xml_string ) <EOL> class KeyValueType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> DSAKeyValue ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> RSAKeyValue ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> dsa_key_value = None , <EOL> rsa_key_value = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . dsa_key_value = dsa_key_value <EOL> self . rsa_key_value = rsa_key_value <EOL> def key_value_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( KeyValueType_ , xml_string ) <EOL> class X509Data ( X509DataType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = X509DataType_ . c_children . copy ( ) <EOL> c_attributes = X509DataType_ . c_attributes . copy ( ) <EOL> c_child_order = X509DataType_ . c_child_order [ : ] <EOL> c_cardinality = X509DataType_ . c_cardinality . copy ( ) <EOL> def x509_data_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( X509Data , xml_string ) <EOL> class SignaturePropertiesType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , [ SignatureProperty ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:id>' , '<STR_LIT>' , False ) <EOL> c_child_order . extend ( [ '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> signature_property = None , <EOL> id = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . signature_property = signature_property or [ ] <EOL> self . id = id <EOL> def signature_properties_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SignaturePropertiesType_ , xml_string ) <EOL> class Transforms ( TransformsType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = TransformsType_ . c_children . copy ( ) <EOL> c_attributes = TransformsType_ . c_attributes . copy ( ) <EOL> c_child_order = TransformsType_ . c_child_order [ : ] <EOL> c_cardinality = TransformsType_ . c_cardinality . copy ( ) <EOL> def transforms_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Transforms , xml_string ) <EOL> class KeyValue ( KeyValueType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = KeyValueType_ . c_children . copy ( ) <EOL> c_attributes = KeyValueType_ . c_attributes . copy ( ) <EOL> c_child_order = KeyValueType_ . c_child_order [ : ] <EOL> c_cardinality = KeyValueType_ . c_cardinality . copy ( ) <EOL> def key_value_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( KeyValue , xml_string ) <EOL> class RetrievalMethodType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> Transforms ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT>' , False ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:type>' , '<STR_LIT>' , False ) <EOL> c_child_order . extend ( [ '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> transforms = None , <EOL> uri = None , <EOL> type = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . transforms = transforms <EOL> self . uri = uri <EOL> self . type = type <EOL> def retrieval_method_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( RetrievalMethodType_ , xml_string ) <EOL> class SignatureProperties ( SignaturePropertiesType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SignaturePropertiesType_ . c_children . copy ( ) <EOL> c_attributes = SignaturePropertiesType_ . c_attributes . copy ( ) <EOL> c_child_order = SignaturePropertiesType_ . c_child_order [ : ] <EOL> c_cardinality = SignaturePropertiesType_ . c_cardinality . copy ( ) <EOL> def signature_properties_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SignatureProperties , xml_string ) <EOL> class ReferenceType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> Transforms ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> DigestMethod ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> DigestValue ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:id>' , '<STR_LIT>' , False ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT>' , False ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:type>' , '<STR_LIT>' , False ) <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> transforms = None , <EOL> digest_method = None , <EOL> digest_value = None , <EOL> id = None , <EOL> uri = None , <EOL> type = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . transforms = transforms <EOL> self . digest_method = digest_method <EOL> self . digest_value = digest_value <EOL> self . id = id <EOL> self . uri = uri <EOL> self . type = type <EOL> def reference_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ReferenceType_ , xml_string ) <EOL> class RetrievalMethod ( RetrievalMethodType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = RetrievalMethodType_ . c_children . copy ( ) <EOL> c_attributes = RetrievalMethodType_ . c_attributes . copy ( ) <EOL> c_child_order = RetrievalMethodType_ . c_child_order [ : ] <EOL> c_cardinality = RetrievalMethodType_ . c_cardinality . copy ( ) <EOL> def retrieval_method_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( RetrievalMethod , xml_string ) <EOL> class Reference ( ReferenceType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ReferenceType_ . c_children . copy ( ) <EOL> c_attributes = ReferenceType_ . c_attributes . copy ( ) <EOL> c_child_order = ReferenceType_ . c_child_order [ : ] <EOL> c_cardinality = ReferenceType_ . c_cardinality . copy ( ) <EOL> def reference_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Reference , xml_string ) <EOL> class KeyInfoType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> [ KeyName ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> [ KeyValue ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_children [ '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ RetrievalMethod ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> [ X509Data ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> [ PGPData ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> [ SPKIData ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> [ MgmtData ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_children [ '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , None ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:id>' , '<STR_LIT>' , False ) <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> key_name = None , <EOL> key_value = None , <EOL> retrieval_method = None , <EOL> x509_data = None , <EOL> pgp_data = None , <EOL> spki_data = None , <EOL> mgmt_data = None , <EOL> encrypted_key = None , <EOL> id = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes <EOL> ) <EOL> self . key_name = key_name or [ ] <EOL> self . key_value = key_value or [ ] <EOL> self . retrieval_method = retrieval_method or [ ] <EOL> self . x509_data = x509_data or [ ] <EOL> self . pgp_data = pgp_data or [ ] <EOL> self . spki_data = spki_data or [ ] <EOL> self . mgmt_data = mgmt_data or [ ] <EOL> self . encrypted_key = encrypted_key <EOL> self . id = id <EOL> def key_info_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( KeyInfoType_ , xml_string ) <EOL> class ManifestType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> [ Reference ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:id>' , '<STR_LIT>' , False ) <EOL> c_child_order . extend ( [ '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> reference = None , <EOL> id = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . reference = reference or [ ] <EOL> self . id = id <EOL> def manifest_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ManifestType_ , xml_string ) <EOL> class SignedInfoType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , CanonicalizationMethod ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> SignatureMethod ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> [ Reference ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:id>' , '<STR_LIT>' , False ) <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> canonicalization_method = None , <EOL> signature_method = None , <EOL> reference = None , <EOL> id = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . canonicalization_method = canonicalization_method <EOL> self . signature_method = signature_method <EOL> self . reference = reference or [ ] <EOL> self . id = id <EOL> def signed_info_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SignedInfoType_ , xml_string ) <EOL> class KeyInfo ( KeyInfoType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = KeyInfoType_ . c_children . copy ( ) <EOL> c_attributes = KeyInfoType_ . c_attributes . copy ( ) <EOL> c_child_order = KeyInfoType_ . c_child_order [ : ] <EOL> c_cardinality = KeyInfoType_ . c_cardinality . copy ( ) <EOL> def key_info_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( KeyInfo , xml_string ) <EOL> class Manifest ( ManifestType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ManifestType_ . c_children . copy ( ) <EOL> c_attributes = ManifestType_ . c_attributes . copy ( ) <EOL> c_child_order = ManifestType_ . c_child_order [ : ] <EOL> c_cardinality = ManifestType_ . c_cardinality . copy ( ) <EOL> def manifest_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Manifest , xml_string ) <EOL> class SignedInfo ( SignedInfoType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SignedInfoType_ . c_children . copy ( ) <EOL> c_attributes = SignedInfoType_ . c_attributes . copy ( ) <EOL> c_child_order = SignedInfoType_ . c_child_order [ : ] <EOL> c_cardinality = SignedInfoType_ . c_cardinality . copy ( ) <EOL> def signed_info_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SignedInfo , xml_string ) <EOL> class SignatureType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SamlBase . c_children . copy ( ) <EOL> c_attributes = SamlBase . c_attributes . copy ( ) <EOL> c_child_order = SamlBase . c_child_order [ : ] <EOL> c_cardinality = SamlBase . c_cardinality . copy ( ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> SignedInfo ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , SignatureValue ) <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT>' , <EOL> KeyInfo ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ '<STR_LIT>' ] = ( '<STR_LIT:object>' , <EOL> [ Object ] ) <EOL> c_cardinality [ '<STR_LIT:object>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:id>' , '<STR_LIT>' , False ) <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT:object>' ] ) <EOL> def __init__ ( self , <EOL> signed_info = None , <EOL> signature_value = None , <EOL> key_info = None , <EOL> object = None , <EOL> id = None , <EOL> text = None , <EOL> extension_elements = None , <EOL> extension_attributes = None , <EOL> ) : <EOL> SamlBase . __init__ ( self , <EOL> text = text , <EOL> extension_elements = extension_elements , <EOL> extension_attributes = extension_attributes , <EOL> ) <EOL> self . signed_info = signed_info <EOL> self . signature_value = signature_value <EOL> self . key_info = key_info <EOL> self . object = object or [ ] <EOL> self . id = id <EOL> def signature_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SignatureType_ , xml_string ) <EOL> class Signature ( SignatureType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SignatureType_ . c_children . copy ( ) <EOL> c_attributes = SignatureType_ . c_attributes . copy ( ) <EOL> c_child_order = SignatureType_ . c_child_order [ : ] <EOL> c_cardinality = SignatureType_ . c_cardinality . copy ( ) <EOL> def signature_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Signature , xml_string ) <EOL> ELEMENT_FROM_STRING = { <EOL> CryptoBinary_ . c_tag : crypto_binary__from_string , <EOL> Signature . c_tag : signature_from_string , <EOL> SignatureType_ . c_tag : signature_type__from_string , <EOL> SignatureValue . c_tag : signature_value_from_string , <EOL> SignatureValueType_ . c_tag : signature_value_type__from_string , <EOL> SignedInfo . c_tag : signed_info_from_string , <EOL> SignedInfoType_ . c_tag : signed_info_type__from_string , <EOL> CanonicalizationMethod . c_tag : canonicalization_method_from_string , <EOL> CanonicalizationMethodType_ . c_tag : canonicalization_method_type__from_string , <EOL> SignatureMethod . c_tag : signature_method_from_string , <EOL> SignatureMethodType_ . c_tag : signature_method_type__from_string , <EOL> Reference . c_tag : reference_from_string , <EOL> ReferenceType_ . c_tag : reference_type__from_string , <EOL> Transforms . c_tag : transforms_from_string , <EOL> TransformsType_ . c_tag : transforms_type__from_string , <EOL> Transform . c_tag : transform_from_string , <EOL> TransformType_ . c_tag : transform_type__from_string , <EOL> DigestMethod . c_tag : digest_method_from_string , <EOL> DigestMethodType_ . c_tag : digest_method_type__from_string , <EOL> DigestValue . c_tag : digest_value_from_string , <EOL> DigestValueType_ . c_tag : digest_value_type__from_string , <EOL> KeyInfo . c_tag : key_info_from_string , <EOL> KeyInfoType_ . c_tag : key_info_type__from_string , <EOL> KeyName . c_tag : key_name_from_string , <EOL> MgmtData . c_tag : mgmt_data_from_string , <EOL> KeyValue . c_tag : key_value_from_string , <EOL> KeyValueType_ . c_tag : key_value_type__from_string , <EOL> RetrievalMethod . c_tag : retrieval_method_from_string , <EOL> RetrievalMethodType_ . c_tag : retrieval_method_type__from_string , <EOL> X509Data . c_tag : x509_data_from_string , <EOL> X509DataType_ . c_tag : x509_data_type__from_string , <EOL> X509IssuerSerialType_ . c_tag : x509_issuer_serial_type__from_string , <EOL> PGPData . c_tag : pgp_data_from_string , <EOL> PGPDataType_ . c_tag : pgp_data_type__from_string , <EOL> SPKIData . c_tag : spki_data_from_string , <EOL> SPKIDataType_ . c_tag : spki_data_type__from_string , <EOL> Object . c_tag : object_from_string , <EOL> ObjectType_ . c_tag : object_type__from_string , <EOL> Manifest . c_tag : manifest_from_string , <EOL> ManifestType_ . c_tag : manifest_type__from_string , <EOL> SignatureProperties . c_tag : signature_properties_from_string , <EOL> SignaturePropertiesType_ . c_tag : signature_properties_type__from_string , <EOL> SignatureProperty . c_tag : signature_property_from_string , <EOL> SignaturePropertyType_ . c_tag : signature_property_type__from_string , <EOL> HMACOutputLengthType_ . c_tag : hmac_output_length_type__from_string , <EOL> DSAKeyValue . c_tag : dsa_key_value_from_string , <EOL> DSAKeyValueType_ . c_tag : dsa_key_value_type__from_string , <EOL> RSAKeyValue . c_tag : rsa_key_value_from_string , <EOL> RSAKeyValueType_ . c_tag : rsa_key_value_type__from_string , <EOL> TransformType_XPath . c_tag : transform_type__x_path_from_string , <EOL> X509IssuerName . c_tag : x509_issuer_name_from_string , <EOL> X509SerialNumber . c_tag : x509_serial_number_from_string , <EOL> PGPKeyID . c_tag : pgp_key_id_from_string , <EOL> PGPKeyPacket . c_tag : pgp_key_packet_from_string , <EOL> SPKISexp . c_tag : spki_sexp_from_string , <EOL> P . c_tag : p_from_string , <EOL> Q . c_tag : q_from_string , <EOL> G . c_tag : g_from_string , <EOL> Y . c_tag : y_from_string , <EOL> J . c_tag : j_from_string , <EOL> Seed . c_tag : seed_from_string , <EOL> PgenCounter . c_tag : pgen_counter_from_string , <EOL> Modulus . c_tag : modulus_from_string , <EOL> Exponent . c_tag : exponent_from_string , <EOL> HMACOutputLength . c_tag : hmac_output_length_from_string , <EOL> X509IssuerSerial . c_tag : x509_issuer_serial_from_string , <EOL> X509SKI . c_tag : x509_ski_from_string , <EOL> X509SubjectName . c_tag : x509_subject_name_from_string , <EOL> X509Certificate . c_tag : x509_certificate_from_string , <EOL> X509CRL . c_tag : x509_crl_from_string , <EOL> } <EOL> ELEMENT_BY_TAG = { <EOL> '<STR_LIT>' : CryptoBinary_ , <EOL> '<STR_LIT>' : Signature , <EOL> '<STR_LIT>' : SignatureType_ , <EOL> '<STR_LIT>' : SignatureValue , <EOL> '<STR_LIT>' : SignatureValueType_ , <EOL> '<STR_LIT>' : SignedInfo , <EOL> '<STR_LIT>' : SignedInfoType_ , <EOL> '<STR_LIT>' : CanonicalizationMethod , <EOL> '<STR_LIT>' : CanonicalizationMethodType_ , <EOL> '<STR_LIT>' : SignatureMethod , <EOL> '<STR_LIT>' : SignatureMethodType_ , <EOL> '<STR_LIT>' : Reference , <EOL> '<STR_LIT>' : ReferenceType_ , <EOL> '<STR_LIT>' : Transforms , <EOL> '<STR_LIT>' : TransformsType_ , <EOL> '<STR_LIT>' : Transform , <EOL> '<STR_LIT>' : TransformType_ , <EOL> '<STR_LIT>' : DigestMethod , <EOL> '<STR_LIT>' : DigestMethodType_ , <EOL> '<STR_LIT>' : DigestValue , <EOL> '<STR_LIT>' : DigestValueType_ , <EOL> '<STR_LIT>' : KeyInfo , <EOL> '<STR_LIT>' : KeyInfoType_ , <EOL> '<STR_LIT>' : KeyName , <EOL> '<STR_LIT>' : MgmtData , <EOL> '<STR_LIT>' : KeyValue , <EOL> '<STR_LIT>' : KeyValueType_ , <EOL> '<STR_LIT>' : RetrievalMethod , <EOL> '<STR_LIT>' : RetrievalMethodType_ , <EOL> '<STR_LIT>' : X509Data , <EOL> '<STR_LIT>' : X509DataType_ , <EOL> '<STR_LIT>' : X509IssuerSerialType_ , <EOL> '<STR_LIT>' : PGPData , <EOL> '<STR_LIT>' : PGPDataType_ , <EOL> '<STR_LIT>' : SPKIData , <EOL> '<STR_LIT>' : SPKIDataType_ , <EOL> '<STR_LIT>' : Object , <EOL> '<STR_LIT>' : ObjectType_ , <EOL> '<STR_LIT>' : Manifest , <EOL> '<STR_LIT>' : ManifestType_ , <EOL> '<STR_LIT>' : SignatureProperties , <EOL> '<STR_LIT>' : SignaturePropertiesType_ , <EOL> '<STR_LIT>' : SignatureProperty , <EOL> '<STR_LIT>' : SignaturePropertyType_ , <EOL> '<STR_LIT>' : HMACOutputLengthType_ , <EOL> '<STR_LIT>' : DSAKeyValue , <EOL> '<STR_LIT>' : DSAKeyValueType_ , <EOL> '<STR_LIT>' : RSAKeyValue , <EOL> '<STR_LIT>' : RSAKeyValueType_ , <EOL> '<STR_LIT>' : TransformType_XPath , <EOL> '<STR_LIT>' : X509IssuerName , <EOL> '<STR_LIT>' : X509SerialNumber , <EOL> '<STR_LIT>' : PGPKeyID , <EOL> '<STR_LIT>' : PGPKeyPacket , <EOL> '<STR_LIT>' : SPKISexp , <EOL> '<STR_LIT:P>' : P , <EOL> '<STR_LIT>' : Q , <EOL> '<STR_LIT>' : G , <EOL> '<STR_LIT:Y>' : Y , <EOL> '<STR_LIT>' : J , <EOL> '<STR_LIT>' : Seed , <EOL> '<STR_LIT>' : PgenCounter , <EOL> '<STR_LIT>' : Modulus , <EOL> '<STR_LIT>' : Exponent , <EOL> '<STR_LIT>' : HMACOutputLength , <EOL> '<STR_LIT>' : X509IssuerSerial , <EOL> '<STR_LIT>' : X509SKI , <EOL> '<STR_LIT>' : X509SubjectName , <EOL> '<STR_LIT>' : X509Certificate , <EOL> '<STR_LIT>' : X509CRL , <EOL> } <EOL> def factory ( tag , ** kwargs ) : <EOL> return ELEMENT_BY_TAG [ tag ] ( ** kwargs ) </s>
