RSA.DecryptValue(Byte[]) Methode

Definition

Achtung

RSA.EncryptValue and DecryptValue are not supported and throw NotSupportedException. Use RSA.Encrypt and RSA.Decrypt instead.

Entschlüsselt beim Überschreiben in einer abgeleiteten Klasse die Eingabedaten mithilfe des privaten Schlüssels.

public:
 virtual cli::array <System::Byte> ^ DecryptValue(cli::array <System::Byte> ^ rgb);
public:
 abstract cli::array <System::Byte> ^ DecryptValue(cli::array <System::Byte> ^ rgb);
public virtual byte[] DecryptValue (byte[] rgb);
[System.Obsolete("RSA.EncryptValue and DecryptValue are not supported and throw NotSupportedException. Use RSA.Encrypt and RSA.Decrypt instead.", DiagnosticId="SYSLIB0048", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public virtual byte[] DecryptValue (byte[] rgb);
public abstract byte[] DecryptValue (byte[] rgb);
abstract member DecryptValue : byte[] -> byte[]
override this.DecryptValue : byte[] -> byte[]
[<System.Obsolete("RSA.EncryptValue and DecryptValue are not supported and throw NotSupportedException. Use RSA.Encrypt and RSA.Decrypt instead.", DiagnosticId="SYSLIB0048", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
abstract member DecryptValue : byte[] -> byte[]
override this.DecryptValue : byte[] -> byte[]
abstract member DecryptValue : byte[] -> byte[]
Public Overridable Function DecryptValue (rgb As Byte()) As Byte()
Public MustOverride Function DecryptValue (rgb As Byte()) As Byte()

Parameter

rgb
Byte[]

Der verschlüsselte Text, der entschlüsselt werden soll.

Gibt zurück

Byte[]

Die resultierende Entschlüsselung des rgb-Parameters in Klartext.

Attribute

Ausnahmen

Dieser Methodenaufruf wird nicht unterstützt. Diese Ausnahme wird ab dem .NET Framework 4.6 ausgelöst.

Hinweise

In .NET Framework Version 4.5.2 und früheren Versionen des .NET Framework lautete abstractdiese Methode . Die einzige Implementierung durch eine abgeleitete Klasse, RSACryptoServiceProvider.DecryptValue, hat jedoch ebenfalls eine NotSupportedException Ausnahme ausgelöst.

Gilt für:

Weitere Informationen