CngAlgorithmGroup(String) 构造函数

定义

初始化 CngAlgorithmGroup 类的新实例。

public:
 CngAlgorithmGroup(System::String ^ algorithmGroup);
public CngAlgorithmGroup (string algorithmGroup);
new System.Security.Cryptography.CngAlgorithmGroup : string -> System.Security.Cryptography.CngAlgorithmGroup
Public Sub New (algorithmGroup As String)

参数

algorithmGroup
String

要初始化的算法组的名称。

例外

algorithmGroup 参数为 null

algorithmGroup 参数的长度为 0(零)。

注解

类的 CngAlgorithmGroup 实例在内部维护由参数指定的 algorithmGroup 算法组名称。

此构造函数的主要用途是提供一种方法,用于为不是由类的静态属性表示的CngAlgorithmGroup算法组创建CngAlgorithmGroup对象。 此容量使未来的.NET Framework版本、Service Pack 和第三方开发人员能够添加新的算法组,这可以像当前可用的算法组一样进行访问。

适用于