ExtendedProtectionPolicy ExtendedProtectionPolicy ExtendedProtectionPolicy ExtendedProtectionPolicy Class

定义

ExtendedProtectionPolicy 类表示服务器用来验证传入客户端连接的扩展保护策略。The ExtendedProtectionPolicy class represents the extended protection policy used by the server to validate incoming client connections.

public ref class ExtendedProtectionPolicy : System::Runtime::Serialization::ISerializable
[System.ComponentModel.TypeConverter(typeof(System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicyTypeConverter))]
[System.Serializable]
public class ExtendedProtectionPolicy : System.Runtime.Serialization.ISerializable
type ExtendedProtectionPolicy = class
    interface ISerializable
Public Class ExtendedProtectionPolicy
Implements ISerializable
继承
ExtendedProtectionPolicyExtendedProtectionPolicyExtendedProtectionPolicyExtendedProtectionPolicy
属性
实现

注解

公开ExtendedProtectionPolicy类的任何类都不应允许设置空策略, 应提供默认策略, 或者需要由应用程序开发人员或管理员创建和设置显式策略。Any classes that expose the ExtendedProtectionPolicy class should not allow the setting of null policies, should supply a default policy, or should require an explicit policy to be created and set by the application developer or administrator.

构造函数

ExtendedProtectionPolicy(PolicyEnforcement) ExtendedProtectionPolicy(PolicyEnforcement) ExtendedProtectionPolicy(PolicyEnforcement) ExtendedProtectionPolicy(PolicyEnforcement)

初始化 ExtendedProtectionPolicy 类的新实例,该类指定应何时强制实施扩展保护策略。Initializes a new instance of the ExtendedProtectionPolicy class that specifies when the extended protection policy should be enforced.

ExtendedProtectionPolicy(PolicyEnforcement, ChannelBinding) ExtendedProtectionPolicy(PolicyEnforcement, ChannelBinding) ExtendedProtectionPolicy(PolicyEnforcement, ChannelBinding) ExtendedProtectionPolicy(PolicyEnforcement, ChannelBinding)

初始化 ExtendedProtectionPolicy 类的新实例,该类指定应何时强制实施扩展保护策略以及指定要使用的通道绑定令牌 (CBT)。Initializes a new instance of the ExtendedProtectionPolicy class that specifies when the extended protection policy should be enforced and the channel binding token (CBT) to be used.

ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ICollection) ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ICollection) ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ICollection) ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ICollection)

初始化 ExtendedProtectionPolicy 类的新实例,该类指定强制实施扩展保护策略的时间、策略强制实施的保护类型以及用于与客户端的 SPN 进行匹配的自定义服务提供程序名称 (SPN) 列表。Initializes a new instance of the ExtendedProtectionPolicy class that specifies when the extended protection policy should be enforced, the kind of protection enforced by the policy, and a custom Service Provider Name (SPN) list that is used to match against a client's SPN.

ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ServiceNameCollection) ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ServiceNameCollection) ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ServiceNameCollection) ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ServiceNameCollection)

初始化 ExtendedProtectionPolicy 类的新实例,该类指定强制实施扩展保护策略的时间、策略强制实施的保护类型以及用于与客户端的 SPN 进行匹配的自定义服务提供程序名称 (SPN) 列表。Initializes a new instance of the ExtendedProtectionPolicy class that specifies when the extended protection policy should be enforced, the kind of protection enforced by the policy, and a custom Service Provider Name (SPN) list that is used to match against a client's SPN.

ExtendedProtectionPolicy(SerializationInfo, StreamingContext) ExtendedProtectionPolicy(SerializationInfo, StreamingContext) ExtendedProtectionPolicy(SerializationInfo, StreamingContext) ExtendedProtectionPolicy(SerializationInfo, StreamingContext)

ExtendedProtectionPolicy 对象初始化 SerializationInfo 类的新实例,该对象包含用于填充 ExtendedProtectionPolicy 的必需数据。Initializes a new instance of the ExtendedProtectionPolicy class from a SerializationInfo object that contains the required data to populate the ExtendedProtectionPolicy.

属性

CustomChannelBinding CustomChannelBinding CustomChannelBinding CustomChannelBinding

获取用于验证的自定义通道绑定令牌 (CBT)。Gets a custom channel binding token (CBT) to use for validation.

CustomServiceNames CustomServiceNames CustomServiceNames CustomServiceNames

获取用于与客户端的 SPN 相匹配的自定义服务提供程序名称 (SPN) 列表。Gets the custom Service Provider Name (SPN) list used to match against a client's SPN.

OSSupportsExtendedProtection OSSupportsExtendedProtection OSSupportsExtendedProtection OSSupportsExtendedProtection

指示操作系统是否支持带扩展保护的集成 Windows 身份验证。Indicates whether the operating system supports integrated windows authentication with extended protection.

PolicyEnforcement PolicyEnforcement PolicyEnforcement PolicyEnforcement

获取应强制实施扩展保护策略的时间。Gets when the extended protection policy should be enforced.

ProtectionScenario ProtectionScenario ProtectionScenario ProtectionScenario

获取扩展保护策略强制实施的保护类型。Gets the kind of protection enforced by the extended protection policy.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

获取扩展保护策略实例的字符串表示形式。Gets a string representation for the extended protection policy instance.

显式界面实现

ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext)

用序列化 SerializationInfo 对象所必需的数据来填充 ExtendedProtectionPolicy 对象。Populates a SerializationInfo object with the required data to serialize an ExtendedProtectionPolicy object.

适用于

另请参阅