finishEvent abstract method

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

Finishes signing 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 new Event instance with the updated id and sig fields.

Implementation

Event finishEvent(Event event, String privateKey);