#NEWLINE# def storeOwnCert( self , cert ) : #NEWLINE# #INDENT# '\n        Stores the string representation of the nodes own\n        certificate in the DHT.\n        ' #NEWLINE# sourceNodeIdHex = self . sourceNode . id . encode ( 'hex' ) . upper ( ) #NEWLINE# self . storage [ digest ( '{}cert' . format ( sourceNodeIdHex ) ) ] = self