Class VersionedAuthorizedKeys.Accessor

    • Method Detail

      • addKey

        public AccountSshKey addKey​(Account.Id accountId,
                                    String pub)
                             throws IOException,
                                    org.eclipse.jgit.errors.ConfigInvalidException,
                                    com.google.gerrit.exceptions.InvalidSshKeyException
        Throws:
        IOException
        org.eclipse.jgit.errors.ConfigInvalidException
        com.google.gerrit.exceptions.InvalidSshKeyException
      • deleteKey

        public void deleteKey​(Account.Id accountId,
                              int seq)
                       throws IOException,
                              org.eclipse.jgit.errors.ConfigInvalidException
        Throws:
        IOException
        org.eclipse.jgit.errors.ConfigInvalidException
      • markKeyInvalid

        public void markKeyInvalid​(Account.Id accountId,
                                   int seq)
                            throws IOException,
                                   org.eclipse.jgit.errors.ConfigInvalidException
        Throws:
        IOException
        org.eclipse.jgit.errors.ConfigInvalidException