#NEWLINE# @ staticmethod #NEWLINE# def getCertSuites( ciphers ) : #NEWLINE# #INDENT# suites = [ ] #NEWLINE# for cipher in ciphers : #NEWLINE# #INDENT# if ( cipher == 'aes128' ) : #NEWLINE# #INDENT# suites . append ( CipherSuite . TLS_RSA_WITH_AES_128_CBC_SHA ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( cipher == 'aes256' ) : #NEWLINE# #INDENT# suites . append ( CipherSuite . TLS_RSA_WITH_AES_256_CBC_SHA ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( cipher == 'rc4' ) : #NEWLINE# #INDENT# suites . append ( CipherSuite . TLS_RSA_WITH_RC4_128_SHA ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( cipher == '3des' ) : #NEWLINE# #INDENT# suites . append ( CipherSuite . TLS_RSA_WITH_3DES_EDE_CBC_SHA ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# return suites