RSA.DecryptValue(Byte[]) Método

Definição

Atenção

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

Quando sobrescrito numa classe derivada, desencripta os dados de entrada usando a chave privada.

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

Parâmetros

rgb
Byte[]

O texto cifrado a decifrar.

Devoluções

Byte[]

A desencriptação resultante do rgb parâmetro em texto simples.

Atributos

Exceções

Esta chamada de método não é suportada. Esta exceção é lançada a partir do .NET Framework 4.6.

Observações

No .NET Framework 4.5.2 e versões anteriores do .NET Framework, este método era abstract. No entanto, a única implementação por uma classe derivada, RSACryptoServiceProvider.DecryptValue, também fez uma NotSupportedException exceção.

Aplica-se a

Ver também