444 references to Value
dotnet-svcutil-lib (444)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (2)
390if (ns.Length > 0 && ns != dataContract.Namespace.Value) 856this.StableName = new XmlQualifiedName(GetStableNameAndSetHasDataContract(type).Name, ns.Value);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (4)
1231(xmlDataContract.TopLevelElementName != null && xmlDataContract.TopLevelElementName.Value != xmlDataContract.StableName.Name) || 1232(xmlDataContract.TopLevelElementNamespace != null && xmlDataContract.TopLevelElementNamespace.Value != xmlDataContract.StableName.Namespace); 1240xmlRootAttribute.Arguments.Add(new CodeAttributeArgument("ElementName", new CodePrimitiveExpression(xmlDataContract.TopLevelElementName.Value))); 1244xmlRootAttribute.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(xmlDataContract.TopLevelElementNamespace.Value)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (31)
947if (ns == DictionaryGlobals.SchemaNamespace.Value) 949if (DictionaryGlobals.BooleanLocalName.Value == name) 951else if (DictionaryGlobals.SignedByteLocalName.Value == name) 953else if (DictionaryGlobals.UnsignedByteLocalName.Value == name) 955else if (DictionaryGlobals.ShortLocalName.Value == name) 957else if (DictionaryGlobals.UnsignedShortLocalName.Value == name) 959else if (DictionaryGlobals.IntLocalName.Value == name) 961else if (DictionaryGlobals.UnsignedIntLocalName.Value == name) 963else if (DictionaryGlobals.LongLocalName.Value == name) 965else if (DictionaryGlobals.IntegerLocalName.Value == name) 967else if (DictionaryGlobals.PositiveIntegerLocalName.Value == name) 969else if (DictionaryGlobals.NonPositiveIntegerLocalName.Value == name) 971else if (DictionaryGlobals.NegativeIntegerLocalName.Value == name) 973else if (DictionaryGlobals.NonNegativeIntegerLocalName.Value == name) 975else if (DictionaryGlobals.UnsignedLongLocalName.Value == name) 977else if (DictionaryGlobals.FloatLocalName.Value == name) 979else if (DictionaryGlobals.DoubleLocalName.Value == name) 981else if (DictionaryGlobals.DecimalLocalName.Value == name) 983else if (DictionaryGlobals.DateTimeLocalName.Value == name) 985else if (DictionaryGlobals.StringLocalName.Value == name) 987else if (DictionaryGlobals.hexBinaryLocalName.Value == name) 989else if (DictionaryGlobals.ByteArrayLocalName.Value == name) 991else if (DictionaryGlobals.ObjectLocalName.Value == name) 993else if (DictionaryGlobals.UriLocalName.Value == name) 995else if (DictionaryGlobals.QNameLocalName.Value == name) 998else if (ns == DictionaryGlobals.SerializationNamespace.Value) 1000if (DictionaryGlobals.TimeSpanLocalName.Value == name) 1002else if (DictionaryGlobals.GuidLocalName.Value == name) 1004else if (DictionaryGlobals.CharLocalName.Value == name) 1272this.StableName = CreateQualifiedName(name.Value, ns.Value);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (4)
340writer.WriteString(ChildElementNames[i].Value); 363writer.WriteString(DictionaryGlobals.Space.Value); 365writer.WriteString(ChildElementNames[i].Value); 374writer.WriteString(ChildElementNames[zeroIndex].Value);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\PrimitiveDataContract.cs (2)
861else if (ns != null && ns.Value != null && ns.Value.Length > 0)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
664return type == Globals.TypeOfXmlQualifiedName && (ns != null && ns.Value != null && ns.Value.Length > 0);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (4)
218|| (contract.Name.Value == declaredContract.Name.Value && contract.Namespace.Value == declaredContract.Namespace.Value);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (3)
261stringBuilder.Append(memberNames[i].Value); 511throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ArrayExceededSizeAttribute, arraySize, itemName.Value, itemNamespace.Value)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
400if (ns != null && ns.Value != null && ns.Value.Length > 0)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (2)
167if (ns != null && ns.Value != null && ns.Value.Length > 0)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlReaderDelegator.cs (8)
80return ns.Value == reader.NamespaceURI; 88return localName.Value == reader.LocalName; 98if (reader.NamespaceURI == ns.Value) 103if (localName == localNames[i].Value) 134return !isEndOfEmptyElement && reader.IsStartElement(localname.Value, ns.Value); 632throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ArrayExceededSizeAttribute, expectedLength, itemName.Value, itemNamespace.Value)));
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\PrefixHandle.cs (1)
207return Equals2(prefix2.Value);
FrameworkFork\System.Runtime.Serialization\System\Xml\StringHandle.cs (7)
114return nameTable.Add(_bufferReader.GetDictionaryString(_key).Value); 126return _bufferReader.GetDictionaryString(_key).Value; 192return _bufferReader.Equals2(_offset, _length, bufferReader2.GetDictionaryString(key2).Value); 194return GetString() == _bufferReader.GetDictionaryString(key2).Value; 205return GetString() == xmlString2.Value; 212return _bufferReader.GetDictionaryString(_key).Value == s2; 223return bufferReader2.Equals2(offset2, length2, _bufferReader.GetDictionaryString(_key).Value);
FrameworkFork\System.Runtime.Serialization\System\Xml\ValueHandle.cs (1)
521return GetDictionaryString().Value;
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseReader.cs (4)
2092return ns.Value == xmlnsNamespace; 2118return this.Namespace.Prefix == localName && ns.Value == xmlnsNamespace; 2910if (object.ReferenceEquals(s.Value, _uriString)) 2914_uriString = s.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\XmlBinaryReader.cs (1)
93value = BufferReader.GetDictionaryString(ReadDictionaryKey()).Value;
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReaderSession.cs (2)
86if (s != null && s.Value == value) 98if (s.Value == value)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryWriter.cs (6)
178WriteStartElement(prefix, localName.Value); 266WriteStartAttribute(prefix, localName.Value); 325WriteXmlnsAttribute(prefix, ns.Value); 604WriteText(value.Value); 1044_captureText = _captureXText.Value; 1062WriteText(s.Value);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryWriterSession.cs (3)
45key = Add(value.Value); 50key = Add(value.Value); 90if (_strings.TryGetValue(s.Value, out key))
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBufferReader.cs (5)
859string s = GetDictionaryString(key).Value; 897return GetDictionaryString(key1).Value == bufferReader2.GetDictionaryString(key2).Value; 905return GetDictionaryString(key1).Value == xmlString2.Value;
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (6)
168return IsLocalName(localName.Value); 182return IsNamespaceUri(namespaceUri.Value); 262if (this.NamespaceURI == namespaceUri.Value) 270if (localName == value.Value) 532if (value.Value == s) 535return value.Value;
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryString.cs (1)
42return s.Value;
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryWriter.cs (2)
162WriteQualifiedName(localName.Value, namespaceUri.Value);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlUTF8TextWriter.cs (5)
240WriteStartElement(prefix, localName.Value); 343WriteXmlnsAttribute(prefix, ns.Value); 374WriteStartAttribute(prefix, localName.Value); 438WriteEscapedText(s.Value); 546WriteUTF8Chars(value.Value);
FrameworkFork\System.ServiceModel\System\IdentityModel\IdentityModelDictionary.cs (1)
92if (!TryLookup(key.Value, out s))
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\WSSecurityJan2004.cs (8)
298writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.KeyIdentifier, XD.SecurityJan2004Dictionary.Namespace); 344return XD.SecurityJan2004Dictionary.KerberosTokenTypeGSS.Value; 444writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.Reference, XD.SecurityJan2004Dictionary.Namespace); 486return XD.SecurityXXX2005Dictionary.SamlTokenType.Value; 510return (valueType == XD.SecurityXXX2005Dictionary.Saml11AssertionValueType.Value); 515return XD.SecurityXXX2005Dictionary.Saml20TokenType.Value; 537return XD.SecurityJan2004Dictionary.RelAssertionValueType.Value; 634writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id);
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\WSSecurityXXX2005.cs (3)
181return XD.SecurityXXX2005Dictionary.ThumbprintSha1ValueType.Value; 189if (tokenType != XD.SecurityXXX2005Dictionary.Saml20TokenType.Value) 203return XD.SecurityXXX2005Dictionary.Saml20TokenType.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\Channels\AddressHeader.cs (2)
289: base(name.Value, ns.Value, value, DataContractSerializerDefaults.CreateSerializer(GetObjectType(value), name, ns, int.MaxValue/*maxItems*/))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Addressing.cs (1)
120: base(dictionaryAction.Value, version)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncoder.cs (5)
391int utf8ValueSize = Encoding.UTF8.GetByteCount(newStrings[i].Value); 421string newString = newStrings[i].Value; 696_readerSessionForLogging.Add(_writeIdCounter++, xmlDictionaryString.Value); 905int bytesRequired = Encoding.UTF8.GetByteCount(s.Value); 1430_toHeader = ToHeader.Create(new Uri(toString.Value), _messageVersion.Addressing);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (2)
79XmlQualifiedName refPropHeaderName = new XmlQualifiedName(XD.UtilityDictionary.UniqueEndpointHeaderName.Value, 80XD.UtilityDictionary.UniqueEndpointHeaderNamespace.Value);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (2)
93XD.AddressingDictionary.Action.Value)); 112XD.AddressingDictionary.To.Value));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (4)
375writer.WriteStartElement(messageDictionary.Prefix.Value, messageDictionary.Body, Version.Envelope.DictionaryNamespace); 433writer.WriteStartElement(messageDictionary.Prefix.Value, messageDictionary.Envelope, envelopeVersion.DictionaryNamespace); 444writer.WriteStartElement(messageDictionary.Prefix.Value, messageDictionary.Header, envelopeVersion.DictionaryNamespace); 756string prefixString = prefix.Value;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageFault.cs (3)
624&& attributeValue == XD.Message12Dictionary.Namespace.Value; 715string text = reader.ReadElementContentAsString(XD.Message11Dictionary.FaultString.Value, XD.Message11Dictionary.FaultNamespace.Value);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeader.cs (2)
280get { return DictionaryName.Value; } 285get { return DictionaryNamespace.Value; }
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (2)
1045if (string.Compare(code.Namespace, SecurityVersion.Default.HeaderNamespace.Value, StringComparison.Ordinal) == 0) 1047if (string.Compare(code.Name, SecurityVersion.Default.FailedAuthenticationFaultCode.Value, StringComparison.Ordinal) == 0)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportOutputChannel.cs (1)
137if (value == _to.Value)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (2)
476: base(headerPart.DictionaryName.Value, headerPart.DictionaryNamespace.Value, headerValue, headerPart.Serializer, mustUnderstand, actor ?? string.Empty, relay)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (2)
68else if (reader.LocalName == XD.UtilityDictionary.IdAttribute.Value && reader.NamespaceURI == XD.UtilityDictionary.Namespace.Value)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
68return _action.Value; 77return _replyAction.Value;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (2)
559reader.MoveToAttribute(_xsiNilLocalName.Value, _xsiNilNamespace.Value) &&
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\EndpointIdentity.cs (2)
121throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.Identity.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\BinaryNegotiation.cs (2)
45_valueTypeUri = valueTypeDictionaryString.Value; 51if (_valueTypeUri != valueTypeUriDictionaryString.Value)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\EncryptedKey.cs (3)
381string.Format(SRServiceModel.RequiredAttributeMissing, XD.XmlSignatureDictionary.Algorithm.Value, ElementName.Value))); 407if (this.algorithm == XD.SecurityAlgorithmDictionary.RsaOaepKeyWrap.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\ReceiveSecurityHeader.cs (2)
25get { return this.StandardsManager.SecurityVersion.HeaderName.Value; } 30get { return this.StandardsManager.SecurityVersion.HeaderNamespace.Value; }
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ReferenceList.cs (1)
132writer.WriteStartElement(XD.XmlEncryptionDictionary.Prefix.Value, ElementName, NamespaceUri);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ScopedMessagePartSpecification.cs (1)
102AddParts(parts, action.Value);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityAlgorithmSuite.cs (28)
363public override string DefaultCanonicalizationAlgorithm { get { return DefaultCanonicalizationAlgorithmDictionaryString.Value; } } 364public override string DefaultDigestAlgorithm { get { return DefaultDigestAlgorithmDictionaryString.Value; } } 365public override string DefaultEncryptionAlgorithm { get { return DefaultEncryptionAlgorithmDictionaryString.Value; } } 367public override string DefaultSymmetricKeyWrapAlgorithm { get { return DefaultSymmetricKeyWrapAlgorithmDictionaryString.Value; } } 368public override string DefaultAsymmetricKeyWrapAlgorithm { get { return DefaultAsymmetricKeyWrapAlgorithmDictionaryString.Value; } } 369public override string DefaultSymmetricSignatureAlgorithm { get { return DefaultSymmetricSignatureAlgorithmDictionaryString.Value; } } 370public override string DefaultAsymmetricSignatureAlgorithm { get { return DefaultAsymmetricSignatureAlgorithmDictionaryString.Value; } } 394public override string DefaultCanonicalizationAlgorithm { get { return DefaultCanonicalizationAlgorithmDictionaryString.Value; } } 395public override string DefaultDigestAlgorithm { get { return DefaultDigestAlgorithmDictionaryString.Value; } } 396public override string DefaultEncryptionAlgorithm { get { return DefaultEncryptionAlgorithmDictionaryString.Value; } } 398public override string DefaultSymmetricKeyWrapAlgorithm { get { return DefaultSymmetricKeyWrapAlgorithmDictionaryString.Value; } } 399public override string DefaultAsymmetricKeyWrapAlgorithm { get { return DefaultAsymmetricKeyWrapAlgorithmDictionaryString.Value; } } 400public override string DefaultSymmetricSignatureAlgorithm { get { return DefaultSymmetricSignatureAlgorithmDictionaryString.Value; } } 401public override string DefaultAsymmetricSignatureAlgorithm { get { return DefaultAsymmetricSignatureAlgorithmDictionaryString.Value; } } 425public override string DefaultCanonicalizationAlgorithm { get { return this.DefaultCanonicalizationAlgorithmDictionaryString.Value; } } 426public override string DefaultDigestAlgorithm { get { return this.DefaultDigestAlgorithmDictionaryString.Value; } } 427public override string DefaultEncryptionAlgorithm { get { return this.DefaultEncryptionAlgorithmDictionaryString.Value; } } 429public override string DefaultSymmetricKeyWrapAlgorithm { get { return this.DefaultSymmetricKeyWrapAlgorithmDictionaryString.Value; } } 430public override string DefaultAsymmetricKeyWrapAlgorithm { get { return this.DefaultAsymmetricKeyWrapAlgorithmDictionaryString.Value; } } 431public override string DefaultSymmetricSignatureAlgorithm { get { return this.DefaultSymmetricSignatureAlgorithmDictionaryString.Value; } } 432public override string DefaultAsymmetricSignatureAlgorithm { get { return this.DefaultAsymmetricSignatureAlgorithmDictionaryString.Value; } } 456public override string DefaultCanonicalizationAlgorithm { get { return DefaultCanonicalizationAlgorithmDictionaryString.Value; } } 457public override string DefaultDigestAlgorithm { get { return DefaultDigestAlgorithmDictionaryString.Value; } } 458public override string DefaultEncryptionAlgorithm { get { return DefaultEncryptionAlgorithmDictionaryString.Value; } } 460public override string DefaultSymmetricKeyWrapAlgorithm { get { return DefaultSymmetricKeyWrapAlgorithmDictionaryString.Value; } } 461public override string DefaultAsymmetricKeyWrapAlgorithm { get { return this.DefaultAsymmetricKeyWrapAlgorithmDictionaryString.Value; } } 463public override string DefaultSymmetricSignatureAlgorithm { get { return DefaultSymmetricSignatureAlgorithmDictionaryString.Value; } } 464public override string DefaultAsymmetricSignatureAlgorithm { get { return DefaultAsymmetricSignatureAlgorithmDictionaryString.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\SendSecurityHeader.cs (2)
34get { return this.StandardsManager.SecurityVersion.HeaderName.Value; } 39get { return this.StandardsManager.SecurityVersion.HeaderNamespace.Value; }
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSKeyInfoSerializer.cs (8)
118if (tokenType != null && tokenType != _parent.SerializerDictionary.SecurityContextTokenType.Value) 127if (valueType != null && valueType != _parent.SerializerDictionary.SecurityContextTokenReferenceValueType.Value) 175writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.Reference, XD.SecurityJan2004Dictionary.Namespace); 178writer.WriteAttributeString(XD.SecurityJan2004Dictionary.ValueType, null, _parent.SerializerDictionary.SecurityContextTokenReferenceValueType.Value); 209public override string TokenTypeUri { get { return _parent.SerializerDictionary.SecurityContextTokenType.Value; } } 239public override string TokenTypeUri { get { return _parent.SerializerDictionary.DerivedKeyTokenType.Value; } } 283this.Parent.SecurityTokenSerializer.DictionaryManager.SecureConversationFeb2005Dictionary.Prefix.Value, 337this.Parent.SecurityTokenSerializer.DictionaryManager.SecureConversationDec2005Dictionary.Prefix.Value,
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\WSSecureConversationDec2005.cs (4)
93return (element.LocalName == DXD.SecureConversationDec2005Dictionary.Instance.Value && 94element.NamespaceURI == DXD.SecureConversationDec2005Dictionary.Namespace.Value); 112writer.WriteStartElement(DXD.SecureConversationDec2005Dictionary.Prefix.Value, 164get { return DXD.SecureConversationDec2005Dictionary.SecurityContextTokenType.Value; }
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecureConversationFeb2005.cs (4)
85return (element.LocalName == DXD.SecureConversationDec2005Dictionary.Instance.Value && 86element.NamespaceURI == XD.SecureConversationFeb2005Dictionary.Namespace.Value); 104writer.WriteStartElement(XD.SecureConversationFeb2005Dictionary.Prefix.Value, DXD.SecureConversationDec2005Dictionary.Instance, 155get { return XD.SecureConversationFeb2005Dictionary.SecurityContextTokenType.Value; }
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\WSSecurityPolicy.cs (3)
3007if (message.Action == trustDriver.RequestSecurityTokenAction.Value && message.Direction == MessageDirection.Input) 3011else if ((((trustDriver.StandardsManager.TrustVersion == TrustVersion.WSTrustFeb2005) && (message.Action == trustDriver.RequestSecurityTokenResponseAction.Value)) || 3012((trustDriver.StandardsManager.TrustVersion == TrustVersion.WSTrust13) && (message.Action == trustDriver.RequestSecurityTokenResponseFinalAction.Value))) &&
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityTokenSerializer.cs (5)
503return element.LocalName == LocalName.Value && element.NamespaceURI == NamespaceUri.Value && valueTypeUri == this.ValueTypeUri; 548if (_dictionaryStrings[i].Value.Equals(value)) 580(_dictionaryStrings[i].Value.Equals(value.Value)))
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);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrustDec2005.cs (19)
74XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.KeyType.Value, 75this.DriverDictionary.Namespace.Value); 76result.AppendChild(doc.CreateTextNode(DXD.TrustDec2005Dictionary.BearerKeyType.Value)); 88if (element.LocalName == this.DriverDictionary.KeyType.Value 89&& element.NamespaceURI == this.DriverDictionary.Namespace.Value 90&& element.InnerText == DXD.TrustDec2005Dictionary.BearerKeyType.Value) 102XmlAttribute dialectAttribute = result.OwnerDocument.CreateAttribute(DXD.TrustDec2005Dictionary.Dialect.Value); 103dialectAttribute.Value = DXD.TrustDec2005Dictionary.DialectType.Value; 138XmlElement secondaryParamElement = originalRequestParameters[0].OwnerDocument.CreateElement(DXD.TrustDec2005Dictionary.Prefix.Value, DXD.TrustDec2005Dictionary.SecondaryParameters.Value, DXD.TrustDec2005Dictionary.Namespace.Value); 154return ((element.LocalName == DXD.TrustDec2005Dictionary.SecondaryParameters.Value) && 155(element.NamespaceURI == DXD.TrustDec2005Dictionary.Namespace.Value)); 165XmlElement result = doc.CreateElement(DXD.TrustDec2005Dictionary.Prefix.Value, DXD.TrustDec2005Dictionary.KeyWrapAlgorithm.Value, 166DXD.TrustDec2005Dictionary.Namespace.Value); 173return CheckElement(element, DXD.TrustDec2005Dictionary.KeyWrapAlgorithm.Value, DXD.TrustDec2005Dictionary.Namespace.Value, out keyWrapAlgorithm);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrustFeb2005.cs (14)
89return this.DriverDictionary.IssuedTokensHeader.Value; 97return this.DriverDictionary.Namespace.Value; 105return this.DriverDictionary.RequestTypeRenew.Value; 113return this.DriverDictionary.RequestTypeClose.Value; 135if (child.LocalName == this.DriverDictionary.RequestedTokenClosed.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 154if (child.LocalName == this.DriverDictionary.RenewTarget.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 156else if (child.LocalName == this.DriverDictionary.CloseTarget.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 166writer.WriteStartElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.RequestedAttachedReference, this.DriverDictionary.Namespace); 173writer.WriteStartElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.RequestedUnattachedReference, this.DriverDictionary.Namespace); 191writer.WriteStartElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.RenewTarget, this.DriverDictionary.Namespace); 198writer.WriteStartElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.CloseTarget, this.DriverDictionary.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSUtilitySpecificationVersion.cs (1)
93writer.WriteStartElement(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.Timestamp, XD.UtilityDictionary.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\XmlHelper.cs (10)
14string p = writer.LookupPrefix(ns.Value); 23string p = writer.LookupPrefix(ns.Value); 228OnRequiredAttributeMissing(attributeName.Value, null); 244OnRequiredAttributeMissing(name.Value, reader == null ? null : reader.Name); 251if (!reader.MoveToAttribute(name.Value, ns == null ? null : ns.Value)) 253OnRequiredAttributeMissing(name.Value, ns == null ? null : ns.Value); 328return GetAttributeAsUniqueId(reader, localName.Value, (ns != null ? ns.Value : null));
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceModelDictionary.cs (1)
108if (!TryLookup(key.Value, out s))
FrameworkFork\System.ServiceModel\System\ServiceModel\X509CertificateEndpointIdentity.cs (6)
54throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.X509v3Certificate.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value))); 73throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.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);