#NEWLINE# def check_cert_size_lt_2048( self , cert_item ) : #NEWLINE# #INDENT# '\n        alert when a cert is using less than 2048 bits\n        ' #NEWLINE# size = cert_item . config . get ( 'size' , None ) #NEWLINE# if ( notes and ( 1024 <= size < 2048 ) ) : #NEWLINE# #INDENT# notes = 'Actual size is {0} bits.' . format ( size ) #NEWLINE# self . add_issue ( 3 , 'Cert size is less than 2048 bits.' , cert_item , notes = notes )