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.

Parameters

signatory

The signatory

toSign

The source of the data to be signed

destination

Where the signature will be written to