generateSignature

open suspend fun generateSignature(data: ByteArray): ByteArray(source)

Signs the given data and returns the resulting signature as a ByteArray.

Use generateSignatureBlocking when calling from non-suspending code.


open suspend fun generateSignature(data: ByteString): ByteString(source)

Signs the given data and returns the resulting signature as a ByteString.

Use generateSignatureBlocking when calling from non-suspending code.


open suspend fun generateSignature(data: RawSource): ByteString(source)

Signs the given data read from a RawSource and returns the resulting signature as a ByteString.

Use generateSignatureBlocking when calling from non-suspending code.