<s> """<STR_LIT>""" <EOL> __author__ = "<STR_LIT>" <EOL> __date__ = "<STR_LIT>" <EOL> __copyright__ = "<STR_LIT>" <EOL> __license__ = "<STR_LIT>" <EOL> __contact__ = "<STR_LIT>" <EOL> __revision__ = '<STR_LIT>' <EOL> try : <EOL> from pyasn1 . type import univ , constraint , char , namedtype , tag <EOL> except ImportError as e : <EOL> import_error_msg = ( '<STR_LIT>' <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' % e ) <EOL> import warnings <EOL> warnings . warn ( import_error_msg ) <EOL> class Pyasn1ImportError ( ImportError ) : <EOL> "<STR_LIT>" <EOL> raise Pyasn1ImportError ( import_error_msg ) <EOL> MAX = <NUM_LIT:64> <EOL> class DirectoryString ( univ . Choice ) : <EOL> """<STR_LIT>""" <EOL> componentType = namedtype . NamedTypes ( <EOL> namedtype . NamedType ( <EOL> '<STR_LIT>' , char . TeletexString ( ) . subtype ( <EOL> subtypeSpec = constraint . ValueSizeConstraint ( <NUM_LIT:1> , MAX ) ) ) , <EOL> namedtype . NamedType ( <EOL> '<STR_LIT>' , char . PrintableString ( ) . subtype ( <EOL> subtypeSpec = constraint . ValueSizeConstraint ( <NUM_LIT:1> , MAX ) ) ) , <EOL> namedtype . NamedType ( <EOL> '<STR_LIT>' , char . UniversalString ( ) . subtype ( <EOL> subtypeSpec = constraint . ValueSizeConstraint ( <NUM_LIT:1> , MAX ) ) ) , <EOL> namedtype . NamedType ( <EOL> '<STR_LIT>' , char . UTF8String ( ) . subtype ( <EOL> subtypeSpec = constraint . ValueSizeConstraint ( <NUM_LIT:1> , MAX ) ) ) , <EOL> namedtype . NamedType ( <EOL> '<STR_LIT>' , char . BMPString ( ) . subtype ( <EOL> subtypeSpec = constraint . ValueSizeConstraint ( <NUM_LIT:1> , MAX ) ) ) , <EOL> namedtype . NamedType ( <EOL> '<STR_LIT>' , char . IA5String ( ) . subtype ( <EOL> subtypeSpec = constraint . ValueSizeConstraint ( <NUM_LIT:1> , MAX ) ) ) , <EOL> ) <EOL> class AttributeValue ( DirectoryString ) : <EOL> """<STR_LIT>""" <EOL> class AttributeType ( univ . ObjectIdentifier ) : <EOL> """<STR_LIT>""" <EOL> class AttributeTypeAndValue ( univ . Sequence ) : <EOL> """<STR_LIT>""" <EOL> componentType = namedtype . NamedTypes ( <EOL> namedtype . NamedType ( '<STR_LIT:type>' , AttributeType ( ) ) , <EOL> namedtype . NamedType ( '<STR_LIT:value>' , AttributeValue ( ) ) , <EOL> ) <EOL> class RelativeDistinguishedName ( univ . SetOf ) : <EOL> '''<STR_LIT>''' <EOL> componentType = AttributeTypeAndValue ( ) <EOL> class RDNSequence ( univ . SequenceOf ) : <EOL> '''<STR_LIT>''' <EOL> componentType = RelativeDistinguishedName ( ) <EOL> class Name ( univ . Choice ) : <EOL> '''<STR_LIT>''' <EOL> componentType = namedtype . NamedTypes ( <EOL> namedtype . NamedType ( '<STR_LIT>' , RDNSequence ( ) ) , <EOL> ) <EOL> class Extension ( univ . Sequence ) : <EOL> '''<STR_LIT>''' <EOL> componentType = namedtype . NamedTypes ( <EOL> namedtype . NamedType ( '<STR_LIT>' , univ . ObjectIdentifier ( ) ) , <EOL> namedtype . DefaultedNamedType ( '<STR_LIT>' , univ . Boolean ( '<STR_LIT:False>' ) ) , <EOL> namedtype . NamedType ( '<STR_LIT>' , univ . OctetString ( ) ) , <EOL> ) <EOL> class Extensions ( univ . SequenceOf ) : <EOL> '''<STR_LIT>''' <EOL> componentType = Extension ( ) <EOL> sizeSpec = univ . SequenceOf . sizeSpec + constraint . ValueSizeConstraint ( <NUM_LIT:1> , MAX ) <EOL> class AnotherName ( univ . Sequence ) : <EOL> componentType = namedtype . NamedTypes ( <EOL> namedtype . NamedType ( '<STR_LIT>' , univ . ObjectIdentifier ( ) ) , <EOL> namedtype . NamedType ( '<STR_LIT:value>' , univ . Any ( ) . subtype ( <EOL> explicitTag = tag . Tag ( tag . tagClassContext , <EOL> tag . tagFormatSimple , <NUM_LIT:0> ) ) ) <EOL> ) <EOL> class GeneralName ( univ . Choice ) : <EOL> '''<STR_LIT>''' <EOL> componentType = namedtype . NamedTypes ( <EOL> namedtype . NamedType ( '<STR_LIT>' , AnotherName ( ) . subtype ( <EOL> implicitTag = tag . Tag ( tag . tagClassContext , <EOL> tag . tagFormatSimple , <NUM_LIT:0> ) ) ) , <EOL> namedtype . NamedType ( '<STR_LIT>' , char . IA5String ( ) . subtype ( <EOL> implicitTag = tag . Tag ( tag . tagClassContext , <EOL> tag . tagFormatSimple , <NUM_LIT:1> ) ) ) , <EOL> namedtype . NamedType ( '<STR_LIT>' , char . IA5String ( ) . subtype ( <EOL> implicitTag = tag . Tag ( tag . tagClassContext , <EOL> tag . tagFormatSimple , <NUM_LIT:2> ) ) ) , <EOL> namedtype . NamedType ( '<STR_LIT>' , Name ( ) . subtype ( <EOL> implicitTag = tag . Tag ( tag . tagClassContext , <EOL> tag . tagFormatSimple , <NUM_LIT:4> ) ) ) , <EOL> namedtype . NamedType ( '<STR_LIT>' , char . IA5String ( ) . subtype ( <EOL> implicitTag = tag . Tag ( tag . tagClassContext , <EOL> tag . tagFormatSimple , <NUM_LIT:6> ) ) ) , <EOL> namedtype . NamedType ( '<STR_LIT>' , univ . OctetString ( ) . subtype ( <EOL> implicitTag = tag . Tag ( tag . tagClassContext , <EOL> tag . tagFormatSimple , <NUM_LIT:7> ) ) ) , <EOL> namedtype . NamedType ( '<STR_LIT>' , univ . ObjectIdentifier ( ) . subtype ( <EOL> implicitTag = tag . Tag ( tag . tagClassContext , <EOL> tag . tagFormatSimple , <NUM_LIT:8> ) ) ) , <EOL> ) <EOL> class GeneralNames ( univ . SequenceOf ) : <EOL> '''<STR_LIT>''' <EOL> componentType = GeneralName ( ) <EOL> sizeSpec = univ . SequenceOf . sizeSpec + constraint . ValueSizeConstraint ( <NUM_LIT:1> , MAX ) <EOL> class SubjectAltName ( GeneralNames ) : <EOL> '''<STR_LIT>''' </s>
