RSA.DecryptValue(Byte[]) 方法

定义

当在派生类中重写时,使用私钥解密输入数据。When overridden in a derived class, decrypts the input data using the private key.

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);
public abstract byte[] DecryptValue (byte[] rgb);
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()

参数

rgb
Byte[]

要解密的密码文本。The cipher text to be decrypted.

返回

Byte[]

rgb 参数产生的纯文本形式的解密结果。The resulting decryption of the rgb parameter in plain text.

例外

不支持此方法调用。This method call is not supported. 从 .NET Framework 4.6 开始引发此异常。This exception is thrown starting with the .NET Framework 4.6.

注解

在 .NET Framework .NET Framework 4.5.2 和早期版本中,此方法为 abstractIn the .NET Framework 4.5.2 and earlier versions of the .NET Framework, this method was abstract. 但是,派生类实现的唯一实现也会 RSACryptoServiceProvider.DecryptValue 引发 NotSupportedException 异常。However, the only implementation by a derived class, RSACryptoServiceProvider.DecryptValue, also threw a NotSupportedException exception.

适用于

另请参阅