Part of lp.registry.interfaces.ssh View In Hierarchy
| Method | new | Create a new SSHKey pointing to the given Person. |
| Method | getByID | Return the SSHKey object for the given id. |
| Method | getByPeople | Return SSHKey object associated to the people provided. |
| Method | getByPersonAndKeyText | Get an SSH key for a person with a specific key text. |
| Parameters | person | The IPerson to add the ssh key to. |
| sshkey | The full ssh key text. | |
| check_key | Set to False to skip the check for whether the key text can be deserialised by Twisted. | |
| send_notification | Set to False to suppress sending the user an email about the change. | |
| dry_run | Perform all the format checks, but don't actually add the key. Causes the method to return None, rather than an instance of ISSHKey. |