<s> """<STR_LIT>""" <EOL> import saml2 <EOL> from saml2 import SamlBase <EOL> NAMESPACE = '<STR_LIT>' <EOL> class PhysicalVerification ( 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:None>' , False ) <EOL> def __init__ ( self , <EOL> credential_level = 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 . credential_level = credential_level <EOL> def physical_verification_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PhysicalVerification , xml_string ) <EOL> class Generation ( 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:None>' , True ) <EOL> def __init__ ( self , <EOL> mechanism = 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 . mechanism = mechanism <EOL> def generation_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Generation , xml_string ) <EOL> class NymType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : [ '<STR_LIT>' , '<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 nym_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( NymType_ , xml_string ) <EOL> class GoverningAgreementRefType_ ( 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>' ] = ( <EOL> '<STR_LIT>' , '<STR_LIT>' , True ) <EOL> def __init__ ( self , <EOL> governing_agreement_ref = 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 . governing_agreement_ref = governing_agreement_ref <EOL> def governing_agreement_ref_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( GoverningAgreementRefType_ , <EOL> xml_string ) <EOL> class KeySharingType_ ( 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> sharing = 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 . sharing = sharing <EOL> def key_sharing_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( KeySharingType_ , xml_string ) <EOL> class RestrictedLengthType_ ( 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:None>' , True ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT>' , False ) <EOL> def __init__ ( self , <EOL> min = None , <EOL> max = 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 . min = min <EOL> self . max = max <EOL> def restricted_length_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( RestrictedLengthType_ , xml_string ) <EOL> class AlphabetType_ ( 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:string>' , True ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT:string>' , False ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT:string>' , False ) <EOL> def __init__ ( self , <EOL> required_chars = None , <EOL> excluded_chars = None , <EOL> case = 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 . required_chars = required_chars <EOL> self . excluded_chars = excluded_chars <EOL> self . case = case <EOL> def alphabet_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( AlphabetType_ , xml_string ) <EOL> class DeviceTypeType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : [ '<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 device_type_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( DeviceTypeType_ , xml_string ) <EOL> class BooleanType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' , '<STR_LIT>' : [ '<STR_LIT:true>' , '<STR_LIT:false>' ] } <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 boolean_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( BooleanType_ , xml_string ) <EOL> class TimeSyncTokenType_ ( 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>' , DeviceTypeType_ , True ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT>' , True ) <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , BooleanType_ , True ) <EOL> def __init__ ( self , <EOL> device_type = None , <EOL> seed_length = None , <EOL> device_in_hand = 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 . device_type = device_type <EOL> self . seed_length = seed_length <EOL> self . device_in_hand = device_in_hand <EOL> def time_sync_token_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( TimeSyncTokenType_ , xml_string ) <EOL> class ActivationLimitDurationType_ ( 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> duration = 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 . duration = duration <EOL> def activation_limit_duration_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ActivationLimitDurationType_ , <EOL> xml_string ) <EOL> class ActivationLimitUsagesType_ ( 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> 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 . number = number <EOL> def activation_limit_usages_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ActivationLimitUsagesType_ , <EOL> xml_string ) <EOL> class ActivationLimitSessionType_ ( 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> def activation_limit_session_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ActivationLimitSessionType_ , <EOL> xml_string ) <EOL> class LengthType_ ( 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> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT>' , False ) <EOL> def __init__ ( self , <EOL> min = None , <EOL> max = 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 . min = min <EOL> self . max = max <EOL> def length_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( LengthType_ , xml_string ) <EOL> class MediumType_ ( SamlBase ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_value_type = { '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<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 medium_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( MediumType_ , xml_string ) <EOL> class ExtensionType_ ( 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> def extension_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ExtensionType_ , xml_string ) <EOL> class KeyStorageType_ ( 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:None>' , True ) <EOL> def __init__ ( self , <EOL> medium = 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 . medium = medium <EOL> def key_storage_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( KeyStorageType_ , xml_string ) <EOL> class KeySharing ( KeySharingType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = KeySharingType_ . c_children . copy ( ) <EOL> c_attributes = KeySharingType_ . c_attributes . copy ( ) <EOL> c_child_order = KeySharingType_ . c_child_order [ : ] <EOL> c_cardinality = KeySharingType_ . c_cardinality . copy ( ) <EOL> def key_sharing_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( KeySharing , xml_string ) <EOL> class KeyStorage ( KeyStorageType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = KeyStorageType_ . c_children . copy ( ) <EOL> c_attributes = KeyStorageType_ . c_attributes . copy ( ) <EOL> c_child_order = KeyStorageType_ . c_child_order [ : ] <EOL> c_cardinality = KeyStorageType_ . c_cardinality . copy ( ) <EOL> def key_storage_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( KeyStorage , xml_string ) <EOL> class TimeSyncToken ( TimeSyncTokenType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = TimeSyncTokenType_ . c_children . copy ( ) <EOL> c_attributes = TimeSyncTokenType_ . c_attributes . copy ( ) <EOL> c_child_order = TimeSyncTokenType_ . c_child_order [ : ] <EOL> c_cardinality = TimeSyncTokenType_ . c_cardinality . copy ( ) <EOL> def time_sync_token_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( TimeSyncToken , xml_string ) <EOL> class Length ( LengthType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = LengthType_ . c_children . copy ( ) <EOL> c_attributes = LengthType_ . c_attributes . copy ( ) <EOL> c_child_order = LengthType_ . c_child_order [ : ] <EOL> c_cardinality = LengthType_ . c_cardinality . copy ( ) <EOL> def length_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Length , xml_string ) <EOL> class GoverningAgreementRef ( GoverningAgreementRefType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = GoverningAgreementRefType_ . c_children . copy ( ) <EOL> c_attributes = GoverningAgreementRefType_ . c_attributes . copy ( ) <EOL> c_child_order = GoverningAgreementRefType_ . c_child_order [ : ] <EOL> c_cardinality = GoverningAgreementRefType_ . c_cardinality . copy ( ) <EOL> def governing_agreement_ref_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( GoverningAgreementRef , xml_string ) <EOL> class GoverningAgreementsType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ GoverningAgreementRef ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_child_order . extend ( [ '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> governing_agreement_ref = 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 . governing_agreement_ref = governing_agreement_ref or [ ] <EOL> def governing_agreements_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( GoverningAgreementsType_ , <EOL> xml_string ) <EOL> class RestrictedPasswordType_Length ( RestrictedLengthType_ ) : <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = RestrictedLengthType_ . c_children . copy ( ) <EOL> c_attributes = RestrictedLengthType_ . c_attributes . copy ( ) <EOL> c_child_order = RestrictedLengthType_ . c_child_order [ : ] <EOL> c_cardinality = RestrictedLengthType_ . c_cardinality . copy ( ) <EOL> def restricted_password_type__length_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( RestrictedPasswordType_Length , <EOL> xml_string ) <EOL> class Alphabet ( AlphabetType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = AlphabetType_ . c_children . copy ( ) <EOL> c_attributes = AlphabetType_ . c_attributes . copy ( ) <EOL> c_child_order = AlphabetType_ . c_child_order [ : ] <EOL> c_cardinality = AlphabetType_ . c_cardinality . copy ( ) <EOL> def alphabet_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Alphabet , xml_string ) <EOL> class ActivationLimitDuration ( ActivationLimitDurationType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ActivationLimitDurationType_ . c_children . copy ( ) <EOL> c_attributes = ActivationLimitDurationType_ . c_attributes . copy ( ) <EOL> c_child_order = ActivationLimitDurationType_ . c_child_order [ : ] <EOL> c_cardinality = ActivationLimitDurationType_ . c_cardinality . copy ( ) <EOL> def activation_limit_duration_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ActivationLimitDuration , <EOL> xml_string ) <EOL> class ActivationLimitUsages ( ActivationLimitUsagesType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ActivationLimitUsagesType_ . c_children . copy ( ) <EOL> c_attributes = ActivationLimitUsagesType_ . c_attributes . copy ( ) <EOL> c_child_order = ActivationLimitUsagesType_ . c_child_order [ : ] <EOL> c_cardinality = ActivationLimitUsagesType_ . c_cardinality . copy ( ) <EOL> def activation_limit_usages_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ActivationLimitUsages , xml_string ) <EOL> class ActivationLimitSession ( ActivationLimitSessionType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ActivationLimitSessionType_ . c_children . copy ( ) <EOL> c_attributes = ActivationLimitSessionType_ . c_attributes . copy ( ) <EOL> c_child_order = ActivationLimitSessionType_ . c_child_order [ : ] <EOL> c_cardinality = ActivationLimitSessionType_ . c_cardinality . copy ( ) <EOL> def activation_limit_session_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ActivationLimitSession , <EOL> xml_string ) <EOL> class Extension ( ExtensionType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionType_ . c_cardinality . copy ( ) <EOL> def extension_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Extension , xml_string ) <EOL> class SharedSecretChallengeResponseType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT>' , False ) <EOL> c_child_order . extend ( [ '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> extension = None , <EOL> method = 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 . extension = extension or [ ] <EOL> self . method = method <EOL> def shared_secret_challenge_response_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( <EOL> SharedSecretChallengeResponseType_ , xml_string ) <EOL> class PublicKeyType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT:None>' , False ) <EOL> c_child_order . extend ( [ '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> extension = None , <EOL> key_validation = 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 . extension = extension or [ ] <EOL> self . key_validation = key_validation <EOL> def public_key_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PublicKeyType_ , xml_string ) <EOL> class GoverningAgreements ( GoverningAgreementsType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = GoverningAgreementsType_ . c_children . copy ( ) <EOL> c_attributes = GoverningAgreementsType_ . c_attributes . copy ( ) <EOL> c_child_order = GoverningAgreementsType_ . c_child_order [ : ] <EOL> c_cardinality = GoverningAgreementsType_ . c_cardinality . copy ( ) <EOL> def governing_agreements_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( GoverningAgreements , xml_string ) <EOL> class PasswordType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , Length ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , Alphabet ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , Generation ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_attributes [ '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , '<STR_LIT>' , False ) <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> length = None , <EOL> alphabet = None , <EOL> generation = None , <EOL> extension = None , <EOL> external_verification = 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 . length = length <EOL> self . alphabet = alphabet <EOL> self . generation = generation <EOL> self . extension = extension or [ ] <EOL> self . external_verification = external_verification <EOL> def password_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PasswordType_ , xml_string ) <EOL> class RestrictedPasswordType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , RestrictedPasswordType_Length ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , Generation ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_attributes [ '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , '<STR_LIT>' , False ) <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> length = None , <EOL> generation = None , <EOL> extension = None , <EOL> external_verification = 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 . length = length <EOL> self . generation = generation <EOL> self . extension = extension or [ ] <EOL> self . external_verification = external_verification <EOL> def restricted_password_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( RestrictedPasswordType_ , <EOL> xml_string ) <EOL> class TokenType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , TimeSyncToken ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> time_sync_token = None , <EOL> extension = 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 . time_sync_token = time_sync_token <EOL> self . extension = extension or [ ] <EOL> def token_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( TokenType_ , xml_string ) <EOL> class ActivationLimitType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , ActivationLimitDuration ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , ActivationLimitUsages ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , ActivationLimitSession ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_child_order . extend ( <EOL> [ '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> activation_limit_duration = None , <EOL> activation_limit_usages = None , <EOL> activation_limit_session = 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 . activation_limit_duration = activation_limit_duration <EOL> self . activation_limit_usages = activation_limit_usages <EOL> self . activation_limit_session = activation_limit_session <EOL> def activation_limit_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ActivationLimitType_ , xml_string ) <EOL> class ExtensionOnlyType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_child_order . extend ( [ '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> extension = 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 . extension = extension or [ ] <EOL> def extension_only_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ExtensionOnlyType_ , xml_string ) <EOL> class WrittenConsent ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def written_consent_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( WrittenConsent , xml_string ) <EOL> class SubscriberLineNumber ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def subscriber_line_number_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SubscriberLineNumber , xml_string ) <EOL> class UserSuffix ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def user_suffix_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( UserSuffix , xml_string ) <EOL> class Password ( PasswordType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = PasswordType_ . c_children . copy ( ) <EOL> c_attributes = PasswordType_ . c_attributes . copy ( ) <EOL> c_child_order = PasswordType_ . c_child_order [ : ] <EOL> c_cardinality = PasswordType_ . c_cardinality . copy ( ) <EOL> def password_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Password , xml_string ) <EOL> class Token ( TokenType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = TokenType_ . c_children . copy ( ) <EOL> c_attributes = TokenType_ . c_attributes . copy ( ) <EOL> c_child_order = TokenType_ . c_child_order [ : ] <EOL> c_cardinality = TokenType_ . c_cardinality . copy ( ) <EOL> def token_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Token , xml_string ) <EOL> class Smartcard ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def smartcard_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Smartcard , xml_string ) <EOL> class ActivationLimit ( ActivationLimitType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ActivationLimitType_ . c_children . copy ( ) <EOL> c_attributes = ActivationLimitType_ . c_attributes . copy ( ) <EOL> c_child_order = ActivationLimitType_ . c_child_order [ : ] <EOL> c_cardinality = ActivationLimitType_ . c_cardinality . copy ( ) <EOL> def activation_limit_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ActivationLimit , xml_string ) <EOL> class PreviousSession ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def previous_session_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PreviousSession , xml_string ) <EOL> class ResumeSession ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def resume_session_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ResumeSession , xml_string ) <EOL> class ZeroKnowledge ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def zero_knowledge_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ZeroKnowledge , xml_string ) <EOL> class SharedSecretChallengeResponse ( SharedSecretChallengeResponseType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SharedSecretChallengeResponseType_ . c_children . copy ( ) <EOL> c_attributes = SharedSecretChallengeResponseType_ . c_attributes . copy ( ) <EOL> c_child_order = SharedSecretChallengeResponseType_ . c_child_order [ : ] <EOL> c_cardinality = SharedSecretChallengeResponseType_ . c_cardinality . copy ( ) <EOL> def shared_secret_challenge_response_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SharedSecretChallengeResponse , <EOL> xml_string ) <EOL> class DigSig ( PublicKeyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = PublicKeyType_ . c_children . copy ( ) <EOL> c_attributes = PublicKeyType_ . c_attributes . copy ( ) <EOL> c_child_order = PublicKeyType_ . c_child_order [ : ] <EOL> c_cardinality = PublicKeyType_ . c_cardinality . copy ( ) <EOL> def dig_sig_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( DigSig , xml_string ) <EOL> class AsymmetricDecryption ( PublicKeyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = PublicKeyType_ . c_children . copy ( ) <EOL> c_attributes = PublicKeyType_ . c_attributes . copy ( ) <EOL> c_child_order = PublicKeyType_ . c_child_order [ : ] <EOL> c_cardinality = PublicKeyType_ . c_cardinality . copy ( ) <EOL> def asymmetric_decryption_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( AsymmetricDecryption , xml_string ) <EOL> class AsymmetricKeyAgreement ( PublicKeyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = PublicKeyType_ . c_children . copy ( ) <EOL> c_attributes = PublicKeyType_ . c_attributes . copy ( ) <EOL> c_child_order = PublicKeyType_ . c_child_order [ : ] <EOL> c_cardinality = PublicKeyType_ . c_cardinality . copy ( ) <EOL> def asymmetric_key_agreement_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( AsymmetricKeyAgreement , <EOL> xml_string ) <EOL> class IPAddress ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def ip_address_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( IPAddress , xml_string ) <EOL> class SharedSecretDynamicPlaintext ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def shared_secret_dynamic_plaintext_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SharedSecretDynamicPlaintext , <EOL> xml_string ) <EOL> class HTTP ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def http_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( HTTP , xml_string ) <EOL> class IPSec ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def ip_sec_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( IPSec , xml_string ) <EOL> class WTLS ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def wtls_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( WTLS , xml_string ) <EOL> class MobileNetworkNoEncryption ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def mobile_network_no_encryption_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( MobileNetworkNoEncryption , <EOL> xml_string ) <EOL> class MobileNetworkRadioEncryption ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def mobile_network_radio_encryption_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( MobileNetworkRadioEncryption , <EOL> xml_string ) <EOL> class MobileNetworkEndToEndEncryption ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def mobile_network_end_to_end_encryption_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( MobileNetworkEndToEndEncryption , <EOL> xml_string ) <EOL> class SSL ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def ssl_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SSL , xml_string ) <EOL> class PSTN ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def pstn_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PSTN , xml_string ) <EOL> class ISDN ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def isdn_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ISDN , xml_string ) <EOL> class ADSL ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def adsl_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ADSL , xml_string ) <EOL> class SwitchAudit ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def switch_audit_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SwitchAudit , xml_string ) <EOL> class DeactivationCallCenter ( ExtensionOnlyType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ExtensionOnlyType_ . c_children . copy ( ) <EOL> c_attributes = ExtensionOnlyType_ . c_attributes . copy ( ) <EOL> c_child_order = ExtensionOnlyType_ . c_child_order [ : ] <EOL> c_cardinality = ExtensionOnlyType_ . c_cardinality . copy ( ) <EOL> def deactivation_call_center_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( DeactivationCallCenter , <EOL> xml_string ) <EOL> class RestrictedPassword ( RestrictedPasswordType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = RestrictedPasswordType_ . c_children . copy ( ) <EOL> c_attributes = RestrictedPasswordType_ . c_attributes . copy ( ) <EOL> c_child_order = RestrictedPasswordType_ . c_child_order [ : ] <EOL> c_cardinality = RestrictedPasswordType_ . c_cardinality . copy ( ) <EOL> def restricted_password_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( RestrictedPassword , xml_string ) <EOL> class ActivationPinType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , Length ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , Alphabet ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , Generation ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , ActivationLimit ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_child_order . extend ( <EOL> [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> length = None , <EOL> alphabet = None , <EOL> generation = None , <EOL> activation_limit = None , <EOL> extension = 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 . length = length <EOL> self . alphabet = alphabet <EOL> self . generation = generation <EOL> self . activation_limit = activation_limit <EOL> self . extension = extension or [ ] <EOL> def activation_pin_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ActivationPinType_ , xml_string ) <EOL> class ComplexAuthenticatorType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , SharedSecretChallengeResponse ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , SharedSecretDynamicPlaintext ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT:password>' , Password ) <EOL> c_child_order . extend ( <EOL> [ '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT:password>' ] ) <EOL> def __init__ ( self , <EOL> shared_secret_challenge_response = None , <EOL> shared_secret_dynamic_plaintext = None , <EOL> password = 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 . shared_secret_challenge_response = shared_secret_challenge_response <EOL> self . shared_secret_dynamic_plaintext = shared_secret_dynamic_plaintext <EOL> self . password = password <EOL> def complex_authenticator_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ComplexAuthenticatorType_ , <EOL> xml_string ) <EOL> class AuthenticatorTransportProtocolType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , SSL ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , MobileNetworkNoEncryption ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , MobileNetworkRadioEncryption ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , MobileNetworkEndToEndEncryption ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , WTLS ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> ssl = None , <EOL> mobile_network_no_encryption = None , <EOL> mobile_network_radio_encryption = None , <EOL> mobile_network_end_to_end_encryption = None , <EOL> wtls = None , <EOL> extension = 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 . ssl = ssl <EOL> self . mobile_network_no_encryption = mobile_network_no_encryption <EOL> self . mobile_network_radio_encryption = mobile_network_radio_encryption <EOL> self . mobile_network_end_to_end_encryption = mobile_network_end_to_end_encryption <EOL> self . wtls = wtls <EOL> self . extension = extension or [ ] <EOL> def authenticator_transport_protocol_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( <EOL> AuthenticatorTransportProtocolType_ , xml_string ) <EOL> class SecurityAuditType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , SwitchAudit ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> switch_audit = None , <EOL> extension = 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 . switch_audit = switch_audit <EOL> self . extension = extension or [ ] <EOL> def security_audit_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SecurityAuditType_ , xml_string ) <EOL> class IdentificationType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , PhysicalVerification ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , WrittenConsent ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , GoverningAgreements ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT:None>' , False ) <EOL> c_child_order . extend ( <EOL> [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> physical_verification = None , <EOL> written_consent = None , <EOL> governing_agreements = None , <EOL> extension = None , <EOL> nym = 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 . physical_verification = physical_verification <EOL> self . written_consent = written_consent <EOL> self . governing_agreements = governing_agreements <EOL> self . extension = extension or [ ] <EOL> self . nym = nym <EOL> def identification_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( IdentificationType_ , xml_string ) <EOL> class Identification ( IdentificationType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = IdentificationType_ . c_children . copy ( ) <EOL> c_attributes = IdentificationType_ . c_attributes . copy ( ) <EOL> c_child_order = IdentificationType_ . c_child_order [ : ] <EOL> c_cardinality = IdentificationType_ . c_cardinality . copy ( ) <EOL> def identification_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Identification , xml_string ) <EOL> class ActivationPin ( ActivationPinType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ActivationPinType_ . c_children . copy ( ) <EOL> c_attributes = ActivationPinType_ . c_attributes . copy ( ) <EOL> c_child_order = ActivationPinType_ . c_child_order [ : ] <EOL> c_cardinality = ActivationPinType_ . c_cardinality . copy ( ) <EOL> def activation_pin_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ActivationPin , xml_string ) <EOL> class ComplexAuthenticator ( ComplexAuthenticatorType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = ComplexAuthenticatorType_ . c_children . copy ( ) <EOL> c_attributes = ComplexAuthenticatorType_ . c_attributes . copy ( ) <EOL> c_child_order = ComplexAuthenticatorType_ . c_child_order [ : ] <EOL> c_cardinality = ComplexAuthenticatorType_ . c_cardinality . copy ( ) <EOL> def complex_authenticator_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( ComplexAuthenticator , xml_string ) <EOL> class AuthenticatorTransportProtocol ( AuthenticatorTransportProtocolType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = AuthenticatorTransportProtocolType_ . c_children . copy ( ) <EOL> c_attributes = AuthenticatorTransportProtocolType_ . c_attributes . copy ( ) <EOL> c_child_order = AuthenticatorTransportProtocolType_ . c_child_order [ : ] <EOL> c_cardinality = AuthenticatorTransportProtocolType_ . c_cardinality . copy ( ) <EOL> def authenticator_transport_protocol_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( AuthenticatorTransportProtocol , <EOL> xml_string ) <EOL> class SecurityAudit ( SecurityAuditType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SecurityAuditType_ . c_children . copy ( ) <EOL> c_attributes = SecurityAuditType_ . c_attributes . copy ( ) <EOL> c_child_order = SecurityAuditType_ . c_child_order [ : ] <EOL> c_cardinality = SecurityAuditType_ . c_cardinality . copy ( ) <EOL> def security_audit_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SecurityAudit , xml_string ) <EOL> class PrincipalAuthenticationMechanismType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT:password>' , Password ) <EOL> c_cardinality [ '<STR_LIT:password>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , RestrictedPassword ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , Token ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , Smartcard ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , ActivationPin ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT>' , '<STR_LIT>' , False ) <EOL> c_child_order . extend ( <EOL> [ '<STR_LIT:password>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> password = None , <EOL> restricted_password = None , <EOL> token = None , <EOL> smartcard = None , <EOL> activation_pin = None , <EOL> extension = None , <EOL> preauth = 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 . password = password <EOL> self . restricted_password = restricted_password <EOL> self . token = token <EOL> self . smartcard = smartcard <EOL> self . activation_pin = activation_pin <EOL> self . extension = extension or [ ] <EOL> self . preauth = preauth <EOL> def principal_authentication_mechanism_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( <EOL> PrincipalAuthenticationMechanismType_ , xml_string ) <EOL> class KeyActivationType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , ActivationPin ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> activation_pin = None , <EOL> extension = 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 . activation_pin = activation_pin <EOL> self . extension = extension or [ ] <EOL> def key_activation_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( KeyActivationType_ , xml_string ) <EOL> class AuthenticatorBaseType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , DigSig ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , ZeroKnowledge ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , SharedSecretChallengeResponse ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , SharedSecretDynamicPlaintext ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , AsymmetricDecryption ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , AsymmetricKeyAgreement ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , ComplexAuthenticator ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_child_order . extend ( <EOL> [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> dig_sig = None , <EOL> zero_knowledge = None , <EOL> shared_secret_challenge_response = None , <EOL> shared_secret_dynamic_plaintext = None , <EOL> asymmetric_decryption = None , <EOL> asymmetric_key_agreement = None , <EOL> complex_authenticator = None , <EOL> extension = 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 . dig_sig = dig_sig <EOL> self . zero_knowledge = zero_knowledge <EOL> self . shared_secret_challenge_response = shared_secret_challenge_response <EOL> self . shared_secret_dynamic_plaintext = shared_secret_dynamic_plaintext <EOL> self . asymmetric_decryption = asymmetric_decryption <EOL> self . asymmetric_key_agreement = asymmetric_key_agreement <EOL> self . complex_authenticator = complex_authenticator <EOL> self . extension = extension or [ ] <EOL> def authenticator_base_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( AuthenticatorBaseType_ , <EOL> xml_string ) <EOL> class OperationalProtectionType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , SecurityAudit ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , DeactivationCallCenter ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_child_order . extend ( <EOL> [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> security_audit = None , <EOL> deactivation_call_center = None , <EOL> extension = 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 . security_audit = security_audit <EOL> self . deactivation_call_center = deactivation_call_center <EOL> self . extension = extension or [ ] <EOL> def operational_protection_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( OperationalProtectionType_ , <EOL> xml_string ) <EOL> class KeyActivation ( KeyActivationType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = KeyActivationType_ . c_children . copy ( ) <EOL> c_attributes = KeyActivationType_ . c_attributes . copy ( ) <EOL> c_child_order = KeyActivationType_ . c_child_order [ : ] <EOL> c_cardinality = KeyActivationType_ . c_cardinality . copy ( ) <EOL> def key_activation_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( KeyActivation , xml_string ) <EOL> class PrincipalAuthenticationMechanism ( PrincipalAuthenticationMechanismType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = PrincipalAuthenticationMechanismType_ . c_children . copy ( ) <EOL> c_attributes = PrincipalAuthenticationMechanismType_ . c_attributes . copy ( ) <EOL> c_child_order = PrincipalAuthenticationMechanismType_ . c_child_order [ : ] <EOL> c_cardinality = PrincipalAuthenticationMechanismType_ . c_cardinality . copy ( ) <EOL> def principal_authentication_mechanism_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PrincipalAuthenticationMechanism , <EOL> xml_string ) <EOL> class Authenticator ( AuthenticatorBaseType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = AuthenticatorBaseType_ . c_children . copy ( ) <EOL> c_attributes = AuthenticatorBaseType_ . c_attributes . copy ( ) <EOL> c_child_order = AuthenticatorBaseType_ . c_child_order [ : ] <EOL> c_cardinality = AuthenticatorBaseType_ . c_cardinality . copy ( ) <EOL> def authenticator_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( Authenticator , xml_string ) <EOL> class OperationalProtection ( OperationalProtectionType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = OperationalProtectionType_ . c_children . copy ( ) <EOL> c_attributes = OperationalProtectionType_ . c_attributes . copy ( ) <EOL> c_child_order = OperationalProtectionType_ . c_child_order [ : ] <EOL> c_cardinality = OperationalProtectionType_ . c_cardinality . copy ( ) <EOL> def operational_protection_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( OperationalProtection , xml_string ) <EOL> class AuthnMethodBaseType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , PrincipalAuthenticationMechanism ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , Authenticator ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , AuthenticatorTransportProtocol ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> principal_authentication_mechanism = None , <EOL> authenticator = None , <EOL> authenticator_transport_protocol = None , <EOL> extension = 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 . principal_authentication_mechanism = principal_authentication_mechanism <EOL> self . authenticator = authenticator <EOL> self . authenticator_transport_protocol = authenticator_transport_protocol <EOL> self . extension = extension or [ ] <EOL> def authn_method_base_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( AuthnMethodBaseType_ , xml_string ) <EOL> class PrivateKeyProtectionType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , KeyActivation ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , KeyStorage ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> key_activation = None , <EOL> key_storage = None , <EOL> extension = 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 . key_activation = key_activation <EOL> self . key_storage = key_storage <EOL> self . extension = extension or [ ] <EOL> def private_key_protection_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PrivateKeyProtectionType_ , <EOL> xml_string ) <EOL> class SecretKeyProtectionType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , KeyActivation ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , KeyStorage ) <EOL> c_children [ <EOL> '<STR_LIT>' '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_child_order . extend ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> key_activation = None , <EOL> key_storage = None , <EOL> extension = 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 . key_activation = key_activation <EOL> self . key_storage = key_storage <EOL> self . extension = extension or [ ] <EOL> def secret_key_protection_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SecretKeyProtectionType_ , <EOL> xml_string ) <EOL> class SecretKeyProtection ( SecretKeyProtectionType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = SecretKeyProtectionType_ . c_children . copy ( ) <EOL> c_attributes = SecretKeyProtectionType_ . c_attributes . copy ( ) <EOL> c_child_order = SecretKeyProtectionType_ . c_child_order [ : ] <EOL> c_cardinality = SecretKeyProtectionType_ . c_cardinality . copy ( ) <EOL> def secret_key_protection_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( SecretKeyProtection , xml_string ) <EOL> class PrivateKeyProtection ( PrivateKeyProtectionType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = PrivateKeyProtectionType_ . c_children . copy ( ) <EOL> c_attributes = PrivateKeyProtectionType_ . c_attributes . copy ( ) <EOL> c_child_order = PrivateKeyProtectionType_ . c_child_order [ : ] <EOL> c_cardinality = PrivateKeyProtectionType_ . c_cardinality . copy ( ) <EOL> def private_key_protection_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( PrivateKeyProtection , xml_string ) <EOL> class AuthnMethod ( AuthnMethodBaseType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = AuthnMethodBaseType_ . c_children . copy ( ) <EOL> c_attributes = AuthnMethodBaseType_ . c_attributes . copy ( ) <EOL> c_child_order = AuthnMethodBaseType_ . c_child_order [ : ] <EOL> c_cardinality = AuthnMethodBaseType_ . c_cardinality . copy ( ) <EOL> def authn_method_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( AuthnMethod , xml_string ) <EOL> class TechnicalProtectionBaseType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , PrivateKeyProtection ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , SecretKeyProtection ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_child_order . extend ( <EOL> [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> private_key_protection = None , <EOL> secret_key_protection = None , <EOL> extension = 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 . private_key_protection = private_key_protection <EOL> self . secret_key_protection = secret_key_protection <EOL> self . extension = extension or [ ] <EOL> def technical_protection_base_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( TechnicalProtectionBaseType_ , <EOL> xml_string ) <EOL> class TechnicalProtection ( TechnicalProtectionBaseType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = TechnicalProtectionBaseType_ . c_children . copy ( ) <EOL> c_attributes = TechnicalProtectionBaseType_ . c_attributes . copy ( ) <EOL> c_child_order = TechnicalProtectionBaseType_ . c_child_order [ : ] <EOL> c_cardinality = TechnicalProtectionBaseType_ . c_cardinality . copy ( ) <EOL> def technical_protection_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( TechnicalProtection , xml_string ) <EOL> class AuthnContextDeclarationBaseType_ ( 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 [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , Identification ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , TechnicalProtection ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , OperationalProtection ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , AuthnMethod ) <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , GoverningAgreements ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> , "<STR_LIT>" : <NUM_LIT:1> } <EOL> c_children [ <EOL> '<STR_LIT>' ] = ( <EOL> '<STR_LIT>' , [ Extension ] ) <EOL> c_cardinality [ '<STR_LIT>' ] = { "<STR_LIT>" : <NUM_LIT:0> } <EOL> c_attributes [ '<STR_LIT>' ] = ( '<STR_LIT:id>' , '<STR_LIT>' , False ) <EOL> c_child_order . extend ( <EOL> [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def __init__ ( self , <EOL> identification = None , <EOL> technical_protection = None , <EOL> operational_protection = None , <EOL> authn_method = None , <EOL> governing_agreements = None , <EOL> extension = 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 . identification = identification <EOL> self . technical_protection = technical_protection <EOL> self . operational_protection = operational_protection <EOL> self . authn_method = authn_method <EOL> self . governing_agreements = governing_agreements <EOL> self . extension = extension or [ ] <EOL> self . id = id <EOL> def authn_context_declaration_base_type__from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( AuthnContextDeclarationBaseType_ , <EOL> xml_string ) <EOL> class AuthenticationContextDeclaration ( AuthnContextDeclarationBaseType_ ) : <EOL> """<STR_LIT>""" <EOL> c_tag = '<STR_LIT>' <EOL> c_namespace = NAMESPACE <EOL> c_children = AuthnContextDeclarationBaseType_ . c_children . copy ( ) <EOL> c_attributes = AuthnContextDeclarationBaseType_ . c_attributes . copy ( ) <EOL> c_child_order = AuthnContextDeclarationBaseType_ . c_child_order [ : ] <EOL> c_cardinality = AuthnContextDeclarationBaseType_ . c_cardinality . copy ( ) <EOL> def authentication_context_declaration_from_string ( xml_string ) : <EOL> return saml2 . create_class_from_xml_string ( AuthenticationContextDeclaration , <EOL> xml_string ) <EOL> ELEMENT_FROM_STRING = { <EOL> AuthenticationContextDeclaration . c_tag : authentication_context_declaration_from_string , <EOL> Identification . c_tag : identification_from_string , <EOL> PhysicalVerification . c_tag : physical_verification_from_string , <EOL> WrittenConsent . c_tag : written_consent_from_string , <EOL> TechnicalProtection . c_tag : technical_protection_from_string , <EOL> SecretKeyProtection . c_tag : secret_key_protection_from_string , <EOL> PrivateKeyProtection . c_tag : private_key_protection_from_string , <EOL> KeyActivation . c_tag : key_activation_from_string , <EOL> KeySharing . c_tag : key_sharing_from_string , <EOL> KeyStorage . c_tag : key_storage_from_string , <EOL> SubscriberLineNumber . c_tag : subscriber_line_number_from_string , <EOL> UserSuffix . c_tag : user_suffix_from_string , <EOL> Password . c_tag : password_from_string , <EOL> ActivationPin . c_tag : activation_pin_from_string , <EOL> Token . c_tag : token_from_string , <EOL> TimeSyncToken . c_tag : time_sync_token_from_string , <EOL> Smartcard . c_tag : smartcard_from_string , <EOL> Length . c_tag : length_from_string , <EOL> ActivationLimit . c_tag : activation_limit_from_string , <EOL> Generation . c_tag : generation_from_string , <EOL> AuthnMethod . c_tag : authn_method_from_string , <EOL> PrincipalAuthenticationMechanism . c_tag : principal_authentication_mechanism_from_string , <EOL> Authenticator . c_tag : authenticator_from_string , <EOL> ComplexAuthenticator . c_tag : complex_authenticator_from_string , <EOL> PreviousSession . c_tag : previous_session_from_string , <EOL> ResumeSession . c_tag : resume_session_from_string , <EOL> ZeroKnowledge . c_tag : zero_knowledge_from_string , <EOL> SharedSecretChallengeResponse . c_tag : shared_secret_challenge_response_from_string , <EOL> SharedSecretChallengeResponseType_ . c_tag : shared_secret_challenge_response_type__from_string , <EOL> DigSig . c_tag : dig_sig_from_string , <EOL> AsymmetricDecryption . c_tag : asymmetric_decryption_from_string , <EOL> AsymmetricKeyAgreement . c_tag : asymmetric_key_agreement_from_string , <EOL> PublicKeyType_ . c_tag : public_key_type__from_string , <EOL> IPAddress . c_tag : ip_address_from_string , <EOL> SharedSecretDynamicPlaintext . c_tag : shared_secret_dynamic_plaintext_from_string , <EOL> AuthenticatorTransportProtocol . c_tag : authenticator_transport_protocol_from_string , <EOL> HTTP . c_tag : http_from_string , <EOL> IPSec . c_tag : ip_sec_from_string , <EOL> WTLS . c_tag : wtls_from_string , <EOL> MobileNetworkNoEncryption . c_tag : mobile_network_no_encryption_from_string , <EOL> MobileNetworkRadioEncryption . c_tag : mobile_network_radio_encryption_from_string , <EOL> MobileNetworkEndToEndEncryption . c_tag : mobile_network_end_to_end_encryption_from_string , <EOL> SSL . c_tag : ssl_from_string , <EOL> PSTN . c_tag : pstn_from_string , <EOL> ISDN . c_tag : isdn_from_string , <EOL> ADSL . c_tag : adsl_from_string , <EOL> OperationalProtection . c_tag : operational_protection_from_string , <EOL> SecurityAudit . c_tag : security_audit_from_string , <EOL> SwitchAudit . c_tag : switch_audit_from_string , <EOL> DeactivationCallCenter . c_tag : deactivation_call_center_from_string , <EOL> GoverningAgreements . c_tag : governing_agreements_from_string , <EOL> GoverningAgreementRef . c_tag : governing_agreement_ref_from_string , <EOL> NymType_ . c_tag : nym_type__from_string , <EOL> GoverningAgreementsType_ . c_tag : governing_agreements_type__from_string , <EOL> GoverningAgreementRefType_ . c_tag : governing_agreement_ref_type__from_string , <EOL> PrincipalAuthenticationMechanismType_ . c_tag : principal_authentication_mechanism_type__from_string , <EOL> KeyActivationType_ . c_tag : key_activation_type__from_string , <EOL> KeySharingType_ . c_tag : key_sharing_type__from_string , <EOL> PasswordType_ . c_tag : password_type__from_string , <EOL> RestrictedPassword . c_tag : restricted_password_from_string , <EOL> RestrictedPasswordType_ . c_tag : restricted_password_type__from_string , <EOL> RestrictedLengthType_ . c_tag : restricted_length_type__from_string , <EOL> ActivationPinType_ . c_tag : activation_pin_type__from_string , <EOL> Alphabet . c_tag : alphabet_from_string , <EOL> AlphabetType_ . c_tag : alphabet_type__from_string , <EOL> TokenType_ . c_tag : token_type__from_string , <EOL> DeviceTypeType_ . c_tag : device_type_type__from_string , <EOL> BooleanType_ . c_tag : boolean_type__from_string , <EOL> TimeSyncTokenType_ . c_tag : time_sync_token_type__from_string , <EOL> ActivationLimitType_ . c_tag : activation_limit_type__from_string , <EOL> ActivationLimitDuration . c_tag : activation_limit_duration_from_string , <EOL> ActivationLimitUsages . c_tag : activation_limit_usages_from_string , <EOL> ActivationLimitSession . c_tag : activation_limit_session_from_string , <EOL> ActivationLimitDurationType_ . c_tag : activation_limit_duration_type__from_string , <EOL> ActivationLimitUsagesType_ . c_tag : activation_limit_usages_type__from_string , <EOL> ActivationLimitSessionType_ . c_tag : activation_limit_session_type__from_string , <EOL> LengthType_ . c_tag : length_type__from_string , <EOL> MediumType_ . c_tag : medium_type__from_string , <EOL> ExtensionOnlyType_ . c_tag : extension_only_type__from_string , <EOL> Extension . c_tag : extension_from_string , <EOL> ExtensionType_ . c_tag : extension_type__from_string , <EOL> AuthnContextDeclarationBaseType_ . c_tag : authn_context_declaration_base_type__from_string , <EOL> AuthnMethodBaseType_ . c_tag : authn_method_base_type__from_string , <EOL> AuthenticatorBaseType_ . c_tag : authenticator_base_type__from_string , <EOL> ComplexAuthenticatorType_ . c_tag : complex_authenticator_type__from_string , <EOL> AuthenticatorTransportProtocolType_ . c_tag : authenticator_transport_protocol_type__from_string , <EOL> OperationalProtectionType_ . c_tag : operational_protection_type__from_string , <EOL> TechnicalProtectionBaseType_ . c_tag : technical_protection_base_type__from_string , <EOL> PrivateKeyProtectionType_ . c_tag : private_key_protection_type__from_string , <EOL> SecretKeyProtectionType_ . c_tag : secret_key_protection_type__from_string , <EOL> KeyStorageType_ . c_tag : key_storage_type__from_string , <EOL> SecurityAuditType_ . c_tag : security_audit_type__from_string , <EOL> IdentificationType_ . c_tag : identification_type__from_string , <EOL> } <EOL> ELEMENT_BY_TAG = { <EOL> '<STR_LIT>' : AuthenticationContextDeclaration , <EOL> '<STR_LIT>' : Identification , <EOL> '<STR_LIT>' : PhysicalVerification , <EOL> '<STR_LIT>' : WrittenConsent , <EOL> '<STR_LIT>' : TechnicalProtection , <EOL> '<STR_LIT>' : SecretKeyProtection , <EOL> '<STR_LIT>' : PrivateKeyProtection , <EOL> '<STR_LIT>' : KeyActivation , <EOL> '<STR_LIT>' : KeySharing , <EOL> '<STR_LIT>' : KeyStorage , <EOL> '<STR_LIT>' : SubscriberLineNumber , <EOL> '<STR_LIT>' : UserSuffix , <EOL> '<STR_LIT>' : Password , <EOL> '<STR_LIT>' : ActivationPin , <EOL> '<STR_LIT>' : Token , <EOL> '<STR_LIT>' : TimeSyncToken , <EOL> '<STR_LIT>' : Smartcard , <EOL> '<STR_LIT>' : Length , <EOL> '<STR_LIT>' : ActivationLimit , <EOL> '<STR_LIT>' : Generation , <EOL> '<STR_LIT>' : AuthnMethod , <EOL> '<STR_LIT>' : PrincipalAuthenticationMechanism , <EOL> '<STR_LIT>' : Authenticator , <EOL> '<STR_LIT>' : ComplexAuthenticator , <EOL> '<STR_LIT>' : PreviousSession , <EOL> '<STR_LIT>' : ResumeSession , <EOL> '<STR_LIT>' : ZeroKnowledge , <EOL> '<STR_LIT>' : SharedSecretChallengeResponse , <EOL> '<STR_LIT>' : SharedSecretChallengeResponseType_ , <EOL> '<STR_LIT>' : DigSig , <EOL> '<STR_LIT>' : AsymmetricDecryption , <EOL> '<STR_LIT>' : AsymmetricKeyAgreement , <EOL> '<STR_LIT>' : PublicKeyType_ , <EOL> '<STR_LIT>' : IPAddress , <EOL> '<STR_LIT>' : SharedSecretDynamicPlaintext , <EOL> '<STR_LIT>' : AuthenticatorTransportProtocol , <EOL> '<STR_LIT>' : HTTP , <EOL> '<STR_LIT>' : IPSec , <EOL> '<STR_LIT>' : WTLS , <EOL> '<STR_LIT>' : MobileNetworkNoEncryption , <EOL> '<STR_LIT>' : MobileNetworkRadioEncryption , <EOL> '<STR_LIT>' : MobileNetworkEndToEndEncryption , <EOL> '<STR_LIT>' : SSL , <EOL> '<STR_LIT>' : PSTN , <EOL> '<STR_LIT>' : ISDN , <EOL> '<STR_LIT>' : ADSL , <EOL> '<STR_LIT>' : OperationalProtection , <EOL> '<STR_LIT>' : SecurityAudit , <EOL> '<STR_LIT>' : SwitchAudit , <EOL> '<STR_LIT>' : DeactivationCallCenter , <EOL> '<STR_LIT>' : GoverningAgreements , <EOL> '<STR_LIT>' : GoverningAgreementRef , <EOL> '<STR_LIT>' : NymType_ , <EOL> '<STR_LIT>' : GoverningAgreementsType_ , <EOL> '<STR_LIT>' : GoverningAgreementRefType_ , <EOL> '<STR_LIT>' : PrincipalAuthenticationMechanismType_ , <EOL> '<STR_LIT>' : KeyActivationType_ , <EOL> '<STR_LIT>' : KeySharingType_ , <EOL> '<STR_LIT>' : PasswordType_ , <EOL> '<STR_LIT>' : RestrictedPassword , <EOL> '<STR_LIT>' : RestrictedPasswordType_ , <EOL> '<STR_LIT>' : RestrictedLengthType_ , <EOL> '<STR_LIT>' : ActivationPinType_ , <EOL> '<STR_LIT>' : Alphabet , <EOL> '<STR_LIT>' : AlphabetType_ , <EOL> '<STR_LIT>' : TokenType_ , <EOL> '<STR_LIT>' : DeviceTypeType_ , <EOL> '<STR_LIT>' : BooleanType_ , <EOL> '<STR_LIT>' : TimeSyncTokenType_ , <EOL> '<STR_LIT>' : ActivationLimitType_ , <EOL> '<STR_LIT>' : ActivationLimitDuration , <EOL> '<STR_LIT>' : ActivationLimitUsages , <EOL> '<STR_LIT>' : ActivationLimitSession , <EOL> '<STR_LIT>' : ActivationLimitDurationType_ , <EOL> '<STR_LIT>' : ActivationLimitUsagesType_ , <EOL> '<STR_LIT>' : ActivationLimitSessionType_ , <EOL> '<STR_LIT>' : LengthType_ , <EOL> '<STR_LIT>' : MediumType_ , <EOL> '<STR_LIT>' : ExtensionOnlyType_ , <EOL> '<STR_LIT>' : Extension , <EOL> '<STR_LIT>' : ExtensionType_ , <EOL> '<STR_LIT>' : AuthnContextDeclarationBaseType_ , <EOL> '<STR_LIT>' : AuthnMethodBaseType_ , <EOL> '<STR_LIT>' : AuthenticatorBaseType_ , <EOL> '<STR_LIT>' : ComplexAuthenticatorType_ , <EOL> '<STR_LIT>' : AuthenticatorTransportProtocolType_ , <EOL> '<STR_LIT>' : OperationalProtectionType_ , <EOL> '<STR_LIT>' : TechnicalProtectionBaseType_ , <EOL> '<STR_LIT>' : PrivateKeyProtectionType_ , <EOL> '<STR_LIT>' : SecretKeyProtectionType_ , <EOL> '<STR_LIT>' : KeyStorageType_ , <EOL> '<STR_LIT>' : SecurityAuditType_ , <EOL> '<STR_LIT>' : IdentificationType_ , <EOL> } <EOL> def factory ( tag , ** kwargs ) : <EOL> return ELEMENT_BY_TAG [ tag ] ( ** kwargs ) </s>
