signEvent abstract method
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);