public static class VersionedAuthorizedKeys.Accessor extends Object
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.reviewdb.client.AccountSshKey |
addKey(com.google.gerrit.reviewdb.client.Account.Id accountId,
String pub) |
void |
deleteKey(com.google.gerrit.reviewdb.client.Account.Id accountId,
int seq) |
com.google.gerrit.reviewdb.client.AccountSshKey |
getKey(com.google.gerrit.reviewdb.client.Account.Id accountId,
int seq) |
List<com.google.gerrit.reviewdb.client.AccountSshKey> |
getKeys(com.google.gerrit.reviewdb.client.Account.Id accountId) |
void |
markKeyInvalid(com.google.gerrit.reviewdb.client.Account.Id accountId,
int seq) |
public List<com.google.gerrit.reviewdb.client.AccountSshKey> getKeys(com.google.gerrit.reviewdb.client.Account.Id accountId) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.reviewdb.client.AccountSshKey getKey(com.google.gerrit.reviewdb.client.Account.Id accountId, int seq) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.reviewdb.client.AccountSshKey addKey(com.google.gerrit.reviewdb.client.Account.Id accountId, String pub) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException, com.google.gerrit.common.errors.InvalidSshKeyException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
com.google.gerrit.common.errors.InvalidSshKeyException
public void deleteKey(com.google.gerrit.reviewdb.client.Account.Id accountId, int seq) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public void markKeyInvalid(com.google.gerrit.reviewdb.client.Account.Id accountId, int seq) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException