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