CryptoConfig.AllowOnlyFipsAlgorithms 属性

定义

指示运行时是否应强制实施该策略,以便仅创建经美国联邦信息处理标准 (FIPS) 认证的算法。Indicates whether the runtime should enforce the policy to create only Federal Information Processing Standard (FIPS) certified algorithms.

public:
 static property bool AllowOnlyFipsAlgorithms { bool get(); };
public static bool AllowOnlyFipsAlgorithms { get; }
member this.AllowOnlyFipsAlgorithms : bool
Public Shared ReadOnly Property AllowOnlyFipsAlgorithms As Boolean

属性值

Boolean

若强制实施该策略,则为 true;否则为 falsetrue to enforce the policy; otherwise, false.

注解

如果 false 为,则可以创建任何算法。If false, any algorithm may be created.

适用于