Class GpgSignature

    • Constructor Detail

      • GpgSignature

        public GpgSignature​(@NonNull
                            byte[] signature)
        Creates a new instance with the specified signature
        Parameters:
        signature - the signature
    • Method Detail

      • toExternalString

        public String 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