Class GpgSignature
java.lang.Object
org.eclipse.jgit.lib.GpgSignature
- All Implemented Interfaces:
Serializable
A structure for holding GPG signature together with additional related data.
- Since:
- 5.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate byte[] -
Constructor Summary
ConstructorsConstructorDescriptionGpgSignature(byte[] signature) Creates a new instance with the specified signature -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
signature
private byte[] signature
-
-
Constructor Details
-
GpgSignature
Creates a new instance with the specified signature- Parameters:
signature- the signature
-
-
Method Details
-
toExternalString
Format for Git storage.This returns the ASCII Armor as per https://tools.ietf.org/html/rfc4880#section-6.2.
- Returns:
- a string of the signature ready to be embedded in a Git object
-
toString
-