By decoding the encrypted data from a base 64 string and then decrypting it with the private key given during the AsymmetricEncryption instantiation, this inversion control method handles the request to decrypt the specified encrypted text.

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

protected override string OnDecrypt( 
string encryptedText 
)
This language is not supported or no code example is available.

Parameters

encryptedText

Type: string

The encrypted text.

Return Value

The original plain text.
Exception type Condition

NotSupportedException

If no decryption algorithm was provided for this Asymmetric encryption strategy instance. This algorithm is commonly initialized with an X509 certificate private key which was possibly not bundled in the given certificate.

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