Serializes the key to a byte array.
public byte[] exportKey();
Use this method to save the Key (both the public and secret parts) to a byte array.