Top Description Methods
org.eclipse.jgit.api

public Interface VerificationResult

Known Direct Implementers
org.eclipse.jgit.api.VerifySignatureCommand.Result
Imports
org.eclipse.jgit.lib.SignatureVerifier, org.eclipse.jgit.revwalk.RevObject

A VerificationResult describes the outcome of a signature verification.
Since
5.11
See Also
VerifySignatureCommand

Method Summary

Modifier and TypeMethod and Description
public Throwable

Returns:

the exception, or null if none occurred
getException
()

If an error occurred during signature verification, this retrieves the exception.

public RevObject

Returns:

the git object
getObject
()

Retrieves the git object of which the signature was verified.

public SignatureVerifier.SignatureVerification

Returns:

the result, or null if none was computed
getVerification
()

Retrieves the signature verification result.

Method Detail

getExceptionback to summary
public Throwable getException()

If an error occurred during signature verification, this retrieves the exception.

Returns:Throwable

the exception, or null if none occurred

getObjectback to summary
public RevObject getObject()

Retrieves the git object of which the signature was verified.

Returns:RevObject

the git object

getVerificationback to summary
public SignatureVerifier.SignatureVerification getVerification()

Retrieves the signature verification result.

Returns:SignatureVerifier.SignatureVerification

the result, or null if none was computed

Since
7.0