sign

abstract suspend fun sign(bytes: ByteArray): CryptoOuterClass.Signature

Signs bytes (a Canton-provided hash) with the driver's private key.