TripleDESCryptoServiceProvider.LegalKeySizes 属性

定义

获取对称算法支持的密钥大小(以位为单位)。

public:
 virtual property cli::array <System::Security::Cryptography::KeySizes ^> ^ LegalKeySizes { cli::array <System::Security::Cryptography::KeySizes ^> ^ get(); };
public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get; }
member this.LegalKeySizes : System.Security.Cryptography.KeySizes[]
Public Overrides ReadOnly Property LegalKeySizes As KeySizes()

属性值

一个数组,包含此算法支持的密钥大小。

注解

对于 TripleDES,法定密钥大小为 128 位和 192 位。

适用于