parameters: (self)
docstring: Returns the TPM name of this handle
docstring_summary: Returns the TPM name of this handle
docstring_tokens: Returns the TPM name of this handle
function: def getName(self):
          """ Returns the TPM name of this handle """
          t = self.getType()
          if t == 0 or t == 2 or t == 3 or t == 0x40:
              self.name = self.toBytes()
              return self.name
          elif t == 1 or t == 0x80 or t == 0x81:
              return self.name
          else:
              raise(Exception("TPM_HANDLE.getName(): Unknown handle type"))
function_tokens: def getName ( self ) : t = self . getType ( ) if t == 0 or t == 2 or t == 3 or t == 0x40 : self . name = self . toBytes ( ) return self . name elif t == 1 or t == 0x80 or t == 0x81 : return self . name else : raise ( Exception ( "TPM_HANDLE.getName(): Unknown handle type" ) )