#NEWLINE# def getOwnCert( self ) : #NEWLINE# #INDENT# '\n        Retrieves the nodes own certificate from the nodes DHT-storage and\n        returns it.\n        ' #NEWLINE# sourceNodeIdHex = self . sourceNode . id . encode ( 'hex' ) . upper ( ) #NEWLINE# return self . storage [ digest ( '{}cert' . format ( sourceNodeIdHex ) ) ]