Exports the public key to a file.
public fun exportPublicToFile(filename: String?)
Use this method to save the public key stored in Key to the file specified by Filename.