Package com.google.gerrit.server.account
Class AccountSshKey
- java.lang.Object
-
- com.google.gerrit.server.account.AccountSshKey
-
-
Constructor Summary
Constructors Constructor Description AccountSshKey()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Account.Id
accountId()
String
algorithm()
String
comment()
static AccountSshKey
create(Account.Id accountId, int seq, String sshPublicKey)
static AccountSshKey
create(Account.Id accountId, int seq, String sshPublicKey, boolean valid)
static AccountSshKey
createInvalid(Account.Id accountId, int seq, String sshPublicKey)
static AccountSshKey
createInvalid(AccountSshKey key)
String
encodedKey()
abstract int
seq()
abstract String
sshPublicKey()
abstract boolean
valid()
-
-
-
Method Detail
-
create
public static AccountSshKey create(Account.Id accountId, int seq, String sshPublicKey)
-
createInvalid
public static AccountSshKey createInvalid(Account.Id accountId, int seq, String sshPublicKey)
-
createInvalid
public static AccountSshKey createInvalid(AccountSshKey key)
-
create
public static AccountSshKey create(Account.Id accountId, int seq, String sshPublicKey, boolean valid)
-
accountId
public abstract Account.Id accountId()
-
seq
public abstract int seq()
-
sshPublicKey
public abstract String sshPublicKey()
-
valid
public abstract boolean valid()
-
algorithm
public String algorithm()
-
encodedKey
public String encodedKey()
-
comment
public String comment()
-
-