code: def add_disk_encryption_passwords(self, ids, passwords, clear_on_suspend):
          
          if not isinstance(ids, list):
              raise TypeError("ids can only be an instance of type list")
          for a in ids[:10]:
              if not isinstance(a, basestring):
                  raise TypeError(
                          "array can only contain objects of type basestring")
          if not isinstance(passwords, list):
              raise TypeError("passwords can only be an instance of type list")
          for a in passwords[:10]:
              if not isinstance(a, basestring):
                  raise TypeError(
                          "array can only contain objects of type basestring")
          if not isinstance(clear_on_suspend, bool):
              raise TypeError("clear_on_suspend can only be an instance of type bool")
          self._call("addDiskEncryptionPasswords",
                       in_p=[ids, passwords, clear_on_suspend])
docs: Adds a password used for hard disk encryption/decryption.
  
          in ids of type str
              List of identifiers for the passwords. Must match the identifier
              used when the encrypted medium was created.
  
          in passwords of type str
              List of passwords.
  
          in clear_on_suspend of type bool
              Flag whether to clear the given passwords on VM suspend (due to a suspending host
              for example). The passwords must be supplied again before the VM can resume.
  
          raises :class:`VBoxErrorPasswordIncorrect`
              The password provided wasn't correct for at least one disk using the provided
  ID.