共用方式為


RSACryptoServiceProvider.DecryptValue(Byte[]) 方法

定義

警告

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

目前版本中不支援這個方法。

public:
 override cli::array <System::Byte> ^ DecryptValue(cli::array <System::Byte> ^ rgb);
public override 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 override byte[] DecryptValue (byte[] rgb);
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}")>]
override this.DecryptValue : byte[] -> byte[]
Public Overrides Function DecryptValue (rgb As Byte()) As Byte()

參數

rgb
Byte[]

要解密的資料。

傳回

Byte[]

解密的資料,亦即加密前的原始純文字。

屬性

例外狀況

目前版本中不支援這個方法。

適用於

另請參閱