Package com.google.gerrit.server.account
Interface GpgApiAdapter
-
public interface GpgApiAdapter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PushCertificateInfo
checkPushCertificate(String certStr, IdentifiedUser expectedUser)
GpgKeyApi
gpgKey(AccountResource account, IdString idStr)
boolean
isEnabled()
Map<String,GpgKeyInfo>
listGpgKeys(AccountResource account)
Map<String,GpgKeyInfo>
putGpgKeys(AccountResource account, List<String> add, List<String> delete)
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
-
listGpgKeys
Map<String,GpgKeyInfo> listGpgKeys(AccountResource account) throws RestApiException, GpgException
- Throws:
RestApiException
GpgException
-
putGpgKeys
Map<String,GpgKeyInfo> putGpgKeys(AccountResource account, List<String> add, List<String> delete) throws RestApiException, GpgException
- Throws:
RestApiException
GpgException
-
gpgKey
GpgKeyApi gpgKey(AccountResource account, IdString idStr) throws RestApiException, GpgException
- Throws:
RestApiException
GpgException
-
checkPushCertificate
PushCertificateInfo checkPushCertificate(String certStr, IdentifiedUser expectedUser) throws GpgException
- Throws:
GpgException
-
-