def getKey(self): """ Public method to get the channel key. @return channel key (string) """ return pwConvert(self.__key, encode=False)
def getPassword(self): """ Public method to get the password. @return password (string) """ return pwConvert(self.__password, encode=False)
def setKey(self, key): """ Public method to set a new channel key. @param key channel key to set (string) """ self.__key = pwConvert(key, encode=True)
def setPassword(self, password): """ Public method to set a new password. @param password password to set (string) """ self.__password = pwConvert(password, encode=True)