RSA.DecryptValue(Byte[]) Methode

Definitie

Let op

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

Wanneer deze worden overschreven in een afgeleide klasse, ontsleutelt u de invoergegevens met behulp van de persoonlijke sleutel.

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()

Parameters

rgb
Byte[]

De coderingstekst die moet worden ontsleuteld.

Retouren

Byte[]

De resulterende ontsleuteling van de rgb parameter in tekst zonder opmaak.

Kenmerken

Uitzonderingen

Deze methode-aanroep wordt niet ondersteund. Deze uitzondering wordt gegenereerd vanaf het .NET Framework 4.6.

Opmerkingen

In het .NET Framework 4.5.2 en eerdere versies van het .NET Framework is deze methode abstract. De enige implementatie door een afgeleide klasse, RSACryptoServiceProvider.DecryptValueheeft echter ook een NotSupportedException uitzondering veroorzaakt.

Van toepassing op

Zie ook