757 references to Value
System.IdentityModel (124)
System\IdentityModel\EncryptedTypeElement.cs (2)
159if (reader.IsStartElement(XD.XmlSignatureDictionary.KeyInfo.Value, XD.XmlSignatureDictionary.Namespace.Value))
System\IdentityModel\EnvelopedSignatureReader.cs (2)
102_wrappedReader.XmlTokens.SetElementExclusion(XD.XmlSignatureDictionary.Signature.Value, XD.XmlSignatureDictionary.Namespace.Value);
System\IdentityModel\EnvelopedSignatureTransform.cs (1)
20get { return XD.XmlSignatureDictionary.EnvelopedSignature.Value; }
System\IdentityModel\EnvelopedSignatureWriter.cs (1)
110signedInfo.CanonicalizationMethod = XD.ExclusiveC14NDictionary.Namespace.Value;
System\IdentityModel\ExclusiveCanonicalizationTransform.cs (4)
38this.algorithm = includeComments ? XD.SecurityAlgorithmDictionary.ExclusiveC14nWithComments.Value : XD.SecurityAlgorithmDictionary.ExclusiveC14n.Value; 176if (algorithm == dictionaryManager.SecurityAlgorithmDictionary.ExclusiveC14nWithComments.Value) 183else if (algorithm == dictionaryManager.SecurityAlgorithmDictionary.ExclusiveC14n.Value)
System\IdentityModel\ExtendedTransformFactory.cs (1)
20if (transformAlgorithmUri == XD.XmlSignatureDictionary.EnvelopedSignature.Value)
System\IdentityModel\IdentityModelDictionary.cs (1)
91if (!TryLookup(key.Value, out s))
System\IdentityModel\KeyInfo.cs (4)
51if ( reader.IsStartElement( XD.XmlSignatureDictionary.KeyInfo.Value, XD.XmlSignatureDictionary.Namespace.Value ) ) 59if ( reader.IsStartElement( XmlSignatureConstants.Elements.RetrievalMethod, XD.XmlSignatureDictionary.Namespace.Value ) ) 61string method = reader.GetAttribute( XD.XmlSignatureDictionary.URI.Value );
System\IdentityModel\SignedXml.cs (1)
481if (value != null && value.Value != this.canonicalizationMethodElement.Algorithm)
System\IdentityModel\StrTransform.cs (2)
229get { return XD.SecurityAlgorithmDictionary.ExclusiveC14n.Value; } 283writer.WriteStartElement(dictionaryManager.XmlSignatureDictionary.Prefix.Value, dictionaryManager.XmlSignatureDictionary.CanonicalizationMethod, dictionaryManager.XmlSignatureDictionary.Namespace);
System\IdentityModel\Tokens\SamlAction.cs (1)
122writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.Action, dictionary.Namespace);
System\IdentityModel\Tokens\SamlAdvice.cs (5)
46throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty, XD.SamlDictionary.AssertionIdReference.Value)); 57throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty, XD.SamlDictionary.Assertion.Value)); 136throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.SAMLBadSchema, dictionary.Advice.Value))); 155writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.Advice, dictionary.Namespace); 159writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.AssertionIdReference, dictionary.Namespace);
System\IdentityModel\Tokens\SamlAssertion.cs (2)
80throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty, XD.SamlDictionary.Statement.Value)); 630writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.Assertion, dictionary.Namespace);
System\IdentityModel\Tokens\SamlAttribute.cs (2)
269writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.Attribute, dictionary.Namespace); 283writer.WriteElementString(dictionary.PreferredPrefix.Value, dictionary.AttributeValue, dictionary.Namespace, this.attributeValues[i]);
System\IdentityModel\Tokens\SamlAttributeStatement.cs (2)
35throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty, XD.SamlDictionary.Attribute.Value)); 143writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.AttributeStatement, dictionary.Namespace);
System\IdentityModel\Tokens\SamlAudienceRestrictionCondition.cs (3)
30throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty, XD.SamlDictionary.Audience.Value)); 97throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.SAMLBadSchema, dictionary.AudienceRestrictionCondition.Value))); 121writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.AudienceRestrictionCondition, dictionary.Namespace);
System\IdentityModel\Tokens\SamlAuthenticationStatement.cs (5)
20string authenticationMethod = XD.SamlDictionary.UnspecifiedAuthenticationMethod.Value; 51throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty, XD.SamlDictionary.Assertion.Value)); 81this.authenticationMethod = XD.SamlDictionary.UnspecifiedAuthenticationMethod.Value; 251writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.AuthenticationStatement, dictionary.Namespace); 264writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.SubjectLocality, dictionary.Namespace);
System\IdentityModel\Tokens\SamlAuthorityBinding.cs (2)
181writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.AuthorityBinding, dictionary.Namespace); 186writer.WriteAttributeString(String.Empty, dictionary.NamespaceAttributePrefix.Value, null, this.authorityKind.Namespace);
System\IdentityModel\Tokens\SamlAuthorizationDecisionStatement.cs (2)
45throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty, XD.SamlDictionary.Action.Value)); 233writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.AuthorizationDecisionStatement, dictionary.Namespace);
System\IdentityModel\Tokens\SamlConditions.cs (2)
46throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty, XD.SamlDictionary.Condition.Value)); 158writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.Conditions, dictionary.Namespace);
System\IdentityModel\Tokens\SamlDoNotCacheCondition.cs (2)
40throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.SAMLBadSchema, dictionary.DoNotCacheCondition.Value))); 67writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.DoNotCacheCondition, dictionary.Namespace);
System\IdentityModel\Tokens\SamlEvidence.cs (7)
41throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty, XD.SamlDictionary.AssertionIdReference.Value)); 52throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty, XD.SamlDictionary.Assertion.Value)); 128throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.SAMLBadSchema, dictionary.Evidence.Value))); 151writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.Evidence.Value, dictionary.Namespace.Value); 155writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.AssertionIdReference, dictionary.Namespace);
System\IdentityModel\Tokens\SamlSubject.cs (5)
56throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty, XD.SamlDictionary.SubjectConfirmationMethod.Value)); 295throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.SAMLBadSchema, dictionary.SubjectConfirmationMethod.Value))); 357writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.Subject, dictionary.Namespace); 361writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.NameIdentifier, dictionary.Namespace); 380writer.WriteStartElement(dictionary.PreferredPrefix.Value, dictionary.SubjectConfirmation, dictionary.Namespace);
System\IdentityModel\Tokens\SessionSecurityToken.cs (8)
402throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.ID4230, dictionary.SecurityContextToken.Value, reader.Name))); 438throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID4239, dictionary.Id.Value))); 443throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.ID4230, dictionary.ContextId.Value, reader.Name))); 450throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.ID4230, dictionary.Key.Value, reader.Name))); 463throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.ID4230, dictionary.EffectiveTime.Value, reader.Name))); 469throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.ID4230, dictionary.ExpiryTime.Value, reader.Name))); 475throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.ID4230, dictionary.KeyEffectiveTime.Value, reader.Name))); 481throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.ID4230, dictionary.KeyExpiryTime.Value, reader.Name)));
System\IdentityModel\Tokens\WSSecurityJan2004.cs (24)
292writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.SecurityTokenReference, XD.SecurityJan2004Dictionary.Namespace); 378writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.KeyIdentifier, XD.SecurityJan2004Dictionary.Namespace); 423return XD.SecurityJan2004Dictionary.KerberosTokenTypeGSS.Value; 427writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.KeyIdentifier, XD.SecurityJan2004Dictionary.Namespace); 545writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.Reference, XD.SecurityJan2004Dictionary.Namespace); 587return XD.SecurityXXX2005Dictionary.SamlTokenType.Value; 611throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.RequiredAttributeMissing, XD.SamlDictionary.Binding.Value, XD.SamlDictionary.AuthorityBinding.Value))); 616throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.RequiredAttributeMissing, XD.SamlDictionary.Location.Value, XD.SamlDictionary.AuthorityBinding.Value))); 621throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.RequiredAttributeMissing, XD.SamlDictionary.AuthorityKind.Value, XD.SamlDictionary.AuthorityBinding.Value))); 674writer.WriteStartElement(XD.SamlDictionary.PreferredPrefix.Value, XD.SamlDictionary.AuthorityBinding, XD.SecurityJan2004Dictionary.SamlUri); 689writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.KeyIdentifier, XD.SecurityJan2004Dictionary.Namespace); 690string valueType = string.IsNullOrEmpty(samlClause.ValueType) ? XD.SecurityJan2004Dictionary.SamlAssertionIdValueType.Value : samlClause.ValueType; 702return (valueType == XD.SecurityXXX2005Dictionary.Saml11AssertionValueType.Value); 707return XD.SecurityXXX2005Dictionary.Saml20TokenType.Value; 729return XD.SecurityJan2004Dictionary.RelAssertionValueType.Value; 755writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.Reference, XD.SecurityJan2004Dictionary.Namespace); 802writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Data, XD.XmlSignatureDictionary.Namespace); 803writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509IssuerSerial, XD.XmlSignatureDictionary.Namespace); 804writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509IssuerName, XD.XmlSignatureDictionary.Namespace, issuerClause.IssuerName); 805writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509SerialNumber, XD.XmlSignatureDictionary.Namespace, issuerClause.IssuerSerialNumber); 856writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id);
System\IdentityModel\Tokens\WSSecurityXXX2005.cs (6)
74writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.SecurityTokenReference, XD.SecurityJan2004Dictionary.Namespace); 79writer.WriteAttributeString(XD.SecurityXXX2005Dictionary.Prefix.Value, XD.SecurityXXX2005Dictionary.TokenTypeAttribute, XD.SecurityXXX2005Dictionary.Namespace, tokenTypeUri); 196return XD.SecurityXXX2005Dictionary.ThumbprintSha1ValueType.Value; 204if (tokenType != XD.SecurityXXX2005Dictionary.Saml20TokenType.Value) 218return XD.SecurityXXX2005Dictionary.Saml20TokenType.Value; 244writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.Reference, XD.SecurityJan2004Dictionary.Namespace);
System\IdentityModel\Tokens\WSTrust.cs (1)
120writer.WriteStartElement(this.parent.SerializerDictionary.Prefix.Value, this.parent.SerializerDictionary.BinarySecret, this.parent.SerializerDictionary.Namespace);
System\IdentityModel\Tokens\XmlDsigSep2000.cs (12)
93writer.WriteStartElement( XD.XmlSignatureDictionary.Prefix.Value, LocalName, NamespaceUri ); 145writer.WriteElementString( XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.KeyName, NamespaceUri, nameClause.KeyName ); 207writer.WriteStartElement( XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.KeyValue, NamespaceUri ); 208writer.WriteStartElement( XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.RsaKeyValue, NamespaceUri ); 209writer.WriteStartElement( XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.Modulus, NamespaceUri ); 212writer.WriteStartElement( XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.Exponent, NamespaceUri ); 299writer.WriteStartElement( XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Data, NamespaceUri ); 301writer.WriteStartElement( XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Certificate, NamespaceUri ); 312writer.WriteStartElement( XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Data, XD.XmlSignatureDictionary.Namespace ); 313writer.WriteStartElement( XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509IssuerSerial, XD.XmlSignatureDictionary.Namespace ); 314writer.WriteElementString( XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509IssuerName, XD.XmlSignatureDictionary.Namespace, issuerSerialClause.IssuerName ); 315writer.WriteElementString( XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509SerialNumber, XD.XmlSignatureDictionary.Namespace, issuerSerialClause.IssuerSerialNumber );
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);
System\IdentityModel\XmlHelper.cs (3)
57OnRequiredAttributeMissing(attributeName.Value, null); 97return GetAttributeAsUniqueId(reader, localName.Value, (ns != null ? ns.Value : null));
System\ServiceModel\Security\BinarySecretKeyIdentifierClause.cs (1)
27: base(XD.TrustFeb2005Dictionary.BinarySecretClauseType.Value, key, cloneBuffer, derivationNonce, derivationLength)
System\ServiceModel\Security\EncryptedType.cs (3)
419SR.GetString(SR.RequiredAttributeMissing, XD.XmlSignatureDictionary.Algorithm.Value, ElementName.Value))); 445if (this.algorithm == XD.SecurityAlgorithmDictionary.RsaOaepKeyWrap.Value)
System\ServiceModel\Security\ReferenceList.cs (1)
132writer.WriteStartElement(XD.XmlEncryptionDictionary.Prefix.Value, ElementName, NamespaceUri);
System.Runtime.Serialization (203)
System\Runtime\Serialization\ClassDataContract.cs (2)
348if (ns.Length > 0 && ns != dataContract.Namespace.Value) 779this.StableName = new XmlQualifiedName(GetStableNameAndSetHasDataContract(type).Name, ns.Value);
System\Runtime\Serialization\CodeExporter.cs (4)
1299(xmlDataContract.TopLevelElementName != null && xmlDataContract.TopLevelElementName.Value != xmlDataContract.StableName.Name) || 1300(xmlDataContract.TopLevelElementNamespace != null && xmlDataContract.TopLevelElementNamespace.Value != xmlDataContract.StableName.Namespace); 1308xmlRootAttribute.Arguments.Add(new CodeAttributeArgument("ElementName", new CodePrimitiveExpression(xmlDataContract.TopLevelElementName.Value))); 1312xmlRootAttribute.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(xmlDataContract.TopLevelElementNamespace.Value)));
System\Runtime\Serialization\DataContract.cs (54)
881if (ns == DictionaryGlobals.SchemaNamespace.Value) 883if (DictionaryGlobals.BooleanLocalName.Value == name) 885else if (DictionaryGlobals.SignedByteLocalName.Value == name) 887else if (DictionaryGlobals.UnsignedByteLocalName.Value == name) 889else if (DictionaryGlobals.ShortLocalName.Value == name) 891else if (DictionaryGlobals.UnsignedShortLocalName.Value == name) 893else if (DictionaryGlobals.IntLocalName.Value == name) 895else if (DictionaryGlobals.UnsignedIntLocalName.Value == name) 897else if (DictionaryGlobals.LongLocalName.Value == name) 899else if (DictionaryGlobals.integerLocalName.Value == name) 901else if (DictionaryGlobals.positiveIntegerLocalName.Value == name) 903else if (DictionaryGlobals.negativeIntegerLocalName.Value == name) 905else if (DictionaryGlobals.nonPositiveIntegerLocalName.Value == name) 907else if (DictionaryGlobals.nonNegativeIntegerLocalName.Value == name) 909else if (DictionaryGlobals.UnsignedLongLocalName.Value == name) 911else if (DictionaryGlobals.FloatLocalName.Value == name) 913else if (DictionaryGlobals.DoubleLocalName.Value == name) 915else if (DictionaryGlobals.DecimalLocalName.Value == name) 917else if (DictionaryGlobals.DateTimeLocalName.Value == name) 919else if (DictionaryGlobals.StringLocalName.Value == name) 921else if (DictionaryGlobals.timeLocalName.Value == name) 923else if (DictionaryGlobals.dateLocalName.Value == name) 925else if (DictionaryGlobals.hexBinaryLocalName.Value == name) 927else if (DictionaryGlobals.gYearMonthLocalName.Value == name) 929else if (DictionaryGlobals.gYearLocalName.Value == name) 931else if (DictionaryGlobals.gMonthDayLocalName.Value == name) 933else if (DictionaryGlobals.gDayLocalName.Value == name) 935else if (DictionaryGlobals.gMonthLocalName.Value == name) 937else if (DictionaryGlobals.normalizedStringLocalName.Value == name) 939else if (DictionaryGlobals.tokenLocalName.Value == name) 941else if (DictionaryGlobals.languageLocalName.Value == name) 943else if (DictionaryGlobals.NameLocalName.Value == name) 945else if (DictionaryGlobals.NCNameLocalName.Value == name) 947else if (DictionaryGlobals.XSDIDLocalName.Value == name) 949else if (DictionaryGlobals.IDREFLocalName.Value == name) 951else if (DictionaryGlobals.IDREFSLocalName.Value == name) 953else if (DictionaryGlobals.ENTITYLocalName.Value == name) 955else if (DictionaryGlobals.ENTITIESLocalName.Value == name) 957else if (DictionaryGlobals.NMTOKENLocalName.Value == name) 959else if (DictionaryGlobals.NMTOKENSLocalName.Value == name) 961else if (DictionaryGlobals.ByteArrayLocalName.Value == name) 963else if (DictionaryGlobals.ObjectLocalName.Value == name) 965else if (DictionaryGlobals.TimeSpanLocalName.Value == name) 967else if (DictionaryGlobals.UriLocalName.Value == name) 969else if (DictionaryGlobals.QNameLocalName.Value == name) 972else if (ns == DictionaryGlobals.SerializationNamespace.Value) 974if (DictionaryGlobals.TimeSpanLocalName.Value == name) 976else if (DictionaryGlobals.GuidLocalName.Value == name) 978else if (DictionaryGlobals.CharLocalName.Value == name) 983else if (ns == DictionaryGlobals.AsmxTypesNamespace.Value) 985if (DictionaryGlobals.CharLocalName.Value == name) 987else if (DictionaryGlobals.GuidLocalName.Value == name) 1266this.StableName = CreateQualifiedName(name.Value, ns.Value);
System\Runtime\Serialization\EnumDataContract.cs (4)
341writer.WriteString(ChildElementNames[i].Value); 364writer.WriteString(DictionaryGlobals.Space.Value); 366writer.WriteString(ChildElementNames[i].Value); 375writer.WriteString(ChildElementNames[zeroIndex].Value);
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (5)
339return (jsonName == null) ? false : CheckIfJsonNameRequiresMapping(jsonName.Value); 349return (xmlName == null) ? false : CheckIfXmlNameRequiresMapping(xmlName.Value); 359return (xmlName == null) ? null : new XmlDictionary().Add(ConvertXmlNameToJsonName(xmlName.Value)); 404return IsJsonLocalName(reader, RootName.Value); 505writer.WriteAttributeString(null, JsonGlobals.itemString, null, RootName.Value);
System\Runtime\Serialization\Json\JsonClassDataContract.cs (7)
135this.typeName = string.IsNullOrEmpty(traditionalDataContract.Namespace.Value) ? traditionalDataContract.Name.Value : string.Concat(traditionalDataContract.Name.Value, JsonGlobals.NameValueSeparatorString, XmlObjectSerializerWriteContextComplexJson.TruncateDefaultDataContractNamespace(traditionalDataContract.Namespace.Value)); 171if (memberTable.ContainsKey(traditionalClassDataContract.MemberNames[i].Value)) 174DataContract.GetClrTypeFullName(traditionalClassDataContract.UnderlyingType), traditionalClassDataContract.MemberNames[i].Value))); 178memberTable.Add(traditionalClassDataContract.MemberNames[i].Value, null);
System\Runtime\Serialization\Json\JsonDataContract.cs (4)
167this.typeName = string.IsNullOrEmpty(traditionalDataContract.Namespace.Value) ? traditionalDataContract.Name.Value : string.Concat(traditionalDataContract.Name.Value, JsonGlobals.NameValueSeparatorString, XmlObjectSerializerWriteContextComplexJson.TruncateDefaultDataContractNamespace(traditionalDataContract.Namespace.Value));
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
204if (memberNames[index].Value == name)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (7)
120(contract.Name.Value == declaredContract.Name.Value && 121contract.Namespace.Value == declaredContract.Namespace.Value)) && 135WriteTypeInfo(writer, contract.Name.Value, contract.Namespace.Value); 225xmlWriter.WriteAttributeString(null, JsonGlobals.itemString, null, memberNames[index].Value);
System\Runtime\Serialization\PrimitiveDataContract.cs (2)
860else if (ns != null && ns.Value != null && ns.Value.Length > 0)
System\Runtime\Serialization\SchemaExporter.cs (5)
114if (schema == null || dataContract.StableName.Namespace != dataContract.TopLevelElementNamespace.Value) 115schema = GetSchema(dataContract.TopLevelElementNamespace.Value); 118topLevelElement.Name = dataContract.TopLevelElementName.Value; 518new XmlQualifiedName(dataContract.TopLevelElementName.Value, dataContract.TopLevelElementNamespace.Value),
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
755return type == Globals.TypeOfXmlQualifiedName && (ns != null && ns.Value != null && ns.Value.Length > 0);
System\Runtime\Serialization\XmlObjectSerializer.cs (4)
240|| (contract.Name.Value == declaredContract.Name.Value && contract.Namespace.Value == declaredContract.Namespace.Value);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (3)
290stringBuilder.Append(memberNames[i].Value); 514throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(SR.GetString(SR.ArrayExceededSizeAttribute, arraySize, itemName.Value, itemNamespace.Value)));
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
352if (ns != null && ns.Value != null && ns.Value.Length > 0)
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (2)
227if (ns != null && ns.Value != null && ns.Value.Length > 0)
System\Runtime\Serialization\XmlReaderDelegator.cs (8)
89return ns.Value == reader.NamespaceURI; 97return localName.Value == reader.LocalName; 107if (reader.NamespaceURI == ns.Value) 112if (localName == localNames[i].Value) 135return !isEndOfEmptyElement && reader.IsStartElement(localname.Value, ns.Value); 844throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(SR.GetString(SR.ArrayExceededSizeAttribute, expectedLength, itemName.Value, itemNamespace.Value)));
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); 241writer.WriteStartElement(prefix, (localName == null ? null : localName.Value), (namespaceUri == null ? null : namespaceUri.Value)); 251writer.WriteStartElement(null, (localName == null ? null : localName.Value), (namespaceUri == null ? null : namespaceUri.Value)); 671writer.WriteQualifiedName(localName.Value, ns.Value);
System\Runtime\Serialization\XPathQueryGenerator.cs (3)
68string prefix = context.SetNamespace(contract.Namespace.Value); 107string prefix = SetNamespace(rootContract.TopLevelElementNamespace.Value); 108this.xPathBuilder = new StringBuilder(XPathQueryGenerator.XPathSeparator + prefix + XPathQueryGenerator.NsSeparator + rootContract.TopLevelElementName.Value);
System\Runtime\Serialization\XsdDataContractExporter.cs (2)
223return new XmlQualifiedName(dataContract.TopLevelElementName.Value, dataContract.TopLevelElementNamespace.Value);
System\Xml\PrefixHandle.cs (1)
202return Equals2(prefix2.Value);
System\Xml\StringHandle.cs (7)
111return nameTable.Add(bufferReader.GetDictionaryString(key).Value); 124return bufferReader.GetDictionaryString(key).Value; 192return bufferReader.Equals2(this.offset, this.length, bufferReader2.GetDictionaryString(key2).Value); 194return GetString() == bufferReader.GetDictionaryString(key2).Value; 205return GetString() == xmlString2.Value; 212return bufferReader.GetDictionaryString(this.key).Value == s2; 223return bufferReader2.Equals2(offset2, length2, bufferReader.GetDictionaryString(this.key).Value);
System\Xml\ValueHandle.cs (1)
522return GetDictionaryString().Value;
System\Xml\XmlBaseReader.cs (4)
2372return ns.Value == xmlnsNamespace; 2398return this.Namespace.Prefix == localName && ns.Value == xmlnsNamespace; 3219if (object.ReferenceEquals(s.Value, uriString)) 3223uriString = s.Value;
System\Xml\XmlBaseWriter.cs (13)
191prefix = nsMgr.LookupPrefix(ns.Value); 194GeneratePrefix(ns.Value, ns); 199nsMgr.AddNamespaceIfNotDeclared(prefix, ns.Value, ns); 309StartAttribute(ref prefix, (localName != null ? localName.Value : null), (namespaceUri != null ? namespaceUri.Value : null), namespaceUri); 491StartElement(ref prefix, (localName != null ? localName.Value : null), (namespaceUri != null ? namespaceUri.Value : null), namespaceUri); 699if (localName.Value.Length == 0) 703string prefix = GetQualifiedNamePrefix(namespaceUri.Value, namespaceUri); 707WriteAttributeText(string.Concat(prefix, ":", namespaceUri.Value)); 865if (value.Value.Length > 0) 870WriteAttributeText(value.Value); 874StartContent(value.Value);
System\Xml\XmlBinaryReader.cs (1)
119value = BufferReader.GetDictionaryString(ReadDictionaryKey()).Value;
System\Xml\XmlBinaryReaderSession.cs (2)
84if (s != null && s.Value == value) 96if (s.Value == value)
System\Xml\XmlBinaryWriter.cs (6)
182WriteStartElement(prefix, localName.Value); 273WriteStartAttribute(prefix, localName.Value); 332WriteXmlnsAttribute(prefix, ns.Value); 606WriteText(value.Value); 1004captureText = captureXText.Value; 1022WriteText(s.Value);
System\Xml\XmlBinaryWriterSession.cs (3)
43key = Add(value.Value); 48key = Add(value.Value); 88if (strings.TryGetValue(s.Value, out key))
System\Xml\XmlBufferReader.cs (5)
874string s = GetDictionaryString(key).Value; 912return GetDictionaryString(key1).Value == bufferReader2.GetDictionaryString(key2).Value; 920return GetDictionaryString(key1).Value == xmlString2.Value;
System\Xml\XmlDictionaryReader.cs (6)
252return IsLocalName(localName.Value); 266return IsNamespaceUri(namespaceUri.Value); 346if (this.NamespaceURI == namespaceUri.Value) 354if (localName == value.Value) 671if (value.Value == s) 674return value.Value;
System\Xml\XmlDictionaryString.cs (1)
40return s.Value;
System\Xml\XmlDictionaryWriter.cs (2)
200WriteQualifiedName(localName.Value, namespaceUri.Value);
System\Xml\XmlMtomWriter.cs (6)
203ThrowIfElementIsXOPInclude(prefix, localName.Value, ns == null ? null : ns.Value); 711CheckIfStartContentTypeAttribute(localName.Value, ns.Value); 745if (depth == 0 && mimeWriter.WriteState == MimeWriterState.Closed && XmlConverter.IsWhitespace(value.Value)) 838if (depth == 0 && mimeWriter.WriteState == MimeWriterState.Closed && XmlConverter.IsWhitespace(value.Value))
System\Xml\XmlSigningNodeWriter.cs (6)
98signingWriter.WriteStartElement(prefix, localName.Value); 129signingWriter.WriteXmlnsAttribute(prefix, ns.Value); 148signingWriter.WriteStartAttribute(prefix, localName.Value); 178signingWriter.WriteEscapedText(value.Value); 208signingWriter.WriteText(value.Value); 385signingWriter.WriteText(localName.Value);
System\Xml\XmlUTF8TextWriter.cs (5)
248WriteStartElement(prefix, localName.Value); 327WriteXmlnsAttribute(prefix, ns.Value); 358WriteStartAttribute(prefix, localName.Value); 416WriteEscapedText(s.Value); 529WriteUTF8Chars(value.Value);
System.ServiceModel (429)
System\ServiceModel\Channels\AddressHeader.cs (2)
303: base(name.Value, ns.Value, value, DataContractSerializerDefaults.CreateSerializer(GetObjectType(value), name, ns, int.MaxValue/*maxItems*/))
System\ServiceModel\Channels\Addressing.cs (1)
121: base(dictionaryAction.Value, version)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (5)
487int utf8ValueSize = Encoding.UTF8.GetByteCount(newStrings[i].Value); 517string newString = newStrings[i].Value; 801this.readerSessionForLogging.Add(this.writeIdCounter++, xmlDictionaryString.Value); 1022int bytesRequired = Encoding.UTF8.GetByteCount(s.Value); 1547toHeader = ToHeader.Create(new Uri(toString.Value), messageVersion.Addressing);
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (2)
123XmlQualifiedName refPropHeaderName = new XmlQualifiedName(XD.UtilityDictionary.UniqueEndpointHeaderName.Value, 124XD.UtilityDictionary.UniqueEndpointHeaderNamespace.Value);
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 (2)
236if (message.Headers[i].Name == XD.UtilityDictionary.UniqueEndpointHeaderName.Value && 237message.Headers[i].Namespace == XD.UtilityDictionary.UniqueEndpointHeaderNamespace.Value)
System\ServiceModel\Channels\Message.cs (4)
437writer.WriteStartElement(messageDictionary.Prefix.Value, messageDictionary.Body, Version.Envelope.DictionaryNamespace); 483writer.WriteStartElement(messageDictionary.Prefix.Value, messageDictionary.Envelope, envelopeVersion.DictionaryNamespace); 494writer.WriteStartElement(messageDictionary.Prefix.Value, messageDictionary.Header, envelopeVersion.DictionaryNamespace); 776string prefixString = prefix.Value;
System\ServiceModel\Channels\MessageFault.cs (3)
629&& attributeValue == XD.Message12Dictionary.Namespace.Value; 720string text = reader.ReadElementContentAsString(XD.Message11Dictionary.FaultString.Value, XD.Message11Dictionary.FaultNamespace.Value);
System\ServiceModel\Channels\MessageHeader.cs (2)
282get { return DictionaryName.Value; } 287get { return DictionaryNamespace.Value; }
System\ServiceModel\Channels\PeerHelpers.cs (1)
947this.value = value.Value;
System\ServiceModel\Channels\SecurityChannelListener.cs (1)
674this.secureConversationCloseAction = this.SecurityProtocol.SecurityProtocolFactory.StandardsManager.SecureConversationDriver.CloseAction.Value;
System\ServiceModel\Channels\ServiceChannel.cs (2)
1128if (string.Compare(code.Namespace, SecurityVersion.Default.HeaderNamespace.Value, StringComparison.Ordinal) == 0) 1130if (string.Compare(code.Name, SecurityVersion.Default.FailedAuthenticationFaultCode.Value, StringComparison.Ordinal) == 0)
System\ServiceModel\Channels\TransportOutputChannel.cs (1)
140if (value == to.Value)
System\ServiceModel\Description\ServiceAuthenticationBehavior.cs (1)
150behavior.ServiceAuthenticationManager = new ServiceAuthenticationManagerWrapper(this.serviceAuthenticationManager, new string[] { standardsManager.SecureConversationDriver.CloseAction.Value });
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (3)
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\AuthenticationBehavior.cs (2)
152FaultCode faultCode = FaultCode.CreateSenderFaultCode(wss.InvalidSecurityFaultCode.Value, wss.HeaderNamespace.Value);
System\ServiceModel\Dispatcher\AuthorizationBehavior.cs (2)
164FaultCode faultCode = FaultCode.CreateSenderFaultCode(wss.FailedAuthenticationFaultCode.Value, wss.HeaderNamespace.Value);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (2)
501: base(headerPart.DictionaryName.Value, headerPart.DictionaryNamespace.Value, headerValue, headerPart.Serializer, mustUnderstand, actor ?? string.Empty, relay)
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (2)
94else if (reader.LocalName == XD.UtilityDictionary.IdAttribute.Value && reader.NamespaceURI == XD.UtilityDictionary.Namespace.Value)
System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
66return action.Value; 75return replyAction.Value;
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (2)
601reader.MoveToAttribute(xsiNilLocalName.Value, xsiNilNamespace.Value) &&
System\ServiceModel\EndpointAddress.cs (9)
713throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SR.GetString(SR.UnexpectedDuplicateElement, XD.AddressingDictionary.Identity.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value))); 761throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SR.GetString(SR.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing200408Dictionary.Namespace.Value))); 900throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, AddressingVersion.WSAddressingAugust2004.Namespace))); 913throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SR.GetString(SR.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value))); 968throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value)));
System\ServiceModel\EndpointIdentity.cs (2)
203throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.Identity.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value)));
System\ServiceModel\RsaEndpointIdentity.cs (8)
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\AcceleratedTokenAuthenticator.cs (1)
312if (message.Headers.Action == this.authenticator.RequestSecurityTokenAction.Value)
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
270if (incomingMessage.Headers.Action != RequestSecurityTokenResponseAction.Value)
System\ServiceModel\Security\AcceptorSessionSymmetricMessageSecurityProtocol.cs (1)
192securityHeader.EnforceDerivedKeyRequirement = (message.Headers.Action != factory.StandardsManager.SecureConversationDriver.CloseAction.Value);
System\ServiceModel\Security\AcceptorSessionSymmetricTransportSecurityProtocol.cs (1)
108securityHeader.EnforceDerivedKeyRequirement = (message.Headers.Action != this.Factory.StandardsManager.SecureConversationDriver.CloseAction.Value);
System\ServiceModel\Security\BinaryNegotiation.cs (2)
46this.valueTypeUri = valueTypeDictionaryString.Value; 52if (this.valueTypeUri != valueTypeUriDictionaryString.Value)
System\ServiceModel\Security\EncryptedHeaderXml.cs (1)
178writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id);
System\ServiceModel\Security\InitiatorSessionSymmetricMessageSecurityProtocol.cs (1)
246securityHeader.EnforceDerivedKeyRequirement = (message.Headers.Action != factory.StandardsManager.SecureConversationDriver.CloseResponseAction.Value);
System\ServiceModel\Security\MessageSecurityProtocolFactory.cs (2)
222FaultCode subCode = new FaultCode(wss.InvalidSecurityFaultCode.Value, wss.HeaderNamespace.Value);
System\ServiceModel\Security\MessageSecurityTokenVersion.cs (18)
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, 61DXD.TrustDec2005Dictionary.Namespace.Value, 62DXD.SecureConversationDec2005Dictionary.Namespace.Value 70XD.SecurityJan2004Dictionary.Namespace.Value, 71DXD.TrustDec2005Dictionary.Namespace.Value, 72DXD.SecureConversationDec2005Dictionary.Namespace.Value 80XD.SecurityXXX2005Dictionary.Namespace.Value, 81DXD.TrustDec2005Dictionary.Namespace.Value, 82DXD.SecureConversationDec2005Dictionary.Namespace.Value
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (2)
570if (message.Headers.Action == this.RequestSecurityTokenAction.Value) 580else if (message.Headers.Action == this.RequestSecurityTokenResponseAction.Value)
System\ServiceModel\Security\NegotiationTokenProvider.cs (2)
129ClientOperation rstOperation = new ClientOperation(serviceChannelFactory.ClientRuntime, "RequestSecurityToken", this.RequestSecurityTokenAction.Value); 135ClientOperation rstrOperation = new ClientOperation(serviceChannelFactory.ClientRuntime, "RequestSecurityTokenResponse", this.RequestSecurityTokenResponseAction.Value);
System\ServiceModel\Security\ReceiveSecurityHeader.cs (2)
381get { return this.StandardsManager.SecurityVersion.HeaderName.Value; } 386get { return this.StandardsManager.SecurityVersion.HeaderNamespace.Value; }
System\ServiceModel\Security\ScopedMessagePartSpecification.cs (1)
105AddParts(parts, action.Value);
System\ServiceModel\Security\SecurityAlgorithmSuite.cs (28)
537public override string DefaultCanonicalizationAlgorithm { get { return DefaultCanonicalizationAlgorithmDictionaryString.Value; } } 538public override string DefaultDigestAlgorithm { get { return DefaultDigestAlgorithmDictionaryString.Value; } } 539public override string DefaultEncryptionAlgorithm { get { return DefaultEncryptionAlgorithmDictionaryString.Value; } } 541public override string DefaultSymmetricKeyWrapAlgorithm { get { return DefaultSymmetricKeyWrapAlgorithmDictionaryString.Value; } } 542public override string DefaultAsymmetricKeyWrapAlgorithm { get { return DefaultAsymmetricKeyWrapAlgorithmDictionaryString.Value; } } 543public override string DefaultSymmetricSignatureAlgorithm { get { return DefaultSymmetricSignatureAlgorithmDictionaryString.Value; } } 544public override string DefaultAsymmetricSignatureAlgorithm { get { return DefaultAsymmetricSignatureAlgorithmDictionaryString.Value; } } 568public override string DefaultCanonicalizationAlgorithm { get { return DefaultCanonicalizationAlgorithmDictionaryString.Value; } } 569public override string DefaultDigestAlgorithm { get { return DefaultDigestAlgorithmDictionaryString.Value; } } 570public override string DefaultEncryptionAlgorithm { get { return DefaultEncryptionAlgorithmDictionaryString.Value; } } 572public override string DefaultSymmetricKeyWrapAlgorithm { get { return DefaultSymmetricKeyWrapAlgorithmDictionaryString.Value; } } 573public override string DefaultAsymmetricKeyWrapAlgorithm { get { return DefaultAsymmetricKeyWrapAlgorithmDictionaryString.Value; } } 574public override string DefaultSymmetricSignatureAlgorithm { get { return DefaultSymmetricSignatureAlgorithmDictionaryString.Value; } } 575public override string DefaultAsymmetricSignatureAlgorithm { get { return DefaultAsymmetricSignatureAlgorithmDictionaryString.Value; } } 599public override string DefaultCanonicalizationAlgorithm { get { return this.DefaultCanonicalizationAlgorithmDictionaryString.Value; } } 600public override string DefaultDigestAlgorithm { get { return this.DefaultDigestAlgorithmDictionaryString.Value; } } 601public override string DefaultEncryptionAlgorithm { get { return this.DefaultEncryptionAlgorithmDictionaryString.Value; } } 603public override string DefaultSymmetricKeyWrapAlgorithm { get { return this.DefaultSymmetricKeyWrapAlgorithmDictionaryString.Value; } } 604public override string DefaultAsymmetricKeyWrapAlgorithm { get { return this.DefaultAsymmetricKeyWrapAlgorithmDictionaryString.Value; } } 605public override string DefaultSymmetricSignatureAlgorithm { get { return this.DefaultSymmetricSignatureAlgorithmDictionaryString.Value; } } 606public override string DefaultAsymmetricSignatureAlgorithm { get { return this.DefaultAsymmetricSignatureAlgorithmDictionaryString.Value; } } 630public override string DefaultCanonicalizationAlgorithm { get { return DefaultCanonicalizationAlgorithmDictionaryString.Value; } } 631public override string DefaultDigestAlgorithm { get { return DefaultDigestAlgorithmDictionaryString.Value; } } 632public override string DefaultEncryptionAlgorithm { get { return DefaultEncryptionAlgorithmDictionaryString.Value; } } 634public override string DefaultSymmetricKeyWrapAlgorithm { get { return DefaultSymmetricKeyWrapAlgorithmDictionaryString.Value; } } 635public override string DefaultAsymmetricKeyWrapAlgorithm { get { return this.DefaultAsymmetricKeyWrapAlgorithmDictionaryString.Value; } } 637public override string DefaultSymmetricSignatureAlgorithm { get { return DefaultSymmetricSignatureAlgorithmDictionaryString.Value; } } 638public override string DefaultAsymmetricSignatureAlgorithm { get { return DefaultAsymmetricSignatureAlgorithmDictionaryString.Value; } }
System\ServiceModel\Security\SecuritySessionClientSettings.cs (5)
899if (subCode.Namespace == scDriver.Namespace.Value && subCode.Name == scDriver.RenewNeededFaultCode.Value) 934if (response.Headers.Action != this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseResponseAction.Value) 1064if (action == this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseResponseAction.Value) 1070else if (action == this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseAction.Value)
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (6)
1018if (request.Headers.Action == this.IssueAction.Value) 1023else if (request.Headers.Action == this.RenewAction.Value) 1059supportedMessageActions.Add(this.IssueAction.Value); 1060supportedMessageActions.Add(this.RenewAction.Value); 1070supportedMessageActions.Remove(this.RenewAction.Value); 1125bootstrapSecurityProtocolFactory.SecurityBindingElement.OperationSupportingTokenParameters.Add(this.RenewAction.Value, renewSupportingTokenParameters);
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (5)
406MessageFilter issueAndRenewFilter = new SessionActionFilter(this.standardsManager, this.IssueResponseAction.Value, this.RenewResponseAction.Value); 426ClientOperation issueOperation = new ClientOperation(serviceChannelFactory.ClientRuntime, "Issue", IssueAction.Value); 430ClientOperation renewOperation = new ClientOperation(serviceChannelFactory.ClientRuntime, "Renew", RenewAction.Value); 785if (response.Headers.Action != this.RenewResponseAction.Value)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (7)
740MessageFilter sctFilter = new SecuritySessionFilter(sessionToken.ContextId, this.sessionProtocolFactory.StandardsManager, (this.sessionProtocolFactory.SecurityHeaderLayout == SecurityHeaderLayout.Strict), this.SecurityStandardsManager.SecureConversationDriver.RenewAction.Value, this.SecurityStandardsManager.SecureConversationDriver.RenewResponseAction.Value); 1401message.Headers.Action != this.settings.SecurityStandardsManager.SecureConversationDriver.CloseAction.Value) 1774if (message.Headers.Action == this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseAction.Value) 1782else if (message.Headers.Action == this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseResponseAction.Value) 1876renewFaultCode = FaultCode.CreateSenderFaultCode(scDriver.RenewNeededFaultCode.Value, scDriver.Namespace.Value);
System\ServiceModel\Security\SecurityUtils.cs (11)
1283return (subCode.Namespace == standardsManager.SecurityVersion.HeaderNamespace.Value 1284|| subCode.Namespace == standardsManager.SecureConversationDriver.Namespace.Value 1285|| subCode.Namespace == standardsManager.TrustDriver.Namespace.Value 1307FaultCode subCode = new FaultCode(scDriver.BadContextTokenFaultCode.Value, scDriver.Namespace.Value); 1370subCode = new FaultCode(wss.FailedAuthenticationFaultCode.Value, wss.HeaderNamespace.Value); 1375subCode = new FaultCode(wss.InvalidSecurityTokenFaultCode.Value, wss.HeaderNamespace.Value); 1385subCode = new FaultCode(wss.InvalidSecurityFaultCode.Value, wss.HeaderNamespace.Value);
System\ServiceModel\Security\SecurityVersion.cs (11)
100return message.Headers.FindHeader(this.HeaderName.Value, this.HeaderNamespace.Value) >= 0; 105return message.Headers.FindHeader(this.HeaderName.Value, this.HeaderNamespace.Value, actors); 127int headerIndex = message.Headers.FindHeader(this.HeaderName.Value, this.HeaderNamespace.Value, actor); 130headerIndex = message.Headers.FindHeader(this.HeaderName.Value, this.HeaderNamespace.Value, message.Version.Envelope.UltimateDestinationActorValues); 152writer.WriteStartElement(this.HeaderPrefix.Value, this.HeaderName, this.HeaderNamespace); 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);
System\ServiceModel\Security\SendSecurityHeader.cs (2)
157get { return this.StandardsManager.SecurityVersion.HeaderName.Value; } 162get { return this.StandardsManager.SecurityVersion.HeaderNamespace.Value; }
System\ServiceModel\Security\SspiNegotiationTokenAuthenticator.cs (2)
394if (message.Headers.Action == authenticator.RequestSecurityTokenAction.Value 395|| message.Headers.Action == authenticator.RequestSecurityTokenResponseAction.Value)
System\ServiceModel\Security\TlsnegoTokenAuthenticator.cs (2)
160incomingNego.ValueTypeUri != this.NegotiationValueType.Value && 186this.NegotiationValueType.Value != incomingValueTypeUri)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (4)
886if ((requestParameter.LocalName == ((System.ServiceModel.Security.WSTrust.Driver)standardsManager.TrustDriver).DriverDictionary.Claims.Value) && 887(requestParameter.NamespaceURI == ((System.ServiceModel.Security.WSTrust.Driver)standardsManager.TrustDriver).DriverDictionary.Namespace.Value)) 892if ((requestParameter.LocalName == DXD.TrustDec2005Dictionary.SecondaryParameters.Value) && 893(requestParameter.NamespaceURI == DXD.TrustDec2005Dictionary.Namespace.Value))
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (2)
955if ((this.StandardsManager.MessageSecurityVersion.TrustVersion == TrustVersion.WSTrustFeb2005 && incomingMessage.Headers.Action != this.StandardsManager.TrustDriver.RequestSecurityTokenResponseAction.Value) || 956(this.StandardsManager.MessageSecurityVersion.TrustVersion == TrustVersion.WSTrust13 && incomingMessage.Headers.Action != this.StandardsManager.TrustDriver.RequestSecurityTokenResponseFinalAction.Value) ||
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenHelper.cs (1)
85return new SessionSecurityToken(claimsPrincipal, sct.ContextId, sct.Id, String.Empty, sct.GetKeyBytes(), endpointId, sct.ValidFrom, sct.ValidTo, sct.KeyGeneration, sct.KeyEffectiveTime, sct.KeyExpirationTime, sctAuthPolicy, new Uri(version.Namespace.Value));
System\ServiceModel\Security\WsKeyInfoSerializer.cs (1)
177writer.WriteStartElement( XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.Reference, XD.SecurityJan2004Dictionary.Namespace );
System\ServiceModel\Security\WSSecureConversation.cs (10)
98public override string TokenTypeUri { get { return parent.SerializerDictionary.DerivedKeyTokenType.Value; } } 257string serializerPrefix = parent.SerializerDictionary.Prefix.Value; 262writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, derivedKeyToken.Id); 333public override string TokenTypeUri { get { return parent.SerializerDictionary.SecurityContextTokenType.Value; } } 354if (element.LocalName == parent.SerializerDictionary.Identifier.Value && element.NamespaceURI == parent.SerializerDictionary.Namespace.Value) 494writer.WriteStartElement(parent.SerializerDictionary.Prefix.Value, parent.SerializerDictionary.SecurityContextToken, parent.SerializerDictionary.Namespace); 497writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, sct.Id); 501writer.WriteStartElement(parent.SerializerDictionary.Prefix.Value, parent.SerializerDictionary.Identifier, parent.SerializerDictionary.Namespace); 516writer.WriteStartElement(XD.DotNetSecurityDictionary.Prefix.Value, parent.SerializerDictionary.Cookie, XD.DotNetSecurityDictionary.Namespace);
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; }
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; }
System\ServiceModel\Security\WSSecurityJan2004.cs (8)
180writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, ElementName, XD.SecurityJan2004Dictionary.Namespace); 183writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id); 409writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.UserNameTokenElement, 411writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, 413writer.WriteElementString(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.UserNameElement, 417writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.PasswordElement, 508throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.CantInferReferenceForToken, EncryptedKey.ElementName.Value))); 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\WSSecurityOneDotOneSendSecurityHeader.cs (2)
67return new EncryptedHeader(plainTextHeader, encryptedHeaderXml, EncryptedHeaderXml.ElementName.Value, EncryptedHeaderXml.NamespaceUri.Value, version);
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (3)
374this.SecurityVerifiedMessage.OnUnsignedPart(XD.MessageDictionary.Body.Value, this.Version.Envelope.Namespace); 379this.SecurityVerifiedMessage.OnUnencryptedPart(XD.MessageDictionary.Body.Value, this.Version.Envelope.Namespace); 609int headerIndex = this.Message.Headers.FindHeader(XD.AddressingDictionary.To.Value, this.Message.Version.Addressing.Namespace);
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (4)
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\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))) &&
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (5)
540return element.LocalName == LocalName.Value && element.NamespaceURI == NamespaceUri.Value && valueTypeUri == this.ValueTypeUri; 585if (this.dictionaryStrings[i].Value.Equals(value)) 617(this.dictionaryStrings[i].Value.Equals(value.Value)))
System\ServiceModel\Security\WsSecurityTokenSerializerAdapter.cs (1)
216if ( sessionToken.SecureConversationVersion.AbsoluteUri != _scVersion.Namespace.Value )
System\ServiceModel\Security\WSTrust.cs (139)
103return element.LocalName == LocalName.Value && (element.NamespaceURI == NamespaceUri.Value || element.NamespaceURI == this.otherDictionary.Namespace.Value) && valueTypeUri == this.ValueTypeUri; 138if (secretType == parent.SerializerDictionary.NonceBinarySecret.Value || secretType == otherDictionary.NonceBinarySecret.Value) 142else if (secretType != parent.SerializerDictionary.SymmetricKeyBinarySecret.Value && secretType != otherDictionary.SymmetricKeyBinarySecret.Value) 144throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.UnexpectedBinarySecretType, parent.SerializerDictionary.SymmetricKeyBinarySecret.Value, secretType))); 163writer.WriteStartElement(parent.SerializerDictionary.Prefix.Value, parent.SerializerDictionary.BinarySecret, parent.SerializerDictionary.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); 218return DriverDictionary.RequestTypeIssue.Value; 224get { return DriverDictionary.Psha1ComputedKeyUri.Value; } 255if (attr.LocalName == DriverDictionary.Context.Value) 265if (child.LocalName == DriverDictionary.TokenType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 267else if (child.LocalName == DriverDictionary.RequestType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 269else if (child.LocalName == DriverDictionary.KeySize.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 320XmlHelper.OnRequiredElementMissing(DriverDictionary.RequestSecurityTokenResponse.Value, DriverDictionary.Namespace.Value); 350if (attr.LocalName == DriverDictionary.Context.Value) 361if (child.LocalName == DriverDictionary.TokenType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 363else if (child.LocalName == DriverDictionary.KeySize.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 365else if (child.LocalName == DriverDictionary.RequestedProofToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 368if (proofXml.LocalName == DriverDictionary.ComputedKey.Value && proofXml.NamespaceURI == DriverDictionary.Namespace.Value) 371if (computedKeyAlgorithm != this.DriverDictionary.Psha1ComputedKeyUri.Value) 378else if (child.LocalName == DriverDictionary.Lifetime.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 409while (reader.IsStartElement(DriverDictionary.RequestSecurityTokenResponse.Value, DriverDictionary.Namespace.Value)) 431if (elem.LocalName == DriverDictionary.AppliesTo.Value && elem.NamespaceURI == Namespaces.WSPolicy) 478return (localName == DriverDictionary.AppliesTo.Value && namespaceUri == Namespaces.WSPolicy); 522if (element.LocalName == DriverDictionary.Authenticator.Value && element.NamespaceURI == DriverDictionary.Namespace.Value) 525if (combinedHashElement.LocalName == DriverDictionary.CombinedHash.Value && combinedHashElement.NamespaceURI == DriverDictionary.Namespace.Value) 564if (elem.LocalName == DriverDictionary.BinaryExchange.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value) 600if (element.LocalName == DriverDictionary.Entropy.Value && element.NamespaceURI == DriverDictionary.Namespace.Value) 624if (elem.LocalName == DriverDictionary.RequestedSecurityToken.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value) 632else if (elem.LocalName == DriverDictionary.RequestedProofToken.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value) 818return reader.IsStartElement(DriverDictionary.RequestSecurityTokenResponse.Value, DriverDictionary.Namespace.Value); 826return reader.IsStartElement(DriverDictionary.RequestSecurityTokenResponseCollection.Value, DriverDictionary.Namespace.Value); 831return (name == DriverDictionary.RequestedSecurityToken.Value && nameSpace == DriverDictionary.Namespace.Value); 836return (name == DriverDictionary.RequestedProofToken.Value && nameSpace == DriverDictionary.Namespace.Value); 901if (child.LocalName == DriverDictionary.RequestedSecurityToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 905else if (child.LocalName == DriverDictionary.RequestedTokenReference.Value && child.NamespaceURI == DriverDictionary.Namespace.Value) 1007writer.WriteStartElement(Namespaces.WSPolicyPrefix, DriverDictionary.AppliesTo.Value, Namespaces.WSPolicy); 1021negotiation.WriteTo(writer, this.DriverDictionary.Prefix.Value, 1042writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestSecurityToken, DriverDictionary.Namespace); 1043XmlHelper.AddNamespaceDeclaration(writer, DriverDictionary.Prefix.Value, DriverDictionary.Namespace); 1050writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.TokenType, DriverDictionary.Namespace); 1056writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestType, DriverDictionary.Namespace); 1069writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.Entropy, DriverDictionary.Namespace); 1076writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.KeySize, DriverDictionary.Namespace); 1108writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestedTokenReference, DriverDictionary.Namespace); 1130writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestSecurityTokenResponse, DriverDictionary.Namespace); 1140writer.WriteElementString(DriverDictionary.Prefix.Value, DriverDictionary.TokenType, DriverDictionary.Namespace, rstr.TokenType); 1144writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestedSecurityToken, DriverDictionary.Namespace); 1158writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestedProofToken, DriverDictionary.Namespace); 1161writer.WriteElementString(DriverDictionary.Prefix.Value, DriverDictionary.ComputedKey, DriverDictionary.Namespace, DriverDictionary.Psha1ComputedKeyUri.Value); 1173writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.Entropy, DriverDictionary.Namespace); 1199writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.Lifetime, DriverDictionary.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); 1214writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.Authenticator, DriverDictionary.Namespace); 1215writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.CombinedHash, DriverDictionary.Namespace); 1223writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.KeySize, DriverDictionary.Namespace); 1244writer.WriteStartElement(DriverDictionary.Prefix.Value, DriverDictionary.RequestSecurityTokenResponseCollection, DriverDictionary.Namespace); 1278if (element.LocalName == this.DriverDictionary.KeySize.Value 1279&& element.NamespaceURI == this.DriverDictionary.Namespace.Value) 1296XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.KeySize.Value, 1297this.DriverDictionary.Namespace.Value); 1338return element.LocalName == this.DriverDictionary.KeyType.Value 1339&& element.NamespaceURI == this.DriverDictionary.Namespace.Value 1340&& element.InnerText == this.DriverDictionary.SymmetricKeyType.Value; 1346XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.KeyType.Value, 1347this.DriverDictionary.Namespace.Value); 1348result.AppendChild(doc.CreateTextNode(this.DriverDictionary.SymmetricKeyType.Value)); 1357return element.LocalName == this.DriverDictionary.KeyType.Value 1358&& element.NamespaceURI == this.DriverDictionary.Namespace.Value 1359&& element.InnerText == this.DriverDictionary.PublicKeyType.Value; 1365XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.KeyType.Value, 1366this.DriverDictionary.Namespace.Value); 1367result.AppendChild(doc.CreateTextNode(this.DriverDictionary.PublicKeyType.Value)); 1376if (element.LocalName == this.DriverDictionary.TokenType.Value 1377&& element.NamespaceURI == this.DriverDictionary.Namespace.Value) 1394XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.TokenType.Value, 1395this.DriverDictionary.Namespace.Value); 1411XmlElement result = doc.CreateElement(this.DriverDictionary.UseKey.Value, this.DriverDictionary.Namespace.Value); 1437XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.SignWith.Value, 1438this.DriverDictionary.Namespace.Value); 1445return CheckElement(element, this.DriverDictionary.SignWith.Value, this.DriverDictionary.Namespace.Value, out signatureAlgorithm); 1455XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.EncryptWith.Value, 1456this.DriverDictionary.Namespace.Value); 1468XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.EncryptionAlgorithm.Value, 1469this.DriverDictionary.Namespace.Value); 1476return CheckElement(element, this.DriverDictionary.EncryptWith.Value, this.DriverDictionary.Namespace.Value, out encryptWithAlgorithm); 1481return CheckElement(element, this.DriverDictionary.EncryptionAlgorithm.Value, this.DriverDictionary.Namespace.Value, out encryptionAlgorithm); 1491XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.ComputedKeyAlgorithm.Value, 1492this.DriverDictionary.Namespace.Value); 1504XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.CanonicalizationAlgorithm.Value, 1505this.DriverDictionary.Namespace.Value); 1512return CheckElement(element, this.DriverDictionary.CanonicalizationAlgorithm.Value, this.DriverDictionary.Namespace.Value, out canonicalizationAlgorithm); 1520if (element.LocalName == this.DriverDictionary.Claims.Value 1521&& element.NamespaceURI == this.DriverDictionary.Namespace.Value) 1545XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.Claims.Value, 1546this.DriverDictionary.Namespace.Value);
System\ServiceModel\Security\WSTrustDec2005.cs (19)
75XmlElement result = doc.CreateElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.KeyType.Value, 76this.DriverDictionary.Namespace.Value); 77result.AppendChild(doc.CreateTextNode(DXD.TrustDec2005Dictionary.BearerKeyType.Value)); 89if (element.LocalName == this.DriverDictionary.KeyType.Value 90&& element.NamespaceURI == this.DriverDictionary.Namespace.Value 91&& element.InnerText == DXD.TrustDec2005Dictionary.BearerKeyType.Value) 103XmlAttribute dialectAttribute = result.OwnerDocument.CreateAttribute(DXD.TrustDec2005Dictionary.Dialect.Value); 104dialectAttribute.Value = DXD.TrustDec2005Dictionary.DialectType.Value; 139XmlElement secondaryParamElement = originalRequestParameters[0].OwnerDocument.CreateElement(DXD.TrustDec2005Dictionary.Prefix.Value, DXD.TrustDec2005Dictionary.SecondaryParameters.Value, DXD.TrustDec2005Dictionary.Namespace.Value); 155return ((element.LocalName == DXD.TrustDec2005Dictionary.SecondaryParameters.Value) && 156(element.NamespaceURI == DXD.TrustDec2005Dictionary.Namespace.Value)); 166XmlElement result = doc.CreateElement(DXD.TrustDec2005Dictionary.Prefix.Value, DXD.TrustDec2005Dictionary.KeyWrapAlgorithm.Value, 167DXD.TrustDec2005Dictionary.Namespace.Value); 174return CheckElement(element, DXD.TrustDec2005Dictionary.KeyWrapAlgorithm.Value, DXD.TrustDec2005Dictionary.Namespace.Value, out keyWrapAlgorithm);
System\ServiceModel\Security\WSTrustFeb2005.cs (20)
90return this.DriverDictionary.IssuedTokensHeader.Value; 98return this.DriverDictionary.Namespace.Value; 106return this.DriverDictionary.RequestTypeRenew.Value; 114return this.DriverDictionary.RequestTypeClose.Value; 134if (child.LocalName == this.DriverDictionary.RequestedSecurityToken.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 138else if (child.LocalName == this.DriverDictionary.RequestedAttachedReference.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 142else if (child.LocalName == this.DriverDictionary.RequestedUnattachedReference.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 177if (child.LocalName == this.DriverDictionary.RequestedTokenClosed.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 196if (child.LocalName == this.DriverDictionary.RenewTarget.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 198else if (child.LocalName == this.DriverDictionary.CloseTarget.Value && child.NamespaceURI == this.DriverDictionary.Namespace.Value) 208writer.WriteStartElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.RequestedAttachedReference, this.DriverDictionary.Namespace); 215writer.WriteStartElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.RequestedUnattachedReference, this.DriverDictionary.Namespace); 233writer.WriteStartElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.RenewTarget, this.DriverDictionary.Namespace); 240writer.WriteStartElement(this.DriverDictionary.Prefix.Value, this.DriverDictionary.CloseTarget, this.DriverDictionary.Namespace);
System\ServiceModel\Security\WSUtilitySpecificationVersion.cs (1)
133writer.WriteStartElement(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.Timestamp, XD.UtilityDictionary.Namespace);
System\ServiceModel\Security\XmlHelper.cs (10)
16string p = writer.LookupPrefix(ns.Value); 25string p = writer.LookupPrefix(ns.Value); 230OnRequiredAttributeMissing(attributeName.Value, null); 246OnRequiredAttributeMissing(name.Value, reader == null ? null : reader.Name); 253if (!reader.MoveToAttribute(name.Value, ns == null ? null : ns.Value)) 255OnRequiredAttributeMissing(name.Value, ns == null ? null : ns.Value); 330return GetAttributeAsUniqueId(reader, localName.Value, (ns != null ? ns.Value : null));
System\ServiceModel\ServiceModelDictionary.cs (1)
107if (!TryLookup(key.Value, out s))
System\ServiceModel\X509CertificateEndpointIdentity.cs (6)
54throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.X509v3Certificate.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value))); 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);
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (1)
108return IsJsonLocalName(reader, (elementName == null) ? null : elementName.Value);