Package org.eclipse.jgit.api
Interface VerificationResult
- All Known Implementing Classes:
VerifySignatureCommand.Result
public interface VerificationResult
A
VerificationResult
describes the outcome of a signature
verification.- Since:
- 5.11
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionIf an error occurred during signature verification, this retrieves the exception.Retrieves the git object of which the signature was verified.Retrieves the signature verification result.
-
Method Details
-
getException
Throwable getException()If an error occurred during signature verification, this retrieves the exception.- Returns:
- the exception, or
null
if none occurred
-
getVerification
GpgSignatureVerifier.SignatureVerification getVerification()Retrieves the signature verification result.- Returns:
- the result, or
null
if none was computed
-
getObject
RevObject getObject()Retrieves the git object of which the signature was verified.- Returns:
- the git object
-