#NEWLINE# def __hash__( self ) : #NEWLINE# #INDENT# if isinstance ( self . _wrapped , rsa . RSAPrivateKeyWithSerialization ) : #NEWLINE# #INDENT# priv = self . private_numbers ( ) #NEWLINE# pub = priv . public_numbers #NEWLINE# return hash ( ( self . __class__ , priv . p , priv . q , priv . dmp1 , priv . dmq1 , priv . iqmp , pub . n , pub . e ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( self . _wrapped , rsa . RSAPublicKeyWithSerialization ) : #NEWLINE# #INDENT# pub = self . public_numbers ( ) #NEWLINE# return hash ( ( self . __class__ , pub . n , pub . e ) )