RSA.DecryptValue(Byte[]) Methode

Definition

Achtung

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

Wenn sie in einer abgeleiteten Klasse überschrieben werden, werden die Eingabedaten mithilfe des privaten Schlüssels entschlüsselt.

public:
 virtual cli::array <System::Byte> ^ DecryptValue(cli::array <System::Byte> ^ rgb);
public:
 abstract cli::array <System::Byte> ^ DecryptValue(cli::array <System::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 virtual byte[] DecryptValue(byte[] rgb);
public abstract 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}")>]
abstract member DecryptValue : byte[] -> byte[]
override this.DecryptValue : byte[] -> byte[]
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 zu entschlüsselnde Chiffretext.

Gibt zurück

Byte[]

Die resultierende Entschlüsselung des rgb Parameters in Nur-Text.

Attribute

Ausnahmen

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

Hinweise

In den .NET Framework 4.5.2 und früheren Versionen des .NET Frameworks wurde diese Methode abstract. Die einzige Implementierung einer abgeleiteten Klasse hat RSACryptoServiceProvider.DecryptValuejedoch auch eine NotSupportedException Ausnahme ausgelöst.

Gilt für:

Weitere Informationen