System.ServiceModel.Security 命名空间

System.ServiceModel.Security 命名空间处理安全相关的常规主题(例如 SecurityAlgorithmSuite)。 The System.ServiceModel.Security namespace deals with general security-related topics, for example, SecurityAlgorithmSuite.

Basic128SecurityAlgorithmSuite

基本的 128 位安全算法组。The basic 128-bit security algorithm suite.

Basic192SecurityAlgorithmSuite

基本的 192 位安全算法组。The basic 192-bit security algorithm suite.

Basic256SecurityAlgorithmSuite

基本的 256 位安全算法组。The basic 256-bit security algorithm suite.

BasicSecurityProfileVersion

提供与基本安全配置文件规范相对应的消息版本。Provides a message version that corresponds to the Basic Security Profile specification.

BinarySecretKeyIdentifierClause

表示二进制秘密安全令牌中的密钥标识符子句。Represents the key identifier clause in a binary secret security token.

ChannelProtectionRequirements

描述应用于该通道中所传输消息的不同部分的加密和签名需求。Describes encryption and signature requirements that apply to different parts of messages that are transmitted on this channel.

DataProtectionSecurityStateEncoder

使用 Windows DataProtection API 功能提供安全状态的编码和解码机制。Provides encoding and decoding mechanisms for the security state using the Windows DataProtection API functionality.

DispatchContext

定义输入和输出到 DispatchRequest(DispatchContext) 的方法。Defines the inputs and outputs to the DispatchRequest(DispatchContext) method.

ExpiredSecurityTokenException

CardSpace 安全令牌过期时引发的异常。Exception thrown when a CardSpace security token expires.

HttpDigestClientCredential

用于 HTTP 客户端的摘要式身份验证。Used for digest authentication of HTTP clients.

IdentityVerifier

一个 abstract 基类,可以实现它以根据表示远程终结点的授权上下文验证所需标识,或从终结点地址创建标识。An abstract base class that can be implemented to verify an expected identity against an authorization context that represents a remote endpoint, or to create an identity from an endpoint address.

ImpersonateOnSerializingReplyMessageProperty

当序列化回复消息的主体时,启用模拟的帮助器类。A helper class to enable impersonation while serializing the body of the reply message.

InfocardInteractiveChannelInitializer

初始化 CardSpace 交互式通道。Initializes a CardSpace interactive channel.

IssuedTokenClientCredential

表示用于从安全令牌服务获取已颁发令牌的信息。Represents information used to obtain an issued token from a security token service.

IssuedTokenServiceCredential

允许服务配置与客户端出示的联合凭据相关联的属性。Allows a service to configure properties associated with the federated credential presented by the client.

KeyNameIdentifierClause

表示安全令牌中的密钥名称标识符子句。Represents the key name identifier clause in a security token.

MessagePartSpecification

指定在消息中包含哪些部分。Specifies which parts are included in a message.

MessageSecurityException

表示当应用到消息的安全出现错误时发生的异常。Represents an exception that occurred when there is something wrong with the security applied on a message.

NonceCache

表示 Nonce 缓存的抽象基类。An abstract base class that represents a cache for nonces.

PeerCredential

包含在验证对等网格内的某个对等节点的身份时使用的凭据。Contains the credentials used when authenticating a peer node within a peer mesh.

ScopedMessagePartSpecification

指定在消息中包含哪些部分。Specifies which parts are included in a message.

SecureConversationServiceCredential

提供安全对话服务的凭据设置。Provides credential settings for a secure conversation service.

SecureConversationVersion

包含受支持的 WS-SecureConversation 版本集合。Contains the set of supported WS-SecureConversation versions. 这是一个抽象类。This is an abstract class.

SecurityAccessDeniedException

表示安全授权请求失败时引发的安全异常。Represents the security exception that is thrown when a security authorization request fails.

SecurityAlgorithmSuite

指定算法的属性。Specifies properties of algorithms. 这是一个 abstract 类。This is an abstract class.

SecurityContextKeyIdentifierClause

表示安全上下文令牌的密钥标识符子句。Represents the key identifier clause for a security context token.

SecurityCredentialsManager

指定 abstract 类,实现时表示安全凭据管理器。Specifies an abstract class that when implemented represents a security credentials manager.

SecurityMessageProperty

包含与安全相关的属性且附加到消息上。Contains security-related properties and is attached to a message.

SecurityNegotiationException

指示协商消息的安全上下文时发生错误。Indicates that an error occurred while negotiating the security context for a message.

SecurityPolicyVersion

包含受支持的 WS-SecurityPolicy 版本集合。Contains the set of supported WS-SecurityPolicy versions. 这是一个抽象类。This is an abstract class.

SecurityStateEncoder

一个抽象类,可以实现此类以便对安全状态进行编码。An abstract class that can be implemented to encode the security state.

SecurityTokenSpecification

表示安全令牌及其授权策略。Represents a security token and its authorization policies.

SecurityVersion

包含受支持的 WS-Security 版本集合。Contains the set of supported WS-Security versions. 这是一个抽象类。This is an abstract class.

ServiceCredentialsSecurityTokenManager

表示 SecurityTokenManager 实现,可基于在服务上配置的 ServiceCredentials 提供安全令牌序列化程序。Represents a SecurityTokenManager implementation that provides security token serializers based on the ServiceCredentials configured on the service.

SimpleSecurityTokenProvider

表示安全标记提供程序,其可生成安全表其,将其作为联合绑定的已发布标记。Represents a security token provider that produces a security token as an issued token for federated bindings.

SspiSecurityTokenProvider

表示提供 SSPI 安全令牌的安全令牌提供程序。Represents a security token provider that provides an SSPI security token.

SupportingTokenSpecification

表示支持安全令牌及其授权策略。Represents a supporting security token and its authorization policies.

TripleDesSecurityAlgorithmSuite

Triple-DES 安全算法组。The triple-DES security algorithm suite.

TrustVersion

包含受支持的 WS-Trust 版本集合。Contains the set of supported WS-Trust versions. 这是一个抽象类。This is an abstract class.

UserNamePasswordClientCredential

表示基于用户名和密码的客户端凭据。Represents a client credential based on user name and password.

UserNamePasswordServiceCredential

表示此类用于配置服务如何对使用用户名/密码身份验证的用户进行身份验证,并可用于配置登录令牌的缓存。Represents a class that is used to configure how the service authenticates users that use user name/password authentication and to configure the caching of logon tokens.

WindowsClientCredential

使您可以指定与用于表示客户端的 Windows 凭据相关的属性。Allows you to specify properties related to Windows credentials to be used to represent the client.

WindowsServiceCredential

提供用于描述进行 Windows 身份验证时使用的服务凭据的属性。Provides properties that describe the service credentials used for Windows authentication.

WSSecurityTokenSerializer

一个类,它可用于序列化和反序列化在 WS-Security、WS-Trust 以及 WS-SecureConversation 安全规范中定义的安全令牌、安全密钥标识符和安全密钥标识符子句。The class used for serializing and deserializing security tokens, security key identifiers, and security key identifier clauses defined in the WS-Security, WS-Trust, and WS-SecureConversation security specifications.

WSTrustChannel

表示通道,其用于发送 WS-Trust 消息至安全标记服务 (STS)。Represents a channel that is used to send WS-Trust messages to a security token service (STS).

WSTrustChannelFactory

生成通道(WSTrustChannel 对象)的工厂类,该通道用于与 WS-Trust 终结点进行通信。A factory that produces channels (WSTrustChannel objects) used to communicate to a WS-Trust endpoint.

WSTrustRequestBodyWriter

表示消息正文编写器,它将 RST 写入传出消息中。Represents a message body writer that writes an RST to an outgoing message.

WSTrustRequestProcessingErrorEventArgs

为 WS-Trust 请求错误提供数据。Provides data for a WS-Trust Request Fault.

WSTrustResponseBodyWriter

表示消息正文编写器,它将 RSTR 写入传出消息中。Represents a message body writer that writes an RSTR to an outgoing message.

WSTrustServiceContract

ws-Trust 服务合约实现的定义。Definition of the WS-Trust service contract implementation.

WSTrustServiceHost

提供 ServiceHost 用于注册 SecurityTokenService 根据在配置中注册的侦听器的数目,服务主机将有多个已注册终结点。Provides a ServiceHost for registering a SecurityTokenService The service host will have multiple endpoints registered based on the number of listeners registered in the configuration.

X509CertificateInitiatorClientCredential

定义客户端用于标识自身的证书。Defines a certificate used by a client to identify itself.

X509CertificateInitiatorServiceCredential

表示服务所使用的设置,用于验证客户端所出示的证书。Represents the settings used by the service to validate the certificate presented by the clients. 它还包含在使用 MutualCertificateDuplex 消息安全身份验证模式时,用于为客户端加密响应或回调的服务证书。It also contains a certificate for the service to use for encrypting responses or callbacks for clients when MutualCertificateDuplex message security authentication mode is used.

X509CertificateRecipientClientCredential

表示客户端在验证使用 SSL 身份验证的服务所出示的证书时使用的设置。Represents the settings used by the client to validate the certificate presented by the service using SSL authentication. 它还包含在客户端上显式配置为对发送给使用消息安全的服务的消息进行加密的服务的所有证书。It also contains any certificate for the service that is explicitly configured on the client to use for encrypting messages to the service using message security.

X509CertificateRecipientServiceCredential

定义服务用于标识自身的证书。Defines a certificate used by a service to identify itself.

X509ClientCertificateAuthentication

指定身份验证属性以验证客户端证书。Specifies authentication properties for validating the client certificate.

X509PeerCertificateAuthentication

指定对等证书的身份验证属性。Specifies authentication properties for the peer certificate.

X509ServiceCertificateAuthentication

表示客户端代理验证使用 SSL/TLS 协商获取的服务证书所用的设置。Represents the settings used by the client proxy to authenticate service certificates that are obtained using SSL/TLS negotiation.

接口

IEndpointIdentityProvider

提供终结点的标识。Provides the identity of an endpoint.

ISecureConversationSession

表示一个安全对话安全会话。Represents a secure conversation security session. 通信方使用由服务器颁发的作为建立会话一部分的 SecurityContextToken 保护会话中所有消息的安全。The communicating parties secure all messages on the session using a SecurityContextToken that is issued by the server as part of session establishment.

ISecuritySession

表示一种 ISession,它强制在会话中交换的所有消息的要求介于建立该会话的相同通信方之间。Represents a kind of ISession that enforces the requirement that all messages exchanged on the session are between the same communicating parties that established the session.

IWSTrust13AsyncContract

定义 WS-Trust 1.3 协议的异步服务合约接口。Defines the asynchronous service contract interface for the WS-Trust 1.3 protocol.

IWSTrust13SyncContract

定义 WS-Trust 1.3 协议的服务合约。Defines the service contract for the WS-Trust 1.3 protocol.

IWSTrustChannelContract

IWSTrustChannelContract公开面向消息操作协定定义方法包装的服务合约。A service contract that defines the methods that wrap the Message-oriented operation contracts exposed by IWSTrustChannelContract.

IWSTrustContract

定义发送 ws-discovery 信任信息到 STS 的服务协议。Defines the service contract for sending WS-Trust messages to an STS.

IWSTrustFeb2005AsyncContract

定义 WS-Trust 2005 年二月的异步服务合约接口协议。Defines an asynchronous service contract interface for the WS-Trust Feb 2005 protocol.

IWSTrustFeb2005SyncContract

定义2005年2月 WS-Trust 协议的服务合约。Defines the service contract for the WS-Trust Feb 2005 protocol.

枚举

MessageProtectionOrder

指定保护消息的运算顺序。Specifies the order of operations that protect a message.

SecurityKeyEntropyMode

描述用于密钥生成的平均信息量来源。Describes the source of entropy used for key generation.

SecurityTokenAttachmentMode

一种枚举,列出了附加安全令牌的方法。An enumeration that lists the ways in which security tokens are attached.

UserNamePasswordValidationMode

列出以用户名/密码模式来进行验证的方法。Lists ways to validate in username/password mode.

X509CertificateValidationMode

一个列出验证证书方法的枚举。An enumeration that lists the ways of validating a certificate.

注解

有关涉及安全令牌和证书的主题(例如 WrappedKeySecurityToken),请参见 System.ServiceModel.Security.TokensFor topics dealing with security tokens and certificates, for example WrappedKeySecurityToken see System.ServiceModel.Security.Tokens.

有关与服务模型重叠的安全主题,例如 TcpTransportSecurity,请参见 System.ServiceModelFor security topics that overlap with the service model, for example TcpTransportSecurity, see System.ServiceModel.