RSA.DecryptValue(Byte[]) Metoda

Definice

Upozornění

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

Při přepsání v odvozené třídě dešifruje vstupní data pomocí privátního klíče.

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

Parametry

rgb
Byte[]

Šifrový text, který má být dešifrován.

Návraty

Byte[]

Výsledné dešifrování parametru ve formátu prostého rgb textu.

Atributy

Výjimky

Toto volání metody není podporováno. Tato výjimka je vyvolán počínaje rozhraním .NET Framework 4.6.

Poznámky

V rozhraní .NET Framework 4.5.2 a starších verzích rozhraní .NET Framework byla abstracttato metoda . Jedinou implementací odvozené třídy RSACryptoServiceProvider.DecryptValuevšak také došlo k výjimce NotSupportedException .

Platí pro

Viz také