Example #1
0
 def getKey(self):
     """
     Public method to get the channel key.
     
     @return channel key (string)
     """
     return pwConvert(self.__key, encode=False)
Example #2
0
 def getPassword(self):
     """
     Public method to get the password.
     
     @return password (string)
     """
     return pwConvert(self.__password, encode=False)
Example #3
0
 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)
Example #4
0
 def setPassword(self, password):
     """
     Public method to set a new password.
     
     @param password password to set (string)
     """
     self.__password = pwConvert(password, encode=True)
 def getKey(self):
     """
     Public method to get the channel key.
     
     @return channel key (string)
     """
     return pwConvert(self.__key, 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 getPassword(self):
     """
     Public method to get the password.
     
     @return password (string)
     """
     return pwConvert(self.__password, encode=False)
 def setPassword(self, password):
     """
     Public method to set a new password.
     
     @param password password to set (string)
     """
     self.__password = pwConvert(password, encode=True)