diff options
author | Thomas Wolf <twolf@apache.org> | 2024-02-01 19:09:50 +0100 |
---|---|---|
committer | Thomas Wolf <twolf@apache.org> | 2024-02-01 20:26:34 +0100 |
commit | 5eff1dd4c7497aab41a7db6b5ab6360233f0cd32 (patch) | |
tree | 71acbc5166faec40a2f1eae39e1e6d0a6468dce2 /org.eclipse.jgit.http.apache | |
parent | b079968cdd31bb305b99f860c6b1194662619921 (diff) | |
download | jgit-5eff1dd4c7497aab41a7db6b5ab6360233f0cd32.tar.gz jgit-5eff1dd4c7497aab41a7db6b5ab6360233f0cd32.zip |
[gpg] Refactor the GpgSignatureVerifier
Add a new method verify(GpgConfig, byte[], byte[]) and deprecate the
existing verify(byte[], byte[]). Some implementations of the interface
may need the GpgConfig.
Factor out extracting the raw armored signature from commits or tags
into an abstract AbstractGpgSignatureVerifier class so that different
implementations don't have to re-implement that bit. Call the new verify
method, passing along the GpgConfig.
This makes the GPG interfaces more versatile and facilitates
implementing an alternate GpgSignatureVerifier.
Change-Id: I9cf093caa9fdebede801d665f2591cd9b275e1fd
Diffstat (limited to 'org.eclipse.jgit.http.apache')
0 files changed, 0 insertions, 0 deletions