628 references to XD
System.ServiceModel (628)
System\ServiceModel\Channels\AddressHeader.cs (2)
231writer.WriteAttributeString(XD.AddressingDictionary.IsReferenceParameter, XD.Addressing10Dictionary.Namespace, "true");
System\ServiceModel\Channels\Addressing.cs (15)
27get { return XD.AddressingDictionary.Prefix; } 64get { return XD.AddressingDictionary.Action; } 92Fx.Assert(reader.IsStartElement(XD.AddressingDictionary.Action, addressingVersion.DictionaryNamespace), ""); 181get { return XD.AddressingDictionary.From; } 220Fx.Assert(reader.IsStartElement(XD.AddressingDictionary.From, addressingVersion.DictionaryNamespace), ""); 273get { return XD.AddressingDictionary.FaultTo; } 312Fx.Assert(reader.IsStartElement(XD.AddressingDictionary.FaultTo, version.DictionaryNamespace), ""); 383get { return XD.AddressingDictionary.To; } 445Fx.Assert(reader.IsStartElement(XD.AddressingDictionary.To, version.DictionaryNamespace), ""); 567get { return XD.AddressingDictionary.ReplyTo; } 633Fx.Assert(reader.IsStartElement(XD.AddressingDictionary.ReplyTo, version.DictionaryNamespace), ""); 681get { return XD.AddressingDictionary.MessageId; } 710Fx.Assert(reader.IsStartElement(XD.AddressingDictionary.MessageId, version.DictionaryNamespace), ""); 774get { return XD.AddressingDictionary.RelatesTo; } 826AddressingDictionary addressingDictionary = XD.AddressingDictionary;
System\ServiceModel\Channels\AddressingVersion.cs (5)
23static AddressingVersion none = new AddressingVersion(AddressingNoneStrings.Namespace, XD.AddressingNoneDictionary.Namespace, 27XD.Addressing10Dictionary.Namespace, SR.Addressing10ToStringFormat, Addressing10SignedMessageParts, 28Addressing10Strings.Anonymous, XD.Addressing10Dictionary.Anonymous, Addressing10Strings.NoneAddress, 33XD.Addressing200408Dictionary.Namespace, SR.Addressing200408ToStringFormat, Addressing200408SignedMessageParts, 34Addressing200408Strings.Anonymous, XD.Addressing200408Dictionary.Anonymous, null,
System\ServiceModel\Channels\BinaryMessageEncoder.cs (7)
65get { return XD.Dictionary; } 805XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateBinaryReader(messageData.Array, messageData.Offset, messageData.Count, XD.Dictionary, XmlDictionaryReaderQuotas.Max, this.readerSessionForLogging, null); 1342MessageDictionary messageDictionary = XD.MessageDictionary; 1343Message12Dictionary message12Dictionary = XD.Message12Dictionary; 1344AddressingDictionary addressingDictionary = XD.AddressingDictionary; 1345Addressing10Dictionary addressing10Dictionary = XD.Addressing10Dictionary; 1528toString = XD.Addressing10Dictionary.Anonymous;
System\ServiceModel\Channels\CloseSequence.cs (2)
35reader.ReadStartElement(XD.WsrmFeb2005Dictionary.Identifier, wsrmNs); 62writer.WriteStartElement(XD.WsrmFeb2005Dictionary.Identifier, wsrmNs);
System\ServiceModel\Channels\CloseSequenceResponse.cs (2)
32reader.ReadStartElement(XD.WsrmFeb2005Dictionary.Identifier, wsrmNs); 51writer.WriteStartElement(XD.WsrmFeb2005Dictionary.Identifier, wsrmNs);
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (2)
123XmlQualifiedName refPropHeaderName = new XmlQualifiedName(XD.UtilityDictionary.UniqueEndpointHeaderName.Value, 124XD.UtilityDictionary.UniqueEndpointHeaderNamespace.Value);
System\ServiceModel\Channels\CreateSequence.cs (2)
47WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 169WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary;
System\ServiceModel\Channels\CreateSequenceResponse.cs (2)
88WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 144WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary;
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
274XD.AddressingDictionary.Action.Value)); 294XD.AddressingDictionary.To.Value));
System\ServiceModel\Channels\InternalDuplexBindingElement.cs (2)
247if (localAddress.Headers.FindHeader(XD.UtilityDictionary.UniqueEndpointHeaderName.Value, 248XD.UtilityDictionary.UniqueEndpointHeaderNamespace.Value) == null)
System\ServiceModel\Channels\InternalDuplexChannelFactory.cs (4)
37AddressHeader uniqueEndpointHeader = AddressHeader.CreateAddressHeader(XD.UtilityDictionary.UniqueEndpointHeaderName, 38XD.UtilityDictionary.UniqueEndpointHeaderNamespace, tempChannelCount); 236if (message.Headers[i].Name == XD.UtilityDictionary.UniqueEndpointHeaderName.Value && 237message.Headers[i].Namespace == XD.UtilityDictionary.UniqueEndpointHeaderNamespace.Value)
System\ServiceModel\Channels\Message.cs (11)
380return reader.IsStartElement(XD.MessageDictionary.Fault, version.DictionaryNamespace); 436MessageDictionary messageDictionary = XD.MessageDictionary; 482MessageDictionary messageDictionary = XD.MessageDictionary; 493MessageDictionary messageDictionary = XD.MessageDictionary; 539MessageDictionary messageDictionary = XD.MessageDictionary; 1233return reader.IsStartElement(XD.MessageDictionary.Header, envelopeVersion.DictionaryNamespace); 1264if (reader.IsStartElement(XD.MessageDictionary.Envelope, XD.Message12Dictionary.Namespace)) 1266else if (reader.IsStartElement(XD.MessageDictionary.Envelope, XD.Message11Dictionary.Namespace)) 1278if (!reader.IsStartElement(XD.MessageDictionary.Body, version.DictionaryNamespace))
System\ServiceModel\Channels\MessageBuffer.cs (1)
32XmlDictionaryWriter writer = XmlDictionaryWriter.CreateBinaryWriter(stream, XD.Dictionary, null, false);
System\ServiceModel\Channels\MessageFault.cs (42)
203writer.WriteStartElement(XD.Message12Dictionary.FaultDetail, XD.Message12Dictionary.Namespace); 205writer.WriteStartElement(XD.Message11Dictionary.FaultDetail, XD.Message11Dictionary.FaultNamespace); 207writer.WriteStartElement(XD.Message12Dictionary.FaultDetail, XD.MessageDictionary.Namespace); 301writer.WriteStartElement(XD.MessageDictionary.Fault, version.DictionaryNamespace); 302writer.WriteStartElement(XD.Message12Dictionary.FaultCode, version.DictionaryNamespace); 305writer.WriteStartElement(XD.Message12Dictionary.FaultReason, version.DictionaryNamespace); 310writer.WriteStartElement(XD.Message12Dictionary.FaultText, version.DictionaryNamespace); 317writer.WriteElementString(XD.Message12Dictionary.FaultNode, version.DictionaryNamespace, Node); 319writer.WriteElementString(XD.Message12Dictionary.FaultRole, version.DictionaryNamespace, Actor); 329writer.WriteStartElement(XD.Message12Dictionary.FaultValue, version.DictionaryNamespace); 350writer.WriteStartElement(XD.Message12Dictionary.FaultSubcode, version.DictionaryNamespace); 363writer.WriteStartElement(XD.MessageDictionary.Fault, XD.Message11Dictionary.Namespace); 364writer.WriteStartElement(XD.Message11Dictionary.FaultCode, XD.Message11Dictionary.FaultNamespace); 388writer.WriteStartElement(XD.Message11Dictionary.FaultString, XD.Message11Dictionary.FaultNamespace); 394writer.WriteElementString(XD.Message11Dictionary.FaultActor, XD.Message11Dictionary.FaultNamespace, Actor); 629&& attributeValue == XD.Message12Dictionary.Namespace.Value; 641reader.ReadStartElement(XD.MessageDictionary.Fault, version.DictionaryNamespace); 642reader.ReadStartElement(XD.Message12Dictionary.FaultCode, version.DictionaryNamespace); 652reader.ReadStartElement(XD.Message12Dictionary.FaultReason, version.DictionaryNamespace); 653while (reader.IsStartElement(XD.Message12Dictionary.FaultText, version.DictionaryNamespace)) 660if (reader.IsStartElement(XD.Message12Dictionary.FaultNode, version.DictionaryNamespace)) 662if (reader.IsStartElement(XD.Message12Dictionary.FaultRole, version.DictionaryNamespace)) 665if (reader.IsStartElement(XD.Message12Dictionary.FaultDetail, version.DictionaryNamespace)) 683reader.ReadStartElement(XD.Message12Dictionary.FaultValue, version.DictionaryNamespace); 686if (reader.IsStartElement(XD.Message12Dictionary.FaultSubcode, version.DictionaryNamespace)) 710reader.ReadStartElement(XD.MessageDictionary.Fault, XD.Message11Dictionary.Namespace); 713reader.ReadStartElement(XD.Message11Dictionary.FaultCode, XD.Message11Dictionary.FaultNamespace); 720string text = reader.ReadElementContentAsString(XD.Message11Dictionary.FaultString.Value, XD.Message11Dictionary.FaultNamespace.Value); 724if (reader.IsStartElement(XD.Message11Dictionary.FaultActor, XD.Message11Dictionary.FaultNamespace)) 727if (reader.IsStartElement(XD.Message11Dictionary.FaultDetail, XD.Message11Dictionary.FaultNamespace))
System\ServiceModel\Channels\MessageHeader.cs (6)
139writer.WriteAttributeString(XD.MessageDictionary.MustUnderstand, messageVersion.Envelope.DictionaryNamespace, "1"); 141writer.WriteAttributeString(XD.Message12Dictionary.Relay, XD.Message12Dictionary.Namespace, "1"); 201string mustUnderstandString = reader.GetAttribute(XD.MessageDictionary.MustUnderstand, version.Envelope.DictionaryNamespace); 220string relayString = reader.GetAttribute(XD.Message12Dictionary.Relay, version.Envelope.DictionaryNamespace); 235string refParam = reader.GetAttribute(XD.AddressingDictionary.IsReferenceParameter, version.Addressing.DictionaryNamespace);
System\ServiceModel\Channels\MessageHeaders.cs (3)
69reader.ReadStartElement(XD.MessageDictionary.Header, envelopeVersion.DictionaryNamespace); 1183Fx.Assert(reader.IsStartElement(XD.MessageDictionary.Header, envelopeVersion.DictionaryNamespace), ""); 1186AddressingDictionary dictionary = XD.AddressingDictionary;
System\ServiceModel\Channels\OneWayChannelFactory.cs (2)
58get { return XD.DotNetOneWayDictionary.HeaderName; } 63get { return XD.DotNetOneWayDictionary.Namespace; }
System\ServiceModel\Channels\PeerHelpers.cs (11)
957return new PeerDictionaryHeader(XD.PeerWireStringsDictionary.HopCount, XD.PeerWireStringsDictionary.HopCountNamespace, hopcount.ToString(CultureInfo.InvariantCulture)); 962return new PeerDictionaryHeader(XD.PeerWireStringsDictionary.PeerVia, XD.PeerWireStringsDictionary.Namespace, via.ToString()); 967return new PeerDictionaryHeader(XD.PeerWireStringsDictionary.FloodAction, XD.PeerWireStringsDictionary.Namespace, XD.PeerWireStringsDictionary.Demuxer); 972return new PeerDictionaryHeader(XD.PeerWireStringsDictionary.PeerTo, XD.PeerWireStringsDictionary.Namespace, to.ToString()); 976return new PeerDictionaryHeader(XD.AddressingDictionary.MessageId, XD.PeerWireStringsDictionary.Namespace, messageId.ToString());
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (5)
2687return XD.WsrmFeb2005Dictionary.CreateSequenceResponseAction; 2736return XD.WsrmFeb2005Dictionary.Namespace; 3005WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 3422reader.ReadStartElement(XD.WsrmFeb2005Dictionary.Identifier, WsrmIndex.GetNamespace(reliableMessagingVersion)); 3657writer.WriteStartElement(WsrmFeb2005Strings.Prefix, XD.WsrmFeb2005Dictionary.Identifier,
System\ServiceModel\Channels\TerminateSequence.cs (2)
39WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 70WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary;
System\ServiceModel\Channels\TerminateSequenceResponse.cs (2)
50reader.ReadStartElement(XD.WsrmFeb2005Dictionary.Identifier, wsrmNs); 68writer.WriteStartElement(XD.WsrmFeb2005Dictionary.Identifier, wsrmNs);
System\ServiceModel\Channels\WsrmFault.cs (7)
513WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 699return XD.WsrmFeb2005Dictionary.SequenceFault; 728headerReader.ReadFullStartElement(XD.WsrmFeb2005Dictionary.SequenceFault, wsrmNs); 730headerReader.ReadFullStartElement(XD.Message12Dictionary.FaultDetail, wsrmNs); 748WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 813WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 850writer.WriteStartElement(WsrmFeb2005Strings.Prefix, XD.Message12Dictionary.FaultDetail, this.DictionaryNamespace);
System\ServiceModel\Channels\WsrmMessageInfo.cs (15)
1018XD.WsrmFeb2005Dictionary.CreateSequenceResponse), messageVersion.Addressing.Namespace, 1168get { return XD.WsrmFeb2005Dictionary.Prefix; } 1319WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 1374get { return XD.WsrmFeb2005Dictionary.Sequence; } 1384WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 1463WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 1558WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 1572XD.WsrmFeb2005Dictionary.NETNamespace)) 1653get { return XD.WsrmFeb2005Dictionary.SequenceAcknowledgement; } 1658WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 1672XD.WsrmFeb2005Dictionary.NETNamespace); 1683WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 1738WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary; 1780get { return XD.WsrmFeb2005Dictionary.AckRequested; } 1785WsrmFeb2005Dictionary wsrmFeb2005Dictionary = XD.WsrmFeb2005Dictionary;
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (2)
27get { return XD.ActivityIdFlowDictionary.ActivityId; } 32get { return XD.ActivityIdFlowDictionary.ActivityIdNamespace; }
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (6)
187dictionaryWriter.WriteStartElement(XD.MessageDictionary.Prefix.Value, XD.MessageDictionary.Envelope, this.message.Version.Envelope.DictionaryNamespace); 216dictionaryWriter.WriteStartElement(XD.MessageDictionary.Prefix.Value, XD.MessageDictionary.Envelope, this.message.Version.Envelope.DictionaryNamespace); 236dictionaryWriter.WriteStartElement(XD.MessageDictionary.Prefix.Value, XD.MessageDictionary.Header, this.message.Version.Envelope.DictionaryNamespace);
System\ServiceModel\Dispatcher\ClientRuntime.cs (1)
482return reader.IsStartElement(XD.MessageDictionary.Fault, MessageVersion.None.Envelope.DictionaryNamespace);
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (2)
94else if (reader.LocalName == XD.UtilityDictionary.IdAttribute.Value && reader.NamespaceURI == XD.UtilityDictionary.Namespace.Value)
System\ServiceModel\DnsEndpointIdentity.cs (2)
41writer.WriteElementString(XD.AddressingDictionary.Dns, XD.AddressingDictionary.IdentityExtensionNamespace, (string)this.IdentityClaim.Resource);
System\ServiceModel\DXD.cs (51)
308Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestSecurityTokenResponseCollection); 309Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.Namespace); 310Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.BinarySecretClauseType); 311Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.CombinedHashLabel); 312Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestSecurityTokenResponse); 313Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.TokenType); 314Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.KeySize); 315Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestedTokenReference); 316Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.AppliesTo); 317Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.Authenticator); 318Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.CombinedHash); 319Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.BinaryExchange); 320Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.Lifetime); 321Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestedSecurityToken); 322Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.Entropy); 323Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestedProofToken); 324Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.ComputedKey); 325Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestSecurityToken); 326Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestType); 327Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.Context); 328Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.BinarySecret); 329Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.Type); 330Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.SpnegoValueTypeUri); 331Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.TlsnegoValueTypeUri); 332Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.Prefix); 333Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestSecurityTokenIssuance); 334Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestSecurityTokenIssuanceResponse); 335Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestTypeIssue); 336Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.SymmetricKeyBinarySecret); 337Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.Psha1ComputedKeyUri); 338Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.NonceBinarySecret); 339Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RenewTarget); 340Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.CloseTarget); 341Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestedTokenClosed); 342Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestedAttachedReference); 343Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestedUnattachedReference); 344Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.IssuedTokensHeader); 345Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestTypeRenew); 346Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.RequestTypeClose); 347Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.KeyType); 348Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.SymmetricKeyType); 349Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.PublicKeyType); 350Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.Claims); 351Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.InvalidRequestFaultCode); 352Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.FailedAuthenticationFaultCode); 353Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.UseKey); 354Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.SignWith); 355Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.EncryptWith); 356Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.EncryptionAlgorithm); 357Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.CanonicalizationAlgorithm); 358Feb2005DictionaryStrings.Add(XD.TrustFeb2005Dictionary.ComputedKeyAlgorithm);
System\ServiceModel\EndpointAddress.cs (41)
710if (reader.IsStartElement(XD.AddressingDictionary.Identity, XD.AddressingDictionary.IdentityExtensionNamespace)) 713throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SR.GetString(SR.UnexpectedDuplicateElement, XD.AddressingDictionary.Identity.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value))); 759if (!reader.IsStartElement(XD.AddressingDictionary.Address, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace)) 761throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SR.GetString(SR.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing200408Dictionary.Namespace.Value))); 767if (reader.IsStartElement(XD.AddressingDictionary.ReferenceProperties, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace)) 774if (reader.IsStartElement(XD.AddressingDictionary.ReferenceParameters, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace)) 800if (reader.IsStartElement(XD.AddressingDictionary.PortType, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace)) 814if (reader.IsStartElement(XD.AddressingDictionary.ServiceName, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace)) 828while (reader.IsNamespaceUri(XD.PolicyDictionary.Namespace)) 900throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, AddressingVersion.WSAddressingAugust2004.Namespace))); 912if (!reader.IsStartElement(XD.AddressingDictionary.Address, XD.Addressing10Dictionary.Namespace)) 913throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SR.GetString(SR.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value))); 917if (reader.IsStartElement(XD.AddressingDictionary.ReferenceParameters, XD.Addressing10Dictionary.Namespace)) 927if (reader.IsStartElement(XD.Addressing10Dictionary.Metadata, XD.Addressing10Dictionary.Namespace)) 968throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value))); 1045writer.WriteStartElement(XD.AddressingDictionary.Address, XD.Addressing200408Dictionary.Namespace); 1048writer.WriteString(XD.Addressing200408Dictionary.Anonymous); 1063writer.WriteStartElement(XD.AddressingDictionary.ReferenceProperties, XD.Addressing200408Dictionary.Namespace); 1071writer.WriteStartElement(XD.AddressingDictionary.ReferenceParameters, XD.Addressing200408Dictionary.Namespace); 1117writer.WriteStartElement(XD.AddressingDictionary.Address, XD.Addressing10Dictionary.Namespace); 1120writer.WriteString(XD.Addressing10Dictionary.Anonymous); 1124writer.WriteString(XD.Addressing10Dictionary.NoneAddress); 1135writer.WriteStartElement(XD.AddressingDictionary.ReferenceParameters, XD.Addressing10Dictionary.Namespace); 1144writer.WriteStartElement(XD.Addressing10Dictionary.Metadata, XD.Addressing10Dictionary.Namespace); 1179WriteTo(addressingVersion, writer, XD.AddressingDictionary.EndpointReference, 1211dictionaryNamespace = XD.AddressingDictionary.Empty; 1215XD.AddressingDictionary.EndpointReference, dictionaryNamespace);
System\ServiceModel\EndpointIdentity.cs (18)
203throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.Identity.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value))); 205reader.ReadStartElement(XD.AddressingDictionary.Identity, XD.AddressingDictionary.IdentityExtensionNamespace); 207if (reader.IsStartElement(XD.AddressingDictionary.Spn, XD.AddressingDictionary.IdentityExtensionNamespace)) 209else if (reader.IsStartElement(XD.AddressingDictionary.Upn, XD.AddressingDictionary.IdentityExtensionNamespace)) 211else if (reader.IsStartElement(XD.AddressingDictionary.Dns, XD.AddressingDictionary.IdentityExtensionNamespace)) 213else if (reader.IsStartElement(XD.XmlSignatureDictionary.KeyInfo, XD.XmlSignatureDictionary.Namespace)) 216if (reader.IsStartElement(XD.XmlSignatureDictionary.X509Data, XD.XmlSignatureDictionary.Namespace)) 220else if (reader.IsStartElement(XD.XmlSignatureDictionary.RsaKeyValue, XD.XmlSignatureDictionary.Namespace)) 255writer.WriteStartElement(XD.AddressingDictionary.Identity, XD.AddressingDictionary.IdentityExtensionNamespace);
System\ServiceModel\EnvelopeVersion.cs (5)
28XD.Message11Dictionary.Namespace, 30XD.Message11Dictionary.Actor, 40XD.Message12Dictionary.Namespace, 42XD.Message12Dictionary.Role, 51XD.MessageDictionary.Namespace,
System\ServiceModel\ReliableMessagingVersion.cs (1)
78: base(WsrmFeb2005Strings.Namespace, XD.WsrmFeb2005Dictionary.Namespace)
System\ServiceModel\RsaEndpointIdentity.cs (18)
54reader.ReadStartElement(XD.XmlSignatureDictionary.RsaKeyValue, XD.XmlSignatureDictionary.Namespace); 55byte[] modulus = Convert.FromBase64String(reader.ReadElementString(XD.XmlSignatureDictionary.Modulus.Value, XD.XmlSignatureDictionary.Namespace.Value)); 56byte[] exponent = Convert.FromBase64String(reader.ReadElementString(XD.XmlSignatureDictionary.Exponent.Value, XD.XmlSignatureDictionary.Namespace.Value)); 71writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.KeyInfo, XD.XmlSignatureDictionary.Namespace); 72writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.RsaKeyValue, XD.XmlSignatureDictionary.Namespace); 75writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.Modulus, XD.XmlSignatureDictionary.Namespace, Convert.ToBase64String(parameters.Modulus)); 76writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.Exponent, XD.XmlSignatureDictionary.Namespace, Convert.ToBase64String(parameters.Exponent));
System\ServiceModel\Security\BinaryNegotiation.cs (2)
68writer.WriteStartAttribute(XD.SecurityJan2004Dictionary.EncodingType, null); 69writer.WriteString(XD.SecurityJan2004Dictionary.EncodingTypeValueBase64Binary);
System\ServiceModel\Security\EncryptedData.cs (1)
13internal static readonly XmlDictionaryString ElementName = XD.XmlEncryptionDictionary.EncryptedData;
System\ServiceModel\Security\EncryptedHeaderXml.cs (7)
20internal static readonly XmlDictionaryString ElementName = XD.SecurityXXX2005Dictionary.EncryptedHeader; 21internal static readonly XmlDictionaryString NamespaceUri = XD.SecurityXXX2005Dictionary.Namespace; 154this.id = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 178writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id);
System\ServiceModel\Security\MessageSecurityTokenVersion.cs (12)
31XD.SecurityXXX2005Dictionary.Namespace.Value, 32XD.TrustFeb2005Dictionary.Namespace.Value, 33XD.SecureConversationFeb2005Dictionary.Namespace.Value); 40XD.SecurityJan2004Dictionary.Namespace.Value, 41XD.TrustFeb2005Dictionary.Namespace.Value, 42XD.SecureConversationFeb2005Dictionary.Namespace.Value, 50XD.SecurityXXX2005Dictionary.Namespace.Value, 51XD.TrustFeb2005Dictionary.Namespace.Value, 52XD.SecureConversationFeb2005Dictionary.Namespace.Value, 60XD.SecurityXXX2005Dictionary.Namespace.Value, 70XD.SecurityJan2004Dictionary.Namespace.Value, 80XD.SecurityXXX2005Dictionary.Namespace.Value,
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
1631string valueType = reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null);
System\ServiceModel\Security\RequestSecurityToken.cs (2)
535using (XmlDictionaryWriter binaryWriter = XmlDictionaryWriter.CreateBinaryWriter(stream, XD.Dictionary)) 545writer.WriteNode(XmlDictionaryReader.CreateBinaryReader(this.cachedWriteBuffer, 0, this.cachedWriteBufferLength, XD.Dictionary, XmlDictionaryReaderQuotas.Max), false);
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (2)
612using (XmlDictionaryWriter binaryWriter = XmlDictionaryWriter.CreateBinaryWriter(stream, XD.Dictionary)) 622writer.WriteNode(XmlDictionaryReader.CreateBinaryReader(this.cachedWriteBuffer, 0, this.cachedWriteBufferLength, XD.Dictionary, XmlDictionaryReaderQuotas.Max), false);
System\ServiceModel\Security\SecureConversationVersion.cs (2)
55: base(XD.SecureConversationFeb2005Dictionary.Namespace, XD.SecureConversationFeb2005Dictionary.Prefix)
System\ServiceModel\Security\SecurityAlgorithmSuite.cs (56)
550internal override XmlDictionaryString DefaultCanonicalizationAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.ExclusiveC14n; } } 551internal override XmlDictionaryString DefaultDigestAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Sha1Digest; } } 552internal override XmlDictionaryString DefaultEncryptionAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Aes256Encryption; } } 553internal override XmlDictionaryString DefaultSymmetricKeyWrapAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Aes256KeyWrap; } } 554internal override XmlDictionaryString DefaultAsymmetricKeyWrapAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaOaepKeyWrap; } } 555internal override XmlDictionaryString DefaultSymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.HmacSha1Signature; } } 556internal override XmlDictionaryString DefaultAsymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaSha1Signature; } } 581internal override XmlDictionaryString DefaultCanonicalizationAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.ExclusiveC14n; } } 582internal override XmlDictionaryString DefaultDigestAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Sha1Digest; } } 583internal override XmlDictionaryString DefaultEncryptionAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Aes192Encryption; } } 584internal override XmlDictionaryString DefaultSymmetricKeyWrapAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Aes192KeyWrap; } } 585internal override XmlDictionaryString DefaultAsymmetricKeyWrapAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaOaepKeyWrap; } } 586internal override XmlDictionaryString DefaultSymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.HmacSha1Signature; } } 587internal override XmlDictionaryString DefaultAsymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaSha1Signature; } } 612internal override XmlDictionaryString DefaultCanonicalizationAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.ExclusiveC14n; } } 613internal override XmlDictionaryString DefaultDigestAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Sha1Digest; } } 614internal override XmlDictionaryString DefaultEncryptionAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Aes128Encryption; } } 615internal override XmlDictionaryString DefaultSymmetricKeyWrapAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Aes128KeyWrap; } } 616internal override XmlDictionaryString DefaultAsymmetricKeyWrapAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaOaepKeyWrap; } } 617internal override XmlDictionaryString DefaultSymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.HmacSha1Signature; } } 618internal override XmlDictionaryString DefaultAsymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaSha1Signature; } } 644internal override XmlDictionaryString DefaultCanonicalizationAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.ExclusiveC14n; } } 645internal override XmlDictionaryString DefaultDigestAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Sha1Digest; } } 646internal override XmlDictionaryString DefaultEncryptionAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.TripleDesEncryption; } } 647internal override XmlDictionaryString DefaultSymmetricKeyWrapAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.TripleDesKeyWrap; } } 648internal override XmlDictionaryString DefaultAsymmetricKeyWrapAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaOaepKeyWrap; } } 649internal override XmlDictionaryString DefaultSymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.HmacSha1Signature; } } 650internal override XmlDictionaryString DefaultAsymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaSha1Signature; } } 662internal override XmlDictionaryString DefaultAsymmetricKeyWrapAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaV15KeyWrap; } } 674internal override XmlDictionaryString DefaultAsymmetricKeyWrapAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaV15KeyWrap; } } 686internal override XmlDictionaryString DefaultAsymmetricKeyWrapAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaV15KeyWrap; } } 698internal override XmlDictionaryString DefaultAsymmetricKeyWrapAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaV15KeyWrap; } } 710internal override XmlDictionaryString DefaultDigestAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Sha256Digest; } } 711internal override XmlDictionaryString DefaultSymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.HmacSha256Signature; } } 712internal override XmlDictionaryString DefaultAsymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaSha256Signature; } } 724internal override XmlDictionaryString DefaultDigestAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Sha256Digest; } } 725internal override XmlDictionaryString DefaultSymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.HmacSha256Signature; } } 726internal override XmlDictionaryString DefaultAsymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaSha256Signature; } } 738internal override XmlDictionaryString DefaultDigestAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Sha256Digest; } } 739internal override XmlDictionaryString DefaultSymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.HmacSha256Signature; } } 740internal override XmlDictionaryString DefaultAsymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaSha256Signature; } } 752internal override XmlDictionaryString DefaultDigestAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Sha256Digest; } } 753internal override XmlDictionaryString DefaultSymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.HmacSha256Signature; } } 754internal override XmlDictionaryString DefaultAsymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaSha256Signature; } } 766internal override XmlDictionaryString DefaultDigestAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Sha256Digest; } } 767internal override XmlDictionaryString DefaultSymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.HmacSha256Signature; } } 768internal override XmlDictionaryString DefaultAsymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaSha256Signature; } } 780internal override XmlDictionaryString DefaultDigestAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Sha256Digest; } } 781internal override XmlDictionaryString DefaultSymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.HmacSha256Signature; } } 782internal override XmlDictionaryString DefaultAsymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaSha256Signature; } } 794internal override XmlDictionaryString DefaultDigestAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Sha256Digest; } } 795internal override XmlDictionaryString DefaultSymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.HmacSha256Signature; } } 796internal override XmlDictionaryString DefaultAsymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaSha256Signature; } } 808internal override XmlDictionaryString DefaultDigestAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.Sha256Digest; } } 809internal override XmlDictionaryString DefaultSymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.HmacSha256Signature; } } 810internal override XmlDictionaryString DefaultAsymmetricSignatureAlgorithmDictionaryString { get { return XD.SecurityAlgorithmDictionary.RsaSha256Signature; } }
System\ServiceModel\Security\SecurityAppliedMessage.cs (1)
123writer.WriteStartElement(this.bodyPrefix, XD.MessageDictionary.Body, this.Version.Envelope.DictionaryNamespace);
System\ServiceModel\Security\SecurityVerifiedMessage.cs (4)
224if (reader.IsStartElement(XD.MessageDictionary.Header, this.Version.Envelope.DictionaryNamespace)) 246reader.MoveToStartElement(XD.MessageDictionary.Header, this.Version.Envelope.DictionaryNamespace); 446writer.WriteStartElement(this.envelopePrefix, XD.MessageDictionary.Envelope, this.Version.Envelope.DictionaryNamespace); 449writer.WriteStartElement(this.bodyPrefix, XD.MessageDictionary.Body, this.Version.Envelope.DictionaryNamespace);
System\ServiceModel\Security\SecurityVersion.cs (20)
160: base(XD.SecurityJan2004Dictionary.Security, XD.SecurityJan2004Dictionary.Namespace, XD.SecurityJan2004Dictionary.Prefix) 171get { return XD.SecurityJan2004Dictionary.FailedAuthenticationFaultCode; } 176get { return XD.SecurityJan2004Dictionary.InvalidSecurityTokenFaultCode; } 181get { return XD.SecurityJan2004Dictionary.InvalidSecurityFaultCode; } 256return reader.IsStartElement(XD.SecurityXXX2005Dictionary.SignatureConfirmation, XD.SecurityXXX2005Dictionary.Namespace); 261reader.MoveToStartElement(XD.SecurityXXX2005Dictionary.SignatureConfirmation, XD.SecurityXXX2005Dictionary.Namespace); 263string id = XmlHelper.GetRequiredNonEmptyAttribute(reader, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 264byte[] signatureValue = XmlHelper.GetRequiredBase64Attribute(reader, XD.SecurityXXX2005Dictionary.ValueAttribute, null); 283writer.WriteStartElement(XD.SecurityXXX2005Dictionary.Prefix.Value, XD.SecurityXXX2005Dictionary.SignatureConfirmation, XD.SecurityXXX2005Dictionary.Namespace); 284writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id); 285writer.WriteStartAttribute(XD.SecurityXXX2005Dictionary.ValueAttribute, null);
System\ServiceModel\Security\SendSecurityHeader.cs (2)
1016get { return XD.UtilityDictionary.Namespace; } 1021get { return XD.UtilityDictionary.Prefix; }
System\ServiceModel\Security\SpnegoTokenAuthenticator.cs (1)
82return XD.TrustApr2004Dictionary.SpnegoValueTypeUri;
System\ServiceModel\Security\SpnegoTokenProvider.cs (1)
135return XD.TrustApr2004Dictionary.SpnegoValueTypeUri;
System\ServiceModel\Security\TlsnegoTokenAuthenticator.cs (1)
89return XD.TrustApr2004Dictionary.TlsnegoValueTypeUri;
System\ServiceModel\Security\TlsnegoTokenProvider.cs (1)
97return XD.TrustApr2004Dictionary.TlsnegoValueTypeUri;
System\ServiceModel\Security\TrustVersion.cs (2)
59: base(XD.TrustFeb2005Dictionary.Namespace, XD.TrustFeb2005Dictionary.Prefix)
System\ServiceModel\Security\WsKeyInfoSerializer.cs (6)
147System.Xml.UniqueId uri = XmlHelper.GetAttributeAsUniqueId( reader, XD.SecurityJan2004Dictionary.URI, null ); 177writer.WriteStartElement( XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.Reference, XD.SecurityJan2004Dictionary.Namespace ); 178XmlHelper.WriteAttributeStringAsUniqueId( writer, null, XD.SecurityJan2004Dictionary.URI, null, sctClause.ContextId ); 180writer.WriteAttributeString( XD.SecurityJan2004Dictionary.ValueType, null, parent.SerializerDictionary.SecurityContextTokenReferenceValueType.Value );
System\ServiceModel\Security\WSSecureConversation.cs (16)
138id = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 140derivationAlgorithm = reader.GetAttribute(XD.XmlSignatureDictionary.Algorithm, null); 151if (reader.IsStartElement(XD.SecurityJan2004Dictionary.SecurityTokenReference, XD.SecurityJan2004Dictionary.Namespace)) 262writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, derivedKeyToken.Id); 432string id = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 444if (reader.IsStartElement(parent.SerializerDictionary.Cookie, XD.DotNetSecurityDictionary.Namespace)) 497writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, sct.Id); 516writer.WriteStartElement(XD.DotNetSecurityDictionary.Prefix.Value, parent.SerializerDictionary.Cookie, XD.DotNetSecurityDictionary.Namespace);
System\ServiceModel\Security\WSSecureConversationFeb2005.cs (12)
62get { return XD.SecureConversationFeb2005Dictionary; } 80return reader.IsStartElement(DXD.SecureConversationDec2005Dictionary.Instance, XD.SecureConversationFeb2005Dictionary.Namespace); 86element.NamespaceURI == XD.SecureConversationFeb2005Dictionary.Namespace.Value); 104writer.WriteStartElement(XD.SecureConversationFeb2005Dictionary.Prefix.Value, DXD.SecureConversationDec2005Dictionary.Instance, 105XD.SecureConversationFeb2005Dictionary.Namespace); 120get { return XD.SecureConversationFeb2005Dictionary; } 125get { return XD.SecureConversationFeb2005Dictionary.RequestSecurityContextClose; } 130get { return XD.SecureConversationFeb2005Dictionary.RequestSecurityContextCloseResponse; } 140get { return XD.SecureConversationFeb2005Dictionary.RequestSecurityContextRenew; } 145get { return XD.SecureConversationFeb2005Dictionary.RequestSecurityContextRenewResponse; } 150get { return XD.SecureConversationFeb2005Dictionary.Namespace; } 155get { return XD.SecureConversationFeb2005Dictionary.SecurityContextTokenType.Value; }
System\ServiceModel\Security\WSSecurityJan2004.cs (49)
63internal static readonly XmlDictionaryString ElementName = XD.SecurityJan2004Dictionary.BinarySecurityToken; 64internal static readonly XmlDictionaryString EncodingTypeAttribute = XD.SecurityJan2004Dictionary.EncodingType; 68internal static readonly XmlDictionaryString ValueTypeAttribute = XD.SecurityJan2004Dictionary.ValueType; 92protected override XmlDictionaryString NamespaceUri { get { return XD.SecurityJan2004Dictionary.Namespace; } } 145string wsuId = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 180writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, ElementName, XD.SecurityJan2004Dictionary.Namespace); 183writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id); 302protected override XmlDictionaryString LocalName { get { return XD.SecurityJan2004Dictionary.SamlAssertion; } } 303protected override XmlDictionaryString NamespaceUri { get { return XD.SecurityJan2004Dictionary.SamlUri; } } 347protected override XmlDictionaryString LocalName { get { return XD.SecurityJan2004Dictionary.UserNameTokenElement; } } 348protected override XmlDictionaryString NamespaceUri { get { return XD.SecurityJan2004Dictionary.Namespace; } } 409writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.UserNameTokenElement, 410XD.SecurityJan2004Dictionary.Namespace); // <wsse:UsernameToken 411writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, 412XD.UtilityDictionary.Namespace, id); // wsu:Id="..." 413writer.WriteElementString(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.UserNameElement, 414XD.SecurityJan2004Dictionary.Namespace, userName); // ><wsse:Username>...</wsse:Username> 417writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.PasswordElement, 418XD.SecurityJan2004Dictionary.Namespace); 421writer.WriteAttributeString(XD.SecurityJan2004Dictionary.TypeAttribute, null, SecurityJan2004Strings.UPTokenPasswordTextValue); 431string type = reader.GetAttribute(XD.SecurityJan2004Dictionary.TypeAttribute, null); 447id = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 449reader.ReadStartElement(XD.SecurityJan2004Dictionary.UserNameTokenElement, XD.SecurityJan2004Dictionary.Namespace); 452if (reader.IsStartElement(XD.SecurityJan2004Dictionary.UserNameElement, XD.SecurityJan2004Dictionary.Namespace)) 456else if (reader.IsStartElement(XD.SecurityJan2004Dictionary.PasswordElement, XD.SecurityJan2004Dictionary.Namespace)) 460else if (reader.IsStartElement(XD.SecurityJan2004Dictionary.NonceElement, XD.SecurityJan2004Dictionary.Namespace)) 465else if (reader.IsStartElement(XD.UtilityDictionary.CreatedElement, XD.UtilityDictionary.Namespace)) 492protected override XmlDictionaryString NamespaceUri { get { return XD.XmlEncryptionDictionary.Namespace; } } 672if (reader.IsStartElement(EncryptedData.ElementName, XD.XmlEncryptionDictionary.Namespace)) 674return reader.GetAttribute(XD.XmlEncryptionDictionary.Id, null); 678return reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 687writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id);
System\ServiceModel\Security\WSSecurityOneDotOneReceiveSecurityHeader.cs (2)
35throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.EncryptedHeaderAttributeMismatch, XD.MessageDictionary.MustUnderstand.Value, headerXml.MustUnderstand, this.MustUnderstand))); 38throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.EncryptedHeaderAttributeMismatch, XD.Message12Dictionary.Relay.Value, headerXml.Relay, this.Relay)));
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (19)
229if (localreader.IsStartElement(EncryptedData.ElementName, XD.XmlEncryptionDictionary.Namespace)) 231string encryptedDataId = localreader.GetAttribute(XD.XmlEncryptionDictionary.Id, null); 374this.SecurityVerifiedMessage.OnUnsignedPart(XD.MessageDictionary.Body.Value, this.Version.Envelope.Namespace); 379this.SecurityVerifiedMessage.OnUnencryptedPart(XD.MessageDictionary.Body.Value, this.Version.Envelope.Namespace); 387bool encrypted = reader.IsStartElement(EncryptedData.ElementName, XD.XmlEncryptionDictionary.Namespace); 397return reader.IsStartElement(EncryptedKey.ElementName, XD.XmlEncryptionDictionary.Namespace); 407return reader.IsStartElement(XD.XmlSignatureDictionary.Signature, XD.XmlSignatureDictionary.Namespace); 412return reader.IsStartElement(XD.SecurityJan2004Dictionary.SecurityTokenReference, XD.SecurityJan2004Dictionary.Namespace); 522string strId = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 609int headerIndex = this.Message.Headers.FindHeader(XD.AddressingDictionary.To.Value, this.Message.Version.Addressing.Namespace); 613id = toHeaderReader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 738presentInCurrentVersion = null != reader.GetAttribute(XD.MessageDictionary.MustUnderstand, currentVersion.DictionaryNamespace); 739presentInOtherVersion = null != reader.GetAttribute(XD.MessageDictionary.MustUnderstand, otherVersion.DictionaryNamespace); 745XD.MessageDictionary.MustUnderstand, otherVersion.DictionaryNamespace, 746XD.MessageDictionary.MustUnderstand, currentVersion.DictionaryNamespace)), this.SecurityVerifiedMessage);
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (6)
269if ((header.Name == XD.AddressingDictionary.To.Value) && 759if (isStrReferenceElement && this.insertId && localName == XD.UtilityDictionary.IdAttribute.Value) 773this.innerWriter.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id); 782if (index == 1 && localName == XD.SecurityJan2004Dictionary.SecurityTokenReference.Value)
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (2)
244throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.CannotReadToken, reader.LocalName, reader.NamespaceURI, localReader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null)))); 546reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null) == this.ValueTypeUri;
System\ServiceModel\Security\WSTrust.cs (19)
75this.otherDictionary = XD.TrustFeb2005Dictionary; 109reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null) == this.ValueTypeUri; 132string secretType = reader.GetAttribute(XD.SecurityJan2004Dictionary.TypeAttribute, null); 133string id = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 166writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, simpleToken.Id); 170writer.WriteAttributeString(XD.SecurityJan2004Dictionary.TypeAttribute, null, parent.SerializerDictionary.NonceBinarySecret.Value); 965string strId = localReader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 1023XD.SecurityJan2004Dictionary.ValueType, null); 1136XmlHelper.AddNamespaceDeclaration(writer, UtilityStrings.Prefix, XD.UtilityDictionary.Namespace); 1201writer.WriteStartElement(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.CreatedElement, XD.UtilityDictionary.Namespace); 1205writer.WriteStartElement(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.ExpiresElement, XD.UtilityDictionary.Namespace);
System\ServiceModel\Security\WSTrustFeb2005.cs (3)
44get { return XD.TrustFeb2005Dictionary; } 58return XD.TrustFeb2005Dictionary; 66return XD.TrustFeb2005Dictionary.RequestSecurityTokenIssuanceResponse;
System\ServiceModel\Security\WSUtilitySpecificationVersion.cs (20)
72: base(XD.UtilityDictionary.Namespace) 83return reader.IsStartElement(XD.UtilityDictionary.Timestamp, XD.UtilityDictionary.Namespace); 91reader.MoveToStartElement(XD.UtilityDictionary.Timestamp, XD.UtilityDictionary.Namespace); 97string id = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 100reader.ReadStartElement(XD.UtilityDictionary.CreatedElement, XD.UtilityDictionary.Namespace); 105if (reader.IsStartElement(XD.UtilityDictionary.ExpiresElement, XD.UtilityDictionary.Namespace)) 133writer.WriteStartElement(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.Timestamp, XD.UtilityDictionary.Namespace); 134writer.WriteAttributeString(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, timestamp.Id); 136writer.WriteStartElement(XD.UtilityDictionary.CreatedElement, XD.UtilityDictionary.Namespace); 141writer.WriteStartElement(XD.UtilityDictionary.ExpiresElement, XD.UtilityDictionary.Namespace);
System\ServiceModel\SpnEndpointIdentity.cs (2)
76writer.WriteElementString(XD.AddressingDictionary.Spn, XD.AddressingDictionary.IdentityExtensionNamespace, (string)this.IdentityClaim.Resource);
System\ServiceModel\Transactions\OletxTransactionHeader.cs (15)
19static readonly XmlDictionaryString CoordinationNamespace = XD.CoordinationExternal10Dictionary.Namespace; // we keep using wscoor10 namespace for compatibility 61writer.WriteAttributeString(XD.CoordinationExternalDictionary.Expires, 68writer.WriteAttributeString(XD.CoordinationExternalDictionary.Identifier, 121if (reader.IsStartElement(XD.OleTxTransactionExternalDictionary.OleTxTransaction, 122XD.OleTxTransactionExternalDictionary.Namespace)) 124string identifier = reader.GetAttribute(XD.CoordinationExternalDictionary.Identifier, CoordinationNamespace); 136string attr = reader.GetAttribute(XD.CoordinationExternalDictionary.Expires, CoordinationNamespace); 163reader.ReadFullStartElement(XD.OleTxTransactionExternalDictionary.OleTxTransaction, 164XD.OleTxTransactionExternalDictionary.Namespace); 180writer.WriteStartElement(XD.OleTxTransactionExternalDictionary.PropagationToken, 181XD.OleTxTransactionExternalDictionary.Namespace); 188return reader.IsStartElement(XD.OleTxTransactionExternalDictionary.PropagationToken, 189XD.OleTxTransactionExternalDictionary.Namespace); 194reader.ReadFullStartElement(XD.OleTxTransactionExternalDictionary.PropagationToken, 195XD.OleTxTransactionExternalDictionary.Namespace);
System\ServiceModel\Transactions\WsatRegistrationHeader.cs (17)
14using XD = System.ServiceModel.XD; 62XD.DotNetAtomicTransactionExternalDictionary.RegisterInfo, 63XD.DotNetAtomicTransactionExternalDictionary.Namespace); 68writer.WriteStartElement(XD.DotNetAtomicTransactionExternalDictionary.LocalTransactionId, 69XD.DotNetAtomicTransactionExternalDictionary.Namespace); 76writer.WriteStartElement(XD.DotNetAtomicTransactionExternalDictionary.ContextId, 77XD.DotNetAtomicTransactionExternalDictionary.Namespace); 85writer.WriteStartElement(XD.DotNetAtomicTransactionExternalDictionary.TokenId, 86XD.DotNetAtomicTransactionExternalDictionary.Namespace); 138reader.ReadFullStartElement(XD.DotNetAtomicTransactionExternalDictionary.RegisterInfo, 139XD.DotNetAtomicTransactionExternalDictionary.Namespace); 141reader.MoveToStartElement(XD.DotNetAtomicTransactionExternalDictionary.LocalTransactionId, 142XD.DotNetAtomicTransactionExternalDictionary.Namespace); 154if (reader.IsStartElement(XD.DotNetAtomicTransactionExternalDictionary.ContextId, 155XD.DotNetAtomicTransactionExternalDictionary.Namespace)) 174if (reader.IsStartElement(XD.DotNetAtomicTransactionExternalDictionary.TokenId, 175XD.DotNetAtomicTransactionExternalDictionary.Namespace))
System\ServiceModel\UpnEndpointIdentity.cs (2)
174writer.WriteElementString(XD.AddressingDictionary.Upn, XD.AddressingDictionary.IdentityExtensionNamespace, (string)this.IdentityClaim.Resource);
System\ServiceModel\X509CertificateEndpointIdentity.cs (16)
54throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.X509v3Certificate.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value))); 56reader.ReadStartElement(XD.XmlSignatureDictionary.X509Data, XD.XmlSignatureDictionary.Namespace); 57while (reader.IsStartElement(XD.XmlSignatureDictionary.X509Certificate, XD.XmlSignatureDictionary.Namespace)) 73throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.X509v3Certificate.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value))); 86writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.KeyInfo, XD.XmlSignatureDictionary.Namespace); 87writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Data, XD.XmlSignatureDictionary.Namespace); 90writer.WriteElementString(XD.XmlSignatureDictionary.X509Certificate, XD.XmlSignatureDictionary.Namespace, Convert.ToBase64String(certificateCollection[i].RawData));
System\ServiceModel\XmlBuffer.cs (3)
92this.writer = XmlDictionaryWriter.CreateBinaryWriter(stream, XD.Dictionary, null, true); 96((IXmlBinaryWriterInitializer)this.writer).SetOutput(stream, XD.Dictionary, null, true); 133XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(buffer, section.Offset, section.Size, XD.Dictionary, section.Quotas, null, null);