Writes the key encrypted value to the requested file.

Namespace: Keystone.Enigma
Assembly: Keystone.Enigma (in Keystone.Enigma.dll)

public void WriteToFile( 
string encryptionKeyFilePath
AsymmetricEncryption encryptionKeyCipher 
)
This language is not supported or no code example is available.

Parameters

encryptionKeyFilePath

Type: string

The encryption key file path.

encryptionKeyCipher

Type: AsymmetricEncryption

The encryption key cipher with which the key will be encrypted to strengthen it.

Exception type Condition

ArgumentException

If the requested file cannot be written.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono