Exports the key to a certificate.
procedure ExportToCert();
Use this method to save the Key (both the public and secret parts) to the certificate specified in Certificate.