For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

BinarySignatureType

Binary signature type.

Since

1.0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun combinedExtension(toSign: File): String
Combines the extension of the given file with the expected signature extension.
Link copied to clipboard
open fun fileFor(toSign: File): File
Calculates the file where to store the signature of the given file to be signed.
Link copied to clipboard
open fun getExtension(): String
The file extension (without the leading dot) associated to this type of signature.
Link copied to clipboard
open fun sign(signatory: Signatory, toSign: File): File
Signs the given file and returns the file where the signature has been written to.
open fun sign(signatory: Signatory, toSign: InputStream, destination: OutputStream)
Signs the data from the given InputStream and stores the signature in the given OutputStream.