FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlWriterDelegator.cs (13)
78WriteXmlnsAttribute(ns.Value);
113writer.WriteAttributeString("xmlns", prefix, null, ns.Value);
128(localName == null ? null : localName.Value),
129(namespaceUri == null ? null : namespaceUri.Value));
161writer.WriteString(value.Value);
214writer.WriteQualifiedName(name.Value, ns.Value);
245writer.WriteStartElement(prefix, (localName == null ? null : localName.Value), (namespaceUri == null ? null : namespaceUri.Value));
255writer.WriteStartElement(null, (localName == null ? null : localName.Value), (namespaceUri == null ? null : namespaceUri.Value));
653writer.WriteQualifiedName(localName.Value, ns.Value);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (13)
168prefix = _nsMgr.LookupPrefix(ns.Value);
171GeneratePrefix(ns.Value, ns);
176_nsMgr.AddNamespaceIfNotDeclared(prefix, ns.Value, ns);
286StartAttribute(ref prefix, (localName != null ? localName.Value : null), (namespaceUri != null ? namespaceUri.Value : null), namespaceUri);
577StartElement(ref prefix, (localName != null ? localName.Value : null), (namespaceUri != null ? namespaceUri.Value : null), namespaceUri);
812if (localName.Value.Length == 0)
816string prefix = GetQualifiedNamePrefix(namespaceUri.Value, namespaceUri);
820WriteAttributeText(string.Concat(prefix, ":", namespaceUri.Value));
978if (value.Value.Length > 0)
983WriteAttributeText(value.Value);
987StartContent(value.Value);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryString.cs (1)
42return s.Value;
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\XmlEncApr2001.cs (6)
107writer.WriteStartElement(XD.XmlEncryptionDictionary.Prefix.Value, XD.XmlEncryptionDictionary.EncryptedKey, NamespaceUri);
111writer.WriteStartElement(XD.XmlEncryptionDictionary.Prefix.Value, XD.XmlEncryptionDictionary.EncryptionMethod, NamespaceUri);
113if (encryptedKeyClause.EncryptionMethod == XD.SecurityAlgorithmDictionary.RsaOaepKeyWrap.Value)
127writer.WriteStartElement(XD.XmlEncryptionDictionary.Prefix.Value, XD.XmlEncryptionDictionary.CipherData, NamespaceUri);
128writer.WriteStartElement(XD.XmlEncryptionDictionary.Prefix.Value, XD.XmlEncryptionDictionary.CipherValue, NamespaceUri);
136writer.WriteElementString(XD.XmlEncryptionDictionary.Prefix.Value, XD.XmlEncryptionDictionary.CarriedKeyName, NamespaceUri, encryptedKeyClause.CarriedKeyName);
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (9)
711throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, string.Format(SRServiceModel.UnexpectedDuplicateElement, XD.AddressingDictionary.Identity.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value)));
759throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, string.Format(SRServiceModel.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing200408Dictionary.Namespace.Value)));
898throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, AddressingVersion.WSAddressingAugust2004.Namespace)));
911throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, string.Format(SRServiceModel.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value)));
966throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\MessageSecurityTokenVersion.cs (18)
26XD.SecurityXXX2005Dictionary.Namespace.Value,
27XD.TrustFeb2005Dictionary.Namespace.Value,
28XD.SecureConversationFeb2005Dictionary.Namespace.Value);
35XD.SecurityJan2004Dictionary.Namespace.Value,
36XD.TrustFeb2005Dictionary.Namespace.Value,
37XD.SecureConversationFeb2005Dictionary.Namespace.Value,
45XD.SecurityXXX2005Dictionary.Namespace.Value,
46XD.TrustFeb2005Dictionary.Namespace.Value,
47XD.SecureConversationFeb2005Dictionary.Namespace.Value,
55XD.SecurityXXX2005Dictionary.Namespace.Value,
56DXD.TrustDec2005Dictionary.Namespace.Value,
57DXD.SecureConversationDec2005Dictionary.Namespace.Value
65XD.SecurityJan2004Dictionary.Namespace.Value,
66DXD.TrustDec2005Dictionary.Namespace.Value,
67DXD.SecureConversationDec2005Dictionary.Namespace.Value
75XD.SecurityXXX2005Dictionary.Namespace.Value,
76DXD.TrustDec2005Dictionary.Namespace.Value,
77DXD.SecureConversationDec2005Dictionary.Namespace.Value
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityVersion.cs (11)
91return message.Headers.FindHeader(this.HeaderName.Value, this.HeaderNamespace.Value) >= 0;
96return message.Headers.FindHeader(this.HeaderName.Value, this.HeaderNamespace.Value, actors);
117int headerIndex = message.Headers.FindHeader(this.HeaderName.Value, this.HeaderNamespace.Value, actor);
120headerIndex = message.Headers.FindHeader(this.HeaderName.Value, this.HeaderNamespace.Value, message.Version.Envelope.UltimateDestinationActorValues);
142writer.WriteStartElement(this.HeaderPrefix.Value, this.HeaderName, this.HeaderNamespace);
273writer.WriteStartElement(XD.SecurityXXX2005Dictionary.Prefix.Value, XD.SecurityXXX2005Dictionary.SignatureConfirmation, XD.SecurityXXX2005Dictionary.Namespace);
274writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecureConversation.cs (8)
98public override string TokenTypeUri { get { return _parent.SerializerDictionary.DerivedKeyTokenType.Value; } }
247string serializerPrefix = _parent.SerializerDictionary.Prefix.Value;
252writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, derivedKeyToken.Id);
323public override string TokenTypeUri { get { return _parent.SerializerDictionary.SecurityContextTokenType.Value; } }
418writer.WriteStartElement(_parent.SerializerDictionary.Prefix.Value, _parent.SerializerDictionary.SecurityContextToken, _parent.SerializerDictionary.Namespace);
421writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, sct.Id);
425writer.WriteStartElement(_parent.SerializerDictionary.Prefix.Value, _parent.SerializerDictionary.Identifier, _parent.SerializerDictionary.Namespace);
440writer.WriteStartElement(XD.DotNetSecurityDictionary.Prefix.Value, _parent.SerializerDictionary.Cookie, XD.DotNetSecurityDictionary.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityJan2004.cs (8)
135writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, ElementName, XD.SecurityJan2004Dictionary.Namespace);
138writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id);
337writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.UserNameTokenElement,
339writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute,
341writer.WriteElementString(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.UserNameElement,
345writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.PasswordElement,
435throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.CantInferReferenceForToken, EncryptedKey.ElementName.Value)));
542writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrust.cs (90)
101return element.LocalName == LocalName.Value && (element.NamespaceURI == NamespaceUri.Value || element.NamespaceURI == _otherDictionary.Namespace.Value) && valueTypeUri == this.ValueTypeUri;
136if (secretType == _parent.SerializerDictionary.NonceBinarySecret.Value || secretType == _otherDictionary.NonceBinarySecret.Value)
140else if (secretType != _parent.SerializerDictionary.SymmetricKeyBinarySecret.Value && secretType != _otherDictionary.SymmetricKeyBinarySecret.Value)
142throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(string.Format(SRServiceModel.UnexpectedBinarySecretType, _parent.SerializerDictionary.SymmetricKeyBinarySecret.Value, secretType)));
203return DriverDictionary.RequestTypeIssue.Value;
209get { return DriverDictionary.Psha1ComputedKeyUri.Value; }
241while (reader.IsStartElement(DriverDictionary.RequestSecurityTokenResponse.Value, DriverDictionary.Namespace.Value))
263if (elem.LocalName == DriverDictionary.AppliesTo.Value && elem.NamespaceURI == Namespaces.WSPolicy)
310return (localName == DriverDictionary.AppliesTo.Value && namespaceUri == Namespaces.WSPolicy);
354if (element.LocalName == DriverDictionary.Authenticator.Value && element.NamespaceURI == DriverDictionary.Namespace.Value)
357if (combinedHashElement.LocalName == DriverDictionary.CombinedHash.Value && combinedHashElement.NamespaceURI == DriverDictionary.Namespace.Value)
396if (elem.LocalName == DriverDictionary.BinaryExchange.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value)
432if (element.LocalName == DriverDictionary.Entropy.Value && element.NamespaceURI == DriverDictionary.Namespace.Value)
456if (elem.LocalName == DriverDictionary.RequestedSecurityToken.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value)
464else if (elem.LocalName == DriverDictionary.RequestedProofToken.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value)
503return reader.IsStartElement(DriverDictionary.RequestSecurityTokenResponse.Value, DriverDictionary.Namespace.Value);
511return reader.IsStartElement(DriverDictionary.RequestSecurityTokenResponseCollection.Value, DriverDictionary.Namespace.Value);
516return (name == DriverDictionary.RequestedSecurityToken.Value && nameSpace == DriverDictionary.Namespace.Value);
521return (name == DriverDictionary.RequestedProofToken.Value && nameSpace == DriverDictionary.Namespace.Value);
618writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestedTokenReference, DriverDictionary.Namespace);
639writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestSecurityTokenResponseCollection, DriverDictionary.Namespace);
673if (element.LocalName == this.DriverDictionary.KeySize.Value
674&& element.NamespaceURI == this.DriverDictionary.Namespace.Value)
691XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.KeySize.Value,
692this.DriverDictionary.Namespace.Value);
732return element.LocalName == this.DriverDictionary.KeyType.Value
733&& element.NamespaceURI == this.DriverDictionary.Namespace.Value
734&& element.InnerText == this.DriverDictionary.SymmetricKeyType.Value;
740XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.KeyType.Value,
741this.DriverDictionary.Namespace.Value);
742result.AppendChild(doc.CreateTextNode(this.DriverDictionary.SymmetricKeyType.Value));
751return element.LocalName == this.DriverDictionary.KeyType.Value
752&& element.NamespaceURI == this.DriverDictionary.Namespace.Value
753&& element.InnerText == this.DriverDictionary.PublicKeyType.Value;
759XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.KeyType.Value,
760this.DriverDictionary.Namespace.Value);
761result.AppendChild(doc.CreateTextNode(this.DriverDictionary.PublicKeyType.Value));
770if (element.LocalName == this.DriverDictionary.TokenType.Value
771&& element.NamespaceURI == this.DriverDictionary.Namespace.Value)
788XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.TokenType.Value,
789this.DriverDictionary.Namespace.Value);
805XmlElement result = doc.CreateElement(this.DriverDictionary.UseKey.Value, this.DriverDictionary.Namespace.Value);
831XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.SignWith.Value,
832this.DriverDictionary.Namespace.Value);
839return CheckElement(element, this.DriverDictionary.SignWith.Value, this.DriverDictionary.Namespace.Value, out signatureAlgorithm);
849XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.EncryptWith.Value,
850this.DriverDictionary.Namespace.Value);
862XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.EncryptionAlgorithm.Value,
863this.DriverDictionary.Namespace.Value);
870return CheckElement(element, this.DriverDictionary.EncryptWith.Value, this.DriverDictionary.Namespace.Value, out encryptWithAlgorithm);
875return CheckElement(element, this.DriverDictionary.EncryptionAlgorithm.Value, this.DriverDictionary.Namespace.Value, out encryptionAlgorithm);
885XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.ComputedKeyAlgorithm.Value,
886this.DriverDictionary.Namespace.Value);
898XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.CanonicalizationAlgorithm.Value,
899this.DriverDictionary.Namespace.Value);
906return CheckElement(element, this.DriverDictionary.CanonicalizationAlgorithm.Value, this.DriverDictionary.Namespace.Value, out canonicalizationAlgorithm);
914if (element.LocalName == this.DriverDictionary.Claims.Value
915&& element.NamespaceURI == this.DriverDictionary.Namespace.Value)
939XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.Claims.Value,
940this.DriverDictionary.Namespace.Value);