| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static enum | VerifySignatureCommand.
Describes what kind of objects shall be handled by a
|
| Modifier and Type | Field and Description |
|---|---|
| private GpgConfig | |
| private VerifySignatureCommand. | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public | VerifySignatureCommand(Repository
to operate on repo)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public VerifySignatureCommand | |
| public VerifySignatureCommand | |
| public VerifySignatureCommand | Returns: thisto add; duplicates will be ignored names)Add names of objects (SHA-1, ref name; anything that can be
|
| public Map | Returns: a map of the given names to the correspondingVerificationResult, excluding ignored or skipped objects.Implements abstract org. Implements java.
|
| public VerifySignatureCommand | Returns: thisto set; if config)null, the config will be loaded from the
git config of the repositorySets an external |
| public VerifySignatureCommand | Returns: thisthe modeVerifyMode to setSets the mode of operation for this command. |
| private VerificationResult |
| config | back to summary |
|---|---|
| private GpgConfig config | |
| mode | back to summary |
|---|---|
| private VerifySignatureCommand. | |
| namesToCheck | back to summary |
|---|---|
| private final Set<String> namesToCheck | |
| VerifySignatureCommand | back to summary |
|---|---|
| public VerifySignatureCommand(Repository repo) Creates a new
| |
| addName | back to summary |
|---|---|
| public VerifySignatureCommand addName(String name) Add a name of an object (SHA-1, ref name; anything that can be
| |
| addNames | back to summary |
|---|---|
| public VerifySignatureCommand addNames(String... names) Add names of objects (SHA-1, ref name; anything that can be
| |
| addNames | back to summary |
|---|---|
| public VerifySignatureCommand addNames(Collection<String> names) Add names of objects (SHA-1, ref name; anything that can be
| |
| call | back to summary |
|---|---|
| public Map Implements abstract org. Implements java.
Depending on the Unsigned objects are silently skipped.
| |
| setGpgConfig | back to summary |
|---|---|
| public VerifySignatureCommand setGpgConfig(GpgConfig config) Sets an external
| |
| setMode | back to summary |
|---|---|
| public VerifySignatureCommand setMode(VerifySignatureCommand. Sets the mode of operation for this command.
| |
| verifyOne | back to summary |
|---|---|
| private VerificationResult verifyOne(RevObject object) throws WrongObjectTypeException, IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private final RevObject | |
| private final Throwable | |
| private final SignatureVerifier. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | getException()
Implements org. If an error occurred during signature verification, this retrieves the exception. |
| public RevObject | getObject()
Implements org. Retrieves the git object of which the signature was verified. |
| public SignatureVerifier. | getVerification()
Implements org. Retrieves the signature verification result. |
| object | back to summary |
|---|---|
| private final RevObject object | |
| throwable | back to summary |
|---|---|
| private final Throwable throwable | |
| verification | back to summary |
|---|---|
| private final SignatureVerifier. | |
| Result | back to summary |
|---|---|
| public Result(RevObject object, SignatureVerifier. | |
| getException | back to summary |
|---|---|
| public Throwable getException() Implements org. Doc from org. If an error occurred during signature verification, this retrieves the exception. | |
| getObject | back to summary |
|---|---|
| public RevObject getObject() Implements org. Doc from org. Retrieves the git object of which the signature was verified. | |
| getVerification | back to summary |
|---|---|
| public SignatureVerifier. Implements org. Doc from org. Retrieves the signature verification result.
| |
VerifySignatureCommand.
| Modifier and Type | Field and Description |
|---|---|
| public static final VerifySignatureCommand. | ANY
Handle any object type, ignore anything that is not a commit or tag. |
| public static final VerifySignatureCommand. | COMMITS
Handle only commits; throw a |
| public static final VerifySignatureCommand. | TAGS
Handle only tags; throw a |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static VerifySignatureCommand. | |
| public static VerifySignatureCommand. |
| ANY | back to summary |
|---|---|
| public static final VerifySignatureCommand. Handle any object type, ignore anything that is not a commit or tag. | |
| COMMITS | back to summary |
|---|---|
| public static final VerifySignatureCommand. Handle only commits; throw a | |
| TAGS | back to summary |
|---|---|
| public static final VerifySignatureCommand. Handle only tags; throw a | |
| VerifyMode | back to summary |
|---|---|
| private VerifyMode() | |
| valueOf | back to summary |
|---|---|
| public static VerifySignatureCommand. | |
| values | back to summary |
|---|---|
| public static VerifySignatureCommand. | |