135 references to XD
System.ServiceModel.Primitives (135)
System\IdentityModel\DictionaryManager.cs (17)
16SamlDictionary = XD.SamlDictionary; 17XmlSignatureDictionary = XD.XmlSignatureDictionary; 18UtilityDictionary = XD.UtilityDictionary; 19ExclusiveC14NDictionary = XD.ExclusiveC14NDictionary; 20SecurityAlgorithmDictionary = XD.SecurityAlgorithmDictionary; 21_parentDictionary = XD.Dictionary; 22SecurityJan2004Dictionary = XD.SecurityJan2004Dictionary; 23SecurityJanXXX2005Dictionary = XD.SecurityXXX2005Dictionary; 24SecureConversationFeb2005Dictionary = XD.SecureConversationFeb2005Dictionary; 25TrustFeb2005Dictionary = XD.TrustFeb2005Dictionary; 26XmlEncryptionDictionary = XD.XmlEncryptionDictionary; 29SecureConversationDec2005Dictionary = XD.SecureConversationDec2005Dictionary; 30SecurityAlgorithmDec2005Dictionary = XD.SecurityAlgorithmDec2005Dictionary; 31TrustDec2005Dictionary = XD.TrustDec2005Dictionary; 50SecureConversationDec2005Dictionary = XD.SecureConversationDec2005Dictionary; 51SecurityAlgorithmDec2005Dictionary = XD.SecurityAlgorithmDec2005Dictionary; 52TrustDec2005Dictionary = XD.TrustDec2005Dictionary;
System\IdentityModel\Tokens\KeyInfoSerializer.cs (4)
28: this(emitBspRequiredAttributes, new DictionaryManager(), XD.TrustDec2005Dictionary, null) 119throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.CannotReadToken, reader.LocalName, reader.NamespaceURI, localReader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null)))); 149localReader.ReadStartElement(XD.XmlSignatureDictionary.KeyInfo, XD.XmlSignatureDictionary.Namespace);
System\IdentityModel\Tokens\WSSecurityJan2004.cs (68)
63internal static readonly XmlDictionaryString ElementName = XD.SecurityJan2004Dictionary.BinarySecurityToken; 64internal static readonly XmlDictionaryString EncodingTypeAttribute = XD.SecurityJan2004Dictionary.EncodingType; 68internal static readonly XmlDictionaryString ValueTypeAttribute = XD.SecurityJan2004Dictionary.ValueType; 93protected override XmlDictionaryString NamespaceUri { get { return XD.SecurityJan2004Dictionary.Namespace; } } 121protected override XmlDictionaryString LocalName { get { return XD.SecurityJan2004Dictionary.UserNameTokenElement; } } 122protected override XmlDictionaryString NamespaceUri { get { return XD.SecurityJan2004Dictionary.Namespace; } } 156return XD.SecurityJan2004Dictionary.SecurityTokenReference; 164return XD.SecurityJan2004Dictionary.Namespace; 177if (reader.IsStartElement(XD.SecurityJan2004Dictionary.SecurityTokenReference, NamespaceUri)) 179string nonceString = reader.GetAttribute(XD.SecureConversationFeb2005Dictionary.Nonce, XD.SecureConversationFeb2005Dictionary.Namespace); 185string lengthString = reader.GetAttribute(XD.SecureConversationFeb2005Dictionary.Length, XD.SecureConversationFeb2005Dictionary.Namespace); 196string strId = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 197reader.ReadStartElement(XD.SecurityJan2004Dictionary.SecurityTokenReference, NamespaceUri); 240writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.SecurityTokenReference, XD.SecurityJan2004Dictionary.Namespace); 270if (reader.IsStartElement(XD.SecurityJan2004Dictionary.KeyIdentifier, XD.SecurityJan2004Dictionary.Namespace)) 272string valueType = reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null); 287string encodingType = reader.GetAttribute(XD.SecurityJan2004Dictionary.EncodingType, null); 325writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.KeyIdentifier, XD.SecurityJan2004Dictionary.Namespace); 326writer.WriteAttributeString(XD.SecurityJan2004Dictionary.ValueType, null, ValueTypeUri); 330writer.WriteAttributeString(XD.SecurityJan2004Dictionary.EncodingType, null, DefaultEncodingType); 402if (reader.IsStartElement(XD.SecurityJan2004Dictionary.Reference, XD.SecurityJan2004Dictionary.Namespace)) 404string uri = reader.GetAttribute(XD.SecurityJan2004Dictionary.URI, null); 415string uri = reader.GetAttribute(XD.SecurityJan2004Dictionary.URI, null); 416string tokenTypeUri = reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null); 443writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.Reference, XD.SecurityJan2004Dictionary.Namespace); 449writer.WriteAttributeString(XD.SecurityJan2004Dictionary.ValueType, null, tokenTypeUri); 452writer.WriteAttributeString(XD.SecurityJan2004Dictionary.URI, null, "#" + localIdClause.LocalId); 466return reader.IsStartElement(XD.XmlSignatureDictionary.X509Data, XD.XmlSignatureDictionary.Namespace); 475reader.ReadStartElement(XD.XmlSignatureDictionary.X509Data, XD.XmlSignatureDictionary.Namespace); 476reader.ReadStartElement(XD.XmlSignatureDictionary.X509IssuerSerial, XD.XmlSignatureDictionary.Namespace); 477reader.ReadStartElement(XD.XmlSignatureDictionary.X509IssuerName, XD.XmlSignatureDictionary.Namespace); 480reader.ReadStartElement(XD.XmlSignatureDictionary.X509SerialNumber, XD.XmlSignatureDictionary.Namespace); 497writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Data, XD.XmlSignatureDictionary.Namespace); 498writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509IssuerSerial, XD.XmlSignatureDictionary.Namespace); 499writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509IssuerName, XD.XmlSignatureDictionary.Namespace, issuerClause.IssuerName); 500writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509SerialNumber, XD.XmlSignatureDictionary.Namespace, issuerClause.IssuerSerialNumber); 508internal static readonly XmlDictionaryString ElementName = XD.XmlEncryptionDictionary.EncryptedData; 533if (reader.IsStartElement(ElementName, XD.XmlEncryptionDictionary.Namespace)) 535return reader.GetAttribute(XD.XmlEncryptionDictionary.Id, null); 539return reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 550writer.WriteAttributeString(XD.UtilityDictionary.Prefix.Value, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace, id);
System\IdentityModel\Tokens\WSSecurityXXX2005.cs (9)
49return reader.GetAttribute(XD.SecurityXXX2005Dictionary.TokenTypeAttribute, XD.SecurityXXX2005Dictionary.Namespace); 58writer.WriteStartElement(XD.SecurityJan2004Dictionary.Prefix.Value, XD.SecurityJan2004Dictionary.SecurityTokenReference, XD.SecurityJan2004Dictionary.Namespace); 63writer.WriteAttributeString(XD.SecurityXXX2005Dictionary.Prefix.Value, XD.SecurityXXX2005Dictionary.TokenTypeAttribute, XD.SecurityXXX2005Dictionary.Namespace, tokenTypeUri); 134return XD.SecurityXXX2005Dictionary.ThumbprintSha1ValueType.Value;
System\IdentityModel\Tokens\XmlDsigSep2000.cs (31)
46return XD.XmlSignatureDictionary.KeyInfo; 54return XD.XmlSignatureDictionary.Namespace; 89writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, LocalName, NamespaceUri); 117return XD.XmlSignatureDictionary.X509Data; 125return XD.XmlSignatureDictionary.Namespace; 132reader.ReadStartElement(XD.XmlSignatureDictionary.X509Data, NamespaceUri); 135if (ski == null && reader.IsStartElement(XD.XmlSignatureDictionary.X509Certificate, NamespaceUri)) 148else if ((ski == null) && reader.IsStartElement(XD.XmlSignatureDictionary.X509IssuerSerial, XD.XmlSignatureDictionary.Namespace)) 150reader.ReadStartElement(XD.XmlSignatureDictionary.X509IssuerSerial, XD.XmlSignatureDictionary.Namespace); 151reader.ReadStartElement(XD.XmlSignatureDictionary.X509IssuerName, XD.XmlSignatureDictionary.Namespace); 154reader.ReadStartElement(XD.XmlSignatureDictionary.X509SerialNumber, XD.XmlSignatureDictionary.Namespace); 183writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Data, NamespaceUri); 185writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Certificate, NamespaceUri); 196writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509Data, XD.XmlSignatureDictionary.Namespace); 197writer.WriteStartElement(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509IssuerSerial, XD.XmlSignatureDictionary.Namespace); 198writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509IssuerName, XD.XmlSignatureDictionary.Namespace, issuerSerialClause.IssuerName); 199writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.X509SerialNumber, XD.XmlSignatureDictionary.Namespace, issuerSerialClause.IssuerSerialNumber);
System\ServiceModel\Security\ReferenceList.cs (2)
11internal static readonly XmlDictionaryString ElementName = System.IdentityModel.XD.XmlEncryptionDictionary.ReferenceList; 12internal static readonly XmlDictionaryString NamespaceUri = System.IdentityModel.XD.XmlEncryptionDictionary.Namespace;
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (4)
39return reader.IsStartElement(System.IdentityModel.XD.XmlEncryptionDictionary.EncryptedKey, System.IdentityModel.XD.XmlEncryptionDictionary.Namespace); 44bool encrypted = reader.IsStartElement(System.IdentityModel.XD.XmlEncryptionDictionary.EncryptedData, System.IdentityModel.XD.XmlEncryptionDictionary.Namespace);