export_to_file Method
Writes key to file.
Syntax
def export_to_file(key_type: int, path: str, password: str) -> None: ...
Remarks
Use this method to save key in the file. KeyType specifies the format in which the key should be stored, Path specifies the full path to the file, and Password is a password to decrypt the private key.
Allowed key types:
cktPrivate | 0 | A private key |
cktPublic | 1 | A public key |