signEvent abstract method

String signEvent(
  1. Event event,
  2. String privateKey
)

Signs the given event using the specified privateKey.

The event parameter should be an instance of the Event class. The privateKey parameter should be a String representing a private key.

Returns a String representing the signature of the event.

Implementation

String signEvent(Event event, String privateKey);