แก้ไข

แชร์ผ่าน


System.ServiceModel.Security Namespace

Contains general security-related types.

Classes

Basic128SecurityAlgorithmSuite

The basic 128-bit security algorithm suite.

Basic192SecurityAlgorithmSuite

The basic 192-bit security algorithm suite.

Basic256SecurityAlgorithmSuite

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

Provides encoding and decoding mechanisms for the security state using the Windows DataProtection API functionality.

DispatchContext

Defines the inputs and outputs to the DispatchRequest(DispatchContext) method.

ExpiredSecurityTokenException

Exception thrown when a CardSpace security token expires.

HttpDigestClientCredential

Used for digest authentication of HTTP clients.

IdentityVerifier

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

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

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

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. This is an abstract class.

SecurityContextKeyIdentifierClause

Represents the key identifier clause for a security context token.

SecurityCredentialsManager

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

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

Contains the set of supported WS-Security versions. This is an abstract class.

ServiceCredentialsSecurityTokenManager

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

Represents a security token provider that provides an SSPI security token.

SupportingTokenSpecification

Represents a supporting security token and its authorization policies.

TripleDesSecurityAlgorithmSuite

The triple-DES security algorithm suite.

TrustVersion

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

Allows you to specify properties related to Windows credentials to be used to represent the client.

WindowsServiceCredential

Provides properties that describe the service credentials used for Windows authentication.

WSSecurityTokenSerializer

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

Represents a channel that is used to send WS-Trust messages to a security token service (STS).

WSTrustChannelFactory

A factory that produces channels (WSTrustChannel objects) used to communicate to a WS-Trust endpoint.

WSTrustRequestBodyWriter

Represents a message body writer that writes an RST to an outgoing message.

WSTrustRequestProcessingErrorEventArgs

Provides data for a WS-Trust Request Fault.

WSTrustResponseBodyWriter

Represents a message body writer that writes an RSTR to an outgoing message.

WSTrustServiceContract

Definition of the WS-Trust service contract implementation.

WSTrustServiceHost

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. 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

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

Represents the settings used by the client proxy to authenticate service certificates that are obtained using SSL/TLS negotiation.

Interfaces

IEndpointIdentityProvider

Provides the identity of an endpoint.

ISecureConversationSession

Represents a secure conversation security session. The communicating parties secure all messages on the session using a SecurityContextToken that is issued by the server as part of session establishment.

ISecuritySession

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

Defines the asynchronous service contract interface for the WS-Trust 1.3 protocol.

IWSTrust13SyncContract

Defines the service contract for the WS-Trust 1.3 protocol.

IWSTrustChannelContract

A service contract that defines the methods that wrap the Message-oriented operation contracts exposed by IWSTrustChannelContract.

IWSTrustContract

Defines the service contract for sending WS-Trust messages to an STS.

IWSTrustFeb2005AsyncContract

Defines an asynchronous service contract interface for the WS-Trust Feb 2005 protocol.

IWSTrustFeb2005SyncContract

Defines the service contract for the WS-Trust Feb 2005 protocol.

Enums

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.

Remarks

For more information about security tokens and certificates, for example, WrappedKeySecurityToken, see System.ServiceModel.Security.Tokens.

For information about security topics that overlap with the service model, for example, TcpTransportSecurity, see System.ServiceModel.