139 references to XD
dotnet-svcutil-lib (139)
FrameworkFork\System.ServiceModel\System\IdentityModel\DictionaryManager.cs (17)
28
_samlDictionary =
XD
.SamlDictionary;
29
_sigantureDictionary =
XD
.XmlSignatureDictionary;
30
_utilityDictionary =
XD
.UtilityDictionary;
31
_exclusiveC14NDictionary =
XD
.ExclusiveC14NDictionary;
32
_securityAlgorithmDictionary =
XD
.SecurityAlgorithmDictionary;
33
_parentDictionary =
XD
.Dictionary;
34
_securityJan2004Dictionary =
XD
.SecurityJan2004Dictionary;
35
_securityJanXXX2005Dictionary =
XD
.SecurityXXX2005Dictionary;
36
_secureConversationFeb2005Dictionary =
XD
.SecureConversationFeb2005Dictionary;
37
_trustFeb2005Dictionary =
XD
.TrustFeb2005Dictionary;
38
_xmlEncryptionDictionary =
XD
.XmlEncryptionDictionary;
41
_secureConversationDec2005Dictionary =
XD
.SecureConversationDec2005Dictionary;
42
_securityAlgorithmDec2005Dictionary =
XD
.SecurityAlgorithmDec2005Dictionary;
43
_trustDec2005Dictionary =
XD
.TrustDec2005Dictionary;
62
_secureConversationDec2005Dictionary =
XD
.SecureConversationDec2005Dictionary;
63
_securityAlgorithmDec2005Dictionary =
XD
.SecurityAlgorithmDec2005Dictionary;
64
_trustDec2005Dictionary =
XD
.TrustDec2005Dictionary;
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\KeyInfoSerializer.cs (3)
34
: this(emitBspRequiredAttributes, new DictionaryManager(),
XD
.TrustDec2005Dictionary, null)
162
localReader.ReadStartElement(
XD
.XmlSignatureDictionary.KeyInfo,
XD
.XmlSignatureDictionary.Namespace);
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\WSSecurityJan2004.cs (52)
77
internal static readonly XmlDictionaryString ElementName =
XD
.SecurityJan2004Dictionary.BinarySecurityToken;
78
internal static readonly XmlDictionaryString EncodingTypeAttribute =
XD
.SecurityJan2004Dictionary.EncodingType;
82
internal static readonly XmlDictionaryString ValueTypeAttribute =
XD
.SecurityJan2004Dictionary.ValueType;
103
protected override XmlDictionaryString NamespaceUri { get { return
XD
.SecurityJan2004Dictionary.Namespace; } }
142
protected override XmlDictionaryString LocalName { get { return
XD
.SecurityJan2004Dictionary.SamlAssertion; } }
143
protected override XmlDictionaryString NamespaceUri { get { return
XD
.SecurityJan2004Dictionary.SamlUri; } }
151
protected override XmlDictionaryString LocalName { get { return
XD
.SecurityJan2004Dictionary.UserNameTokenElement; } }
152
protected override XmlDictionaryString NamespaceUri { get { return
XD
.SecurityJan2004Dictionary.Namespace; } }
161
protected override XmlDictionaryString NamespaceUri { get { return
XD
.XmlEncryptionDictionary.Namespace; } }
210
return
XD
.SecurityJan2004Dictionary.SecurityTokenReference;
218
return
XD
.SecurityJan2004Dictionary.Namespace;
271
if (reader.IsStartElement(
XD
.SecurityJan2004Dictionary.KeyIdentifier,
XD
.SecurityJan2004Dictionary.Namespace))
273
string valueType = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.ValueType, null);
298
writer.WriteStartElement(
XD
.SecurityJan2004Dictionary.Prefix.Value,
XD
.SecurityJan2004Dictionary.KeyIdentifier,
XD
.SecurityJan2004Dictionary.Namespace);
299
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.ValueType, null, ValueTypeUri);
303
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.EncodingType, null, DefaultEncodingType);
344
return
XD
.SecurityJan2004Dictionary.KerberosTokenTypeGSS.Value;
403
if (reader.IsStartElement(
XD
.SecurityJan2004Dictionary.Reference,
XD
.SecurityJan2004Dictionary.Namespace))
405
string uri = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.URI, null);
416
string uri = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.URI, null);
417
string tokenTypeUri = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.ValueType, null);
444
writer.WriteStartElement(
XD
.SecurityJan2004Dictionary.Prefix.Value,
XD
.SecurityJan2004Dictionary.Reference,
XD
.SecurityJan2004Dictionary.Namespace);
450
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.ValueType, null, tokenTypeUri);
453
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.URI, null, "#" + localIdClause.LocalId);
467
if (reader.IsStartElement(
XD
.SamlDictionary.AuthorityBinding,
XD
.SecurityJan2004Dictionary.SamlUri))
471
else if (reader.IsStartElement(
XD
.SecurityJan2004Dictionary.KeyIdentifier,
XD
.SecurityJan2004Dictionary.Namespace))
473
string valueType = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.ValueType, null);
486
return
XD
.SecurityXXX2005Dictionary.SamlTokenType.Value;
510
return (valueType ==
XD
.SecurityXXX2005Dictionary.Saml11AssertionValueType.Value);
515
return
XD
.SecurityXXX2005Dictionary.Saml20TokenType.Value;
523
if (reader.IsStartElement(
XD
.SecurityJan2004Dictionary.Reference,
XD
.SecurityJan2004Dictionary.Namespace))
525
string valueType = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.ValueType, null);
537
return
XD
.SecurityJan2004Dictionary.RelAssertionValueType.Value;
565
return reader.IsStartElement(
XD
.XmlSignatureDictionary.X509Data,
XD
.XmlSignatureDictionary.Namespace);
590
internal static readonly XmlDictionaryString ElementName =
XD
.XmlEncryptionDictionary.EncryptedData;
618
if (reader.IsStartElement(ElementName,
XD
.XmlEncryptionDictionary.Namespace))
620
return reader.GetAttribute(
XD
.XmlEncryptionDictionary.Id, null);
624
return reader.GetAttribute(
XD
.UtilityDictionary.IdAttribute,
XD
.UtilityDictionary.Namespace);
634
writer.WriteAttributeString(
XD
.UtilityDictionary.Prefix.Value,
XD
.UtilityDictionary.IdAttribute,
XD
.UtilityDictionary.Namespace, id);
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\WSSecurityXXX2005.cs (7)
65
return reader.GetAttribute(
XD
.SecurityXXX2005Dictionary.TokenTypeAttribute,
XD
.SecurityXXX2005Dictionary.Namespace);
181
return
XD
.SecurityXXX2005Dictionary.ThumbprintSha1ValueType.Value;
189
if (tokenType !=
XD
.SecurityXXX2005Dictionary.Saml20TokenType.Value)
193
return (reader.IsStartElement(
XD
.SecurityJan2004Dictionary.Reference,
XD
.SecurityJan2004Dictionary.Namespace));
203
return
XD
.SecurityXXX2005Dictionary.Saml20TokenType.Value;
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\XmlDsigSep2000.cs (8)
49
return
XD
.XmlSignatureDictionary.KeyInfo;
57
return
XD
.XmlSignatureDictionary.Namespace;
84
return
XD
.XmlSignatureDictionary.KeyName;
92
return
XD
.XmlSignatureDictionary.Namespace;
124
return
XD
.XmlSignatureDictionary.KeyValue;
132
return
XD
.XmlSignatureDictionary.Namespace;
166
return
XD
.XmlSignatureDictionary.X509Data;
174
return
XD
.XmlSignatureDictionary.Namespace;
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\XmlEncApr2001.cs (23)
39
return
XD
.XmlEncryptionDictionary.EncryptedKey;
47
return
XD
.XmlEncryptionDictionary.Namespace;
58
reader.ReadStartElement(
XD
.XmlEncryptionDictionary.EncryptedKey, NamespaceUri);
60
if (reader.IsStartElement(
XD
.XmlEncryptionDictionary.EncryptionMethod, NamespaceUri))
62
encryptionMethod = reader.GetAttribute(
XD
.XmlEncryptionDictionary.AlgorithmAttribute, null);
80
reader.ReadStartElement(
XD
.XmlEncryptionDictionary.CipherData, NamespaceUri);
81
reader.ReadStartElement(
XD
.XmlEncryptionDictionary.CipherValue, NamespaceUri);
86
if (reader.IsStartElement(
XD
.XmlEncryptionDictionary.CarriedKeyName, NamespaceUri))
107
writer.WriteStartElement(
XD
.XmlEncryptionDictionary.Prefix.Value,
XD
.XmlEncryptionDictionary.EncryptedKey, NamespaceUri);
111
writer.WriteStartElement(
XD
.XmlEncryptionDictionary.Prefix.Value,
XD
.XmlEncryptionDictionary.EncryptionMethod, NamespaceUri);
112
writer.WriteAttributeString(
XD
.XmlEncryptionDictionary.AlgorithmAttribute, null, encryptedKeyClause.EncryptionMethod);
113
if (encryptedKeyClause.EncryptionMethod ==
XD
.SecurityAlgorithmDictionary.RsaOaepKeyWrap.Value)
115
writer.WriteStartElement(XmlSignatureStrings.Prefix,
XD
.XmlSignatureDictionary.DigestMethod,
XD
.XmlSignatureDictionary.Namespace);
116
writer.WriteAttributeString(
XD
.XmlSignatureDictionary.Algorithm, null, SecurityAlgorithms.Sha1Digest);
127
writer.WriteStartElement(
XD
.XmlEncryptionDictionary.Prefix.Value,
XD
.XmlEncryptionDictionary.CipherData, NamespaceUri);
128
writer.WriteStartElement(
XD
.XmlEncryptionDictionary.Prefix.Value,
XD
.XmlEncryptionDictionary.CipherValue, NamespaceUri);
136
writer.WriteElementString(
XD
.XmlEncryptionDictionary.Prefix.Value,
XD
.XmlEncryptionDictionary.CarriedKeyName, NamespaceUri, encryptedKeyClause.CarriedKeyName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\EncryptedKey.cs (22)
19
internal static readonly XmlDictionaryString NamespaceUri =
XD
.XmlEncryptionDictionary.Namespace;
20
internal static readonly XmlDictionaryString EncodingAttribute =
XD
.XmlEncryptionDictionary.Encoding;
21
internal static readonly XmlDictionaryString MimeTypeAttribute =
XD
.XmlEncryptionDictionary.MimeType;
22
internal static readonly XmlDictionaryString TypeAttribute =
XD
.XmlEncryptionDictionary.Type;
23
internal static readonly XmlDictionaryString CipherDataElementName =
XD
.XmlEncryptionDictionary.CipherData;
24
internal static readonly XmlDictionaryString CipherValueElementName =
XD
.XmlEncryptionDictionary.CipherValue;
211
_id = reader.GetAttribute(
XD
.XmlEncryptionDictionary.Id, null) ?? SecurityUniqueId.Create().Value;
212
_wsuId = reader.GetAttribute(
XD
.XmlEncryptionDictionary.Id,
XD
.UtilityDictionary.Namespace) ?? SecurityUniqueId.Create().Value;
298
writer.WriteAttributeString(
XD
.XmlEncryptionDictionary.Id, null, this.Id);
366
internal static readonly XmlDictionaryString ElementName =
XD
.XmlEncryptionDictionary.EncryptionMethod;
375
reader.MoveToStartElement(ElementName,
XD
.XmlEncryptionDictionary.Namespace);
377
this.algorithm = reader.GetAttribute(
XD
.XmlSignatureDictionary.Algorithm, null);
381
string.Format(SRServiceModel.RequiredAttributeMissing,
XD
.XmlSignatureDictionary.Algorithm.Value, ElementName.Value)));
396
writer.WriteStartElement(XmlEncryptionStrings.Prefix, ElementName,
XD
.XmlEncryptionDictionary.Namespace);
399
writer.WriteStartAttribute(
XD
.XmlSignatureDictionary.Algorithm, null);
405
writer.WriteAttributeString(
XD
.XmlSignatureDictionary.Algorithm, null, this.algorithm);
407
if (this.algorithm ==
XD
.SecurityAlgorithmDictionary.RsaOaepKeyWrap.Value)
409
writer.WriteStartElement(XmlSignatureStrings.Prefix,
XD
.XmlSignatureDictionary.DigestMethod,
XD
.XmlSignatureDictionary.Namespace);
410
writer.WriteStartAttribute(
XD
.XmlSignatureDictionary.Algorithm, null);
411
writer.WriteString(
XD
.SecurityAlgorithmDictionary.Sha1Digest);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\EncryptedType.cs (3)
14
internal static readonly XmlDictionaryString CarriedKeyElementName =
XD
.XmlEncryptionDictionary.CarriedKeyName;
15
internal static readonly XmlDictionaryString ElementName =
XD
.XmlEncryptionDictionary.EncryptedKey;
16
internal static readonly XmlDictionaryString RecipientAttribute =
XD
.XmlEncryptionDictionary.Recipient;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ReferenceList.cs (4)
17
internal static readonly XmlDictionaryString ElementName =
XD
.XmlEncryptionDictionary.ReferenceList;
20
internal static readonly XmlDictionaryString UriAttribute =
XD
.XmlEncryptionDictionary.URI;
115
internal static readonly XmlDictionaryString ElementName =
XD
.XmlEncryptionDictionary.DataReference;
132
writer.WriteStartElement(
XD
.XmlEncryptionDictionary.Prefix.Value, ElementName, NamespaceUri);