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

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

例外

参数 algorithmGroupnull.

参数 algorithmGroup 长度为 0(零)。

注解

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

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

适用于