Serializes the key to a byte array.
public func exportKey() throws -> Data
Use this method to save the Key (both the public and secret parts) to a byte array.