#NEWLINE# def remove_key( self , typ , val = None ) : #NEWLINE# #INDENT# '\n\n        :param typ: Type of key (rsa, ec, oct, ..)\n        :param val: The key itself\n        ' #NEWLINE# if val : #NEWLINE# #INDENT# self . _keys = [ k for k in self . _keys if ( not ( ( k . kty == typ ) and ( k . key == val . key ) ) ) ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _keys = [ k for k in self . _keys if ( not ( k . kty == typ ) ) ]