System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (4)
852if (sbe.MessageSecurityVersion.SecurityVersion == SecurityVersion.WSSecurity10
858SR.GetString(SR.SecurityVersionDoesNotSupportEncryptedKeyBinding, binding.Name, binding.Namespace, contract.Name, contract.Namespace, SecurityVersion.WSSecurity11)));
871if (sbe.MessageSecurityVersion.SecurityVersion == SecurityVersion.WSSecurity10)
878SR.GetString(SR.SecurityVersionDoesNotSupportThumbprintX509KeyIdentifierClause, binding.Name, binding.Namespace, contract.Name, contract.Namespace, SecurityVersion.WSSecurity11)));
System\ServiceModel\Security\MessageSecurityTokenVersion.cs (12)
17SecurityVersion securityVersion;
26SecurityVersion.WSSecurity11,
35SecurityVersion.WSSecurity10,
45SecurityVersion.WSSecurity11,
55SecurityVersion.WSSecurity10,
65SecurityVersion.WSSecurity11,
75SecurityVersion.WSSecurity11,
133public static MessageSecurityTokenVersion GetSecurityTokenVersion(SecurityVersion version, bool emitBspAttributes)
135if (version == SecurityVersion.WSSecurity10)
142else if (version == SecurityVersion.WSSecurity11)
155MessageSecurityTokenVersion(SecurityVersion securityVersion, TrustVersion trustVersion, SecureConversationVersion secureConversationVersion, string toString, bool emitBspRequiredAttributes, params string[] supportedSpecs)
174public SecurityVersion SecurityVersion
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (13)
25readonly SecurityVersion securityVersion;
36: this(SecurityVersion.WSSecurity11)
41: this(SecurityVersion.WSSecurity11, emitBspRequiredAttributes)
45public WSSecurityTokenSerializer(SecurityVersion securityVersion)
50public WSSecurityTokenSerializer(SecurityVersion securityVersion, bool emitBspRequiredAttributes)
55public WSSecurityTokenSerializer(SecurityVersion securityVersion, bool emitBspRequiredAttributes, SamlSerializer samlSerializer)
60public WSSecurityTokenSerializer(SecurityVersion securityVersion, bool emitBspRequiredAttributes, SamlSerializer samlSerializer, SecurityStateEncoder securityStateEncoder, IEnumerable<Type> knownTypes)
65public WSSecurityTokenSerializer(SecurityVersion securityVersion, TrustVersion trustVersion, SecureConversationVersion secureConversationVersion, bool emitBspRequiredAttributes, SamlSerializer samlSerializer, SecurityStateEncoder securityStateEncoder, IEnumerable<Type> knownTypes)
70public WSSecurityTokenSerializer(SecurityVersion securityVersion, bool emitBspRequiredAttributes, SamlSerializer samlSerializer, SecurityStateEncoder securityStateEncoder, IEnumerable<Type> knownTypes,
76public WSSecurityTokenSerializer(SecurityVersion securityVersion, TrustVersion trustVersion, SecureConversationVersion secureConversationVersion, bool emitBspRequiredAttributes, SamlSerializer samlSerializer, SecurityStateEncoder securityStateEncoder, IEnumerable<Type> knownTypes,
116if (securityVersion == SecurityVersion.WSSecurity10)
120else if (securityVersion == SecurityVersion.WSSecurity11)
175public SecurityVersion SecurityVersion
System\ServiceModel\Security\WsSecurityTokenSerializerAdapter.cs (3)
53public WsSecurityTokenSerializerAdapter( SecurityTokenHandlerCollection securityTokenHandlerCollection, SecurityVersion securityVersion )
70public WsSecurityTokenSerializerAdapter( SecurityTokenHandlerCollection securityTokenHandlerCollection, SecurityVersion securityVersion, bool emitBspAttributes, SamlSerializer samlSerializer, SecurityStateEncoder stateEncoder, IEnumerable<Type> knownTypes )
89public WsSecurityTokenSerializerAdapter( SecurityTokenHandlerCollection securityTokenHandlerCollection, SecurityVersion securityVersion, TrustVersion trustVersion, SecureConversationVersion secureConversationVersion, bool emitBspAttributes, SamlSerializer samlSerializer, SecurityStateEncoder stateEncoder, IEnumerable<Type> knownTypes )