Package org.eclipse.jgit.lib
Class GpgSignatureVerifierFactory
- java.lang.Object
-
- org.eclipse.jgit.lib.GpgSignatureVerifierFactory
-
- Direct Known Subclasses:
BouncyCastleGpgSignatureVerifierFactory
public abstract class GpgSignatureVerifierFactory extends Object
AGpgSignatureVerifierFactory
createsGpgSignatureVerifier
instances.- Since:
- 5.11
-
-
Constructor Summary
Constructors Constructor Description GpgSignatureVerifierFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static GpgSignatureVerifierFactory
getDefault()
Retrieves the default factory.abstract GpgSignatureVerifier
getVerifier()
Creates a newGpgSignatureVerifier
.static void
setDefault(GpgSignatureVerifierFactory factory)
Sets the default factory.
-
-
-
Method Detail
-
getDefault
public static GpgSignatureVerifierFactory getDefault()
Retrieves the default factory.- Returns:
- the default factory or
null
if none set
-
setDefault
public static void setDefault(GpgSignatureVerifierFactory factory)
Sets the default factory.- Parameters:
factory
- the new default factory
-
getVerifier
public abstract GpgSignatureVerifier getVerifier()
Creates a newGpgSignatureVerifier
.- Returns:
- the new
GpgSignatureVerifier
-
-