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