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