System::Security::Cryptography::KeySizes 类

KeySizes class

对称算法接受的密钥大小集合。该类的对象应仅使用 System::MakeObject() 函数分配。切勿在栈上或使用 new 运算符创建此类型的实例,因为这会导致运行时错误和/或断言故障。始终将此类包装在 System::SmartPtr 指针中,并使用该指针将其作为参数传递给函数。

class KeySizes : public System::Object

方法

方法描述
get_MaxSize() const获取最大有效密钥大小。
get_MinSize() const获取最小有效密钥大小。
get_SkipSize() const获取有效密钥大小步长。
KeySizes(int, int, int)RTTI 信息。

另见