sign

open fun sign(data: ByteArray, keyId: Long): ByteArray

Signs data with the private key identified by keyId.