This documentation is archived and is not being maintained.

System.ServiceModel.Security Namespace

This namespace deals with general Windows Communication Foundation (WCF) security-related topics, for example, SecurityAlgorithmSuite.

For topics dealing with security tokens and certificates, for example WrappedKeySecurityToken see System.ServiceModel.Security.Tokens.

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

Public classBasicSecurityProfileVersionProvides a message version that corresponds to the Basic Security Profile specification.
Public classBinarySecretKeyIdentifierClauseRepresents the key identifier clause in a binary secret security token.
Public classChannelProtectionRequirementsDescribes encryption and signature requirements that apply to different parts of messages that are transmitted on this channel.
Public classDataProtectionSecurityStateEncoderProvides encoding and decoding mechanisms for the security state using the Windows DataProtection API functionality.
Public classExpiredSecurityTokenExceptionException thrown when a CardSpace security token expires.
Public classHttpDigestClientCredentialUsed for digest authentication of HTTP clients.
Public classIdentityVerifierAn 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.
Public classInfocardInteractiveChannelInitializerInitializes a CardSpace interactive channel.
Public classIssuedTokenClientCredentialRepresents information used to obtain an issued token from a security token service.
Public classIssuedTokenServiceCredentialAllows a service to configure properties associated with the federated credential presented by the client.
Public classKeyNameIdentifierClauseRepresents the key name identifier clause in a security token.
Public classMessagePartSpecificationSpecifies which parts are included in a message.
Public classMessageSecurityExceptionRepresents an exception that occurred when there is something wrong with the security applied on a message.
Public classPeerCredentialContains the credentials used when authenticating a peer node within a peer mesh.
Public classScopedMessagePartSpecificationSpecifies which parts are included in a message.
Public classSecureConversationServiceCredentialProvides credential settings for a secure conversation service.
Public classSecureConversationVersionContains the set of supported WS-SecureConversation versions. This is an abstract class.
Public classSecurityAccessDeniedExceptionRepresents the security exception that is thrown when a security authorization request fails.
Public classSecurityAlgorithmSuiteSpecifies properties of algorithms. This is an abstract class.
Public classSecurityContextKeyIdentifierClauseRepresents the key identifier clause for a security context token.
Public classSecurityCredentialsManagerAn abstract class that when implemented represents a security credentials manager.
Public classSecurityMessagePropertyContains security-related properties and is attached to a message.
Public classSecurityNegotiationExceptionIndicates that an error occurred while negotiating the security context for a message.
Public classSecurityPolicyVersionContains the set of supported WS-SecurityPolicy versions. This is an abstract class.
Public classSecurityStateEncoderAn abstract class that can be implemented to encode the security state.
Public classSecurityTokenSpecificationRepresents a security token and its authorization policies.
Public classSecurityVersionContains the set of supported WS-Security versions. This is an abstract class.
Public classServiceCredentialsSecurityTokenManagerRepresents a SecurityTokenManager implementation that provides security token serializers based on the ServiceCredentials configured on the service.
Public classSspiSecurityTokenProviderRepresents a security token provider that provides an SSPI security token.
Public classSupportingTokenSpecificationRepresents a supporting security token and its authorization policies.
Public classTrustVersionContains the set of supported WS-Trust versions. This is an abstract class.
Public classUserNamePasswordClientCredentialRepresents a client credential based on user name and password.
Public classUserNamePasswordServiceCredentialThis class is used to configure how the service authenticates users that use user name/password authentication and to configure the caching of logon tokens.
Public classWindowsClientCredentialAllows you to specify properties related to Windows credentials to be used to represent the client.
Public classWindowsServiceCredentialProvides properties that describe the service credentials used for Windows authentication.
Public classWSSecurityTokenSerializerThe class used for serializing and deserializing SecurityTokens, SecurityKeyIdentifiers, and SecurityKeyIdentifierClauses defined in the WS-Security, WS-Trust, and WS-SecureConversation security specifications.
Public classX509CertificateInitiatorClientCredentialDefines a certificate used by a client to identify itself.
Public classX509CertificateInitiatorServiceCredentialRepresents 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.
Public classX509CertificateRecipientClientCredentialRepresents 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.
Public classX509CertificateRecipientServiceCredentialDefines a certificate used by a service to identify itself.
Public classX509ClientCertificateAuthenticationSpecifies authentication properties for validating the client certificate.
Public classX509PeerCertificateAuthenticationSpecifies authentication properties for the peer certificate.
Public classX509ServiceCertificateAuthenticationRepresents the settings used by the client proxy to authenticate service certificates that are obtained using SSL/TLS negotiation.

Public interfaceIEndpointIdentityProviderProvides the identity of an endpoint.
Public interfaceISecureConversationSessionRepresents 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.
Public interfaceISecuritySessionRepresents 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.

Public enumerationMessageProtectionOrderSpecifies the order of operations that protect a message.
Public enumerationSecurityKeyEntropyModeDescribes the source of entropy used for key generation.
Public enumerationSecurityTokenAttachmentModeAn enumeration that lists the ways in which security tokens are attached.
Public enumerationUserNamePasswordValidationModeLists ways to validate in username/password mode.
Public enumerationX509CertificateValidationModeAn enumeration that lists the ways of validating a certificate.