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.

sign

open fun sign(signatory: Signatory, toSign: InputStream, destination: OutputStream)(source)

Signs the data from the given InputStream and stores the signature in the given OutputStream.

Since

1.0

Parameters

signatory

The signatory

toSign

The source of the data to be signed

destination

Where the signature will be written to