Exports the key to a stream.
public void exportToStream(java.io.OutputStream stream);
Use this method to save the Key (both the public and secret parts) to a stream pointed by Stream.