SignFunction
An incremental signing function that accumulates data and produces a signature on finalization.
Data is fed via update and the signature is obtained by calling one of the finalization methods: signIntoByteArray, signToByteArray, or sign. After finalization, the function can be reset and reused, or closed to release resources.
Obtained via SignatureGenerator.createSignFunction.
Functions
Finalizes the signature computation and returns the result as a ByteString.
Finalizes the signature computation and writes the result into destination starting at destinationOffset, and returns the number of bytes written.
Finalizes the signature computation and returns the result as a new ByteArray.
Reads all available data from the source and feeds it into this function.
Feeds data from the source byte array into this function. Only the portion from startIndex (inclusive) to endIndex (exclusive) is processed.
Feeds data from the source byte string into this function. Only the portion from startIndex (inclusive) to endIndex (exclusive) is processed.