302 references to XD
System.IdentityModel (302)
System\IdentityModel\DictionaryManager.cs (17)
29
this.samlDictionary =
XD
.SamlDictionary;
30
this.sigantureDictionary =
XD
.XmlSignatureDictionary;
31
this.utilityDictionary =
XD
.UtilityDictionary;
32
this.exclusiveC14NDictionary =
XD
.ExclusiveC14NDictionary;
33
this.securityAlgorithmDictionary =
XD
.SecurityAlgorithmDictionary;
34
this.parentDictionary =
XD
.Dictionary;
35
this.securityJan2004Dictionary =
XD
.SecurityJan2004Dictionary;
36
this.securityJanXXX2005Dictionary =
XD
.SecurityXXX2005Dictionary;
37
this.secureConversationFeb2005Dictionary =
XD
.SecureConversationFeb2005Dictionary;
38
this.trustFeb2005Dictionary =
XD
.TrustFeb2005Dictionary;
39
this.xmlEncryptionDictionary =
XD
.XmlEncryptionDictionary;
42
this.secureConversationDec2005Dictionary =
XD
.SecureConversationDec2005Dictionary;
43
this.securityAlgorithmDec2005Dictionary =
XD
.SecurityAlgorithmDec2005Dictionary;
44
this.trustDec2005Dictionary =
XD
.TrustDec2005Dictionary;
63
this.secureConversationDec2005Dictionary =
XD
.SecureConversationDec2005Dictionary;
64
this.securityAlgorithmDec2005Dictionary =
XD
.SecurityAlgorithmDec2005Dictionary;
65
this.trustDec2005Dictionary =
XD
.TrustDec2005Dictionary;
System\IdentityModel\EncryptedTypeElement.cs (2)
159
if (reader.IsStartElement(
XD
.XmlSignatureDictionary.KeyInfo.Value,
XD
.XmlSignatureDictionary.Namespace.Value))
System\IdentityModel\EnvelopedSignatureReader.cs (6)
102
_wrappedReader.XmlTokens.SetElementExclusion(
XD
.XmlSignatureDictionary.Signature.Value,
XD
.XmlSignatureDictionary.Namespace.Value);
161
&& base.InnerReader.IsLocalName(
XD
.XmlSignatureDictionary.Signature)
162
&& base.InnerReader.IsNamespaceUri(
XD
.XmlSignatureDictionary.Namespace))
255
if (IsStartElement(
XD
.XmlSignatureDictionary.Signature,
XD
.XmlSignatureDictionary.Namespace))
System\IdentityModel\EnvelopedSignatureTransform.cs (1)
20
get { return
XD
.XmlSignatureDictionary.EnvelopedSignature.Value; }
System\IdentityModel\EnvelopedSignatureWriter.cs (1)
110
signedInfo.CanonicalizationMethod =
XD
.ExclusiveC14NDictionary.Namespace.Value;
System\IdentityModel\ExclusiveCanonicalizationTransform.cs (2)
38
this.algorithm = includeComments ?
XD
.SecurityAlgorithmDictionary.ExclusiveC14nWithComments.Value :
XD
.SecurityAlgorithmDictionary.ExclusiveC14n.Value;
System\IdentityModel\ExtendedTransformFactory.cs (1)
20
if (transformAlgorithmUri ==
XD
.XmlSignatureDictionary.EnvelopedSignature.Value)
System\IdentityModel\KeyInfo.cs (4)
51
if ( reader.IsStartElement(
XD
.XmlSignatureDictionary.KeyInfo.Value,
XD
.XmlSignatureDictionary.Namespace.Value ) )
59
if ( reader.IsStartElement( XmlSignatureConstants.Elements.RetrievalMethod,
XD
.XmlSignatureDictionary.Namespace.Value ) )
61
string method = reader.GetAttribute(
XD
.XmlSignatureDictionary.URI.Value );
System\IdentityModel\StrTransform.cs (1)
229
get { return
XD
.SecurityAlgorithmDictionary.ExclusiveC14n.Value; }
System\IdentityModel\Tokens\KeyInfoSerializer.cs (4)
34
: this(emitBspRequiredAttributes, new DictionaryManager(),
XD
.TrustDec2005Dictionary, null)
135
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError( new XmlException( SR.GetString( SR.CannotReadToken, reader.LocalName, reader.NamespaceURI, localReader.GetAttribute(
XD
.SecurityJan2004Dictionary.ValueType, null ) ) ) );
163
localReader.ReadStartElement(
XD
.XmlSignatureDictionary.KeyInfo,
XD
.XmlSignatureDictionary.Namespace);
System\IdentityModel\Tokens\SamlAdvice.cs (2)
46
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty,
XD
.SamlDictionary.AssertionIdReference.Value));
57
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty,
XD
.SamlDictionary.Assertion.Value));
System\IdentityModel\Tokens\SamlAssertion.cs (1)
80
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty,
XD
.SamlDictionary.Statement.Value));
System\IdentityModel\Tokens\SamlAttributeStatement.cs (1)
35
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty,
XD
.SamlDictionary.Attribute.Value));
System\IdentityModel\Tokens\SamlAudienceRestrictionCondition.cs (1)
30
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty,
XD
.SamlDictionary.Audience.Value));
System\IdentityModel\Tokens\SamlAuthenticationStatement.cs (3)
20
string authenticationMethod =
XD
.SamlDictionary.UnspecifiedAuthenticationMethod.Value;
51
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty,
XD
.SamlDictionary.Assertion.Value));
81
this.authenticationMethod =
XD
.SamlDictionary.UnspecifiedAuthenticationMethod.Value;
System\IdentityModel\Tokens\SamlAuthorizationDecisionStatement.cs (1)
45
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty,
XD
.SamlDictionary.Action.Value));
System\IdentityModel\Tokens\SamlConditions.cs (1)
46
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty,
XD
.SamlDictionary.Condition.Value));
System\IdentityModel\Tokens\SamlEvidence.cs (2)
41
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty,
XD
.SamlDictionary.AssertionIdReference.Value));
52
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty,
XD
.SamlDictionary.Assertion.Value));
System\IdentityModel\Tokens\SamlSubject.cs (1)
56
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SAMLEntityCannotBeNullOrEmpty,
XD
.SamlDictionary.SubjectConfirmationMethod.Value));
System\IdentityModel\Tokens\WSSecurityJan2004.cs (120)
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; } }
139
protected override XmlDictionaryString LocalName { get { return
XD
.SecurityJan2004Dictionary.SamlAssertion; } }
140
protected override XmlDictionaryString NamespaceUri { get { return
XD
.SecurityJan2004Dictionary.SamlUri; } }
148
protected override XmlDictionaryString LocalName { get { return
XD
.SecurityJan2004Dictionary.UserNameTokenElement; } }
149
protected override XmlDictionaryString NamespaceUri { get { return
XD
.SecurityJan2004Dictionary.Namespace; } }
159
protected override XmlDictionaryString NamespaceUri { get { return
XD
.XmlEncryptionDictionary.Namespace; } }
208
return
XD
.SecurityJan2004Dictionary.SecurityTokenReference;
216
return
XD
.SecurityJan2004Dictionary.Namespace;
229
if (reader.IsStartElement(
XD
.SecurityJan2004Dictionary.SecurityTokenReference, NamespaceUri))
231
string nonceString = reader.GetAttribute(
XD
.SecureConversationFeb2005Dictionary.Nonce,
XD
.SecureConversationFeb2005Dictionary.Namespace);
237
string lengthString = reader.GetAttribute(
XD
.SecureConversationFeb2005Dictionary.Length,
XD
.SecureConversationFeb2005Dictionary.Namespace);
248
string strId = reader.GetAttribute(
XD
.UtilityDictionary.IdAttribute,
XD
.UtilityDictionary.Namespace);
249
reader.ReadStartElement(
XD
.SecurityJan2004Dictionary.SecurityTokenReference, NamespaceUri);
292
writer.WriteStartElement(
XD
.SecurityJan2004Dictionary.Prefix.Value,
XD
.SecurityJan2004Dictionary.SecurityTokenReference,
XD
.SecurityJan2004Dictionary.Namespace);
323
if (reader.IsStartElement(
XD
.SecurityJan2004Dictionary.KeyIdentifier,
XD
.SecurityJan2004Dictionary.Namespace))
325
string valueType = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.ValueType, null);
340
string encodingType = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.EncodingType, null);
378
writer.WriteStartElement(
XD
.SecurityJan2004Dictionary.Prefix.Value,
XD
.SecurityJan2004Dictionary.KeyIdentifier,
XD
.SecurityJan2004Dictionary.Namespace);
379
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.ValueType, null, ValueTypeUri);
383
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.EncodingType, null, DefaultEncodingType);
423
return
XD
.SecurityJan2004Dictionary.KerberosTokenTypeGSS.Value;
427
writer.WriteStartElement(
XD
.SecurityJan2004Dictionary.Prefix.Value,
XD
.SecurityJan2004Dictionary.KeyIdentifier,
XD
.SecurityJan2004Dictionary.Namespace);
428
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.ValueType, null, ValueTypeUri);
433
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.EncodingType, null, DefaultEncodingType);
504
if (reader.IsStartElement(
XD
.SecurityJan2004Dictionary.Reference,
XD
.SecurityJan2004Dictionary.Namespace))
506
string uri = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.URI, null);
517
string uri = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.URI, null);
518
string tokenTypeUri = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.ValueType, null);
545
writer.WriteStartElement(
XD
.SecurityJan2004Dictionary.Prefix.Value,
XD
.SecurityJan2004Dictionary.Reference,
XD
.SecurityJan2004Dictionary.Namespace);
551
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.ValueType, null, tokenTypeUri);
554
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.URI, null, "#" + localIdClause.LocalId);
568
if (reader.IsStartElement(
XD
.SamlDictionary.AuthorityBinding,
XD
.SecurityJan2004Dictionary.SamlUri))
572
else if (reader.IsStartElement(
XD
.SecurityJan2004Dictionary.KeyIdentifier,
XD
.SecurityJan2004Dictionary.Namespace))
574
string valueType = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.ValueType, null);
587
return
XD
.SecurityXXX2005Dictionary.SamlTokenType.Value;
601
if (reader.IsStartElement(
XD
.SamlDictionary.AuthorityBinding,
XD
.SecurityJan2004Dictionary.SamlUri))
608
binding = reader.GetAttribute(
XD
.SamlDictionary.Binding, null);
611
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.RequiredAttributeMissing,
XD
.SamlDictionary.Binding.Value,
XD
.SamlDictionary.AuthorityBinding.Value)));
613
location = reader.GetAttribute(
XD
.SamlDictionary.Location, null);
616
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.RequiredAttributeMissing,
XD
.SamlDictionary.Location.Value,
XD
.SamlDictionary.AuthorityBinding.Value)));
618
authorityKind = reader.GetAttribute(
XD
.SamlDictionary.AuthorityKind, null);
621
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.RequiredAttributeMissing,
XD
.SamlDictionary.AuthorityKind.Value,
XD
.SamlDictionary.AuthorityBinding.Value)));
633
else if (reader.IsStartElement(
XD
.SecurityJan2004Dictionary.KeyIdentifier,
XD
.SecurityJan2004Dictionary.Namespace))
640
valueType = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.ValueType, null);
674
writer.WriteStartElement(
XD
.SamlDictionary.PreferredPrefix.Value,
XD
.SamlDictionary.AuthorityBinding,
XD
.SecurityJan2004Dictionary.SamlUri);
677
writer.WriteAttributeString(
XD
.SamlDictionary.Binding, null, samlClause.Binding);
681
writer.WriteAttributeString(
XD
.SamlDictionary.Location, null, samlClause.Location);
685
writer.WriteAttributeString(
XD
.SamlDictionary.AuthorityKind, null, samlClause.AuthorityKind);
689
writer.WriteStartElement(
XD
.SecurityJan2004Dictionary.Prefix.Value,
XD
.SecurityJan2004Dictionary.KeyIdentifier,
XD
.SecurityJan2004Dictionary.Namespace);
690
string valueType = string.IsNullOrEmpty(samlClause.ValueType) ?
XD
.SecurityJan2004Dictionary.SamlAssertionIdValueType.Value : samlClause.ValueType;
691
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.ValueType, null, valueType);
702
return (valueType ==
XD
.SecurityXXX2005Dictionary.Saml11AssertionValueType.Value);
707
return
XD
.SecurityXXX2005Dictionary.Saml20TokenType.Value;
715
if (reader.IsStartElement(
XD
.SecurityJan2004Dictionary.Reference,
XD
.SecurityJan2004Dictionary.Namespace))
717
string valueType = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.ValueType, null);
729
return
XD
.SecurityJan2004Dictionary.RelAssertionValueType.Value;
734
string assertionId = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.URI, null);
755
writer.WriteStartElement(
XD
.SecurityJan2004Dictionary.Prefix.Value,
XD
.SecurityJan2004Dictionary.Reference,
XD
.SecurityJan2004Dictionary.Namespace);
756
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.ValueType, null, SecurityJan2004Strings.RelAssertionValueType);
757
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.URI, null, relClause.AssertionId);
771
return reader.IsStartElement(
XD
.XmlSignatureDictionary.X509Data,
XD
.XmlSignatureDictionary.Namespace);
780
reader.ReadStartElement(
XD
.XmlSignatureDictionary.X509Data,
XD
.XmlSignatureDictionary.Namespace);
781
reader.ReadStartElement(
XD
.XmlSignatureDictionary.X509IssuerSerial,
XD
.XmlSignatureDictionary.Namespace);
782
reader.ReadStartElement(
XD
.XmlSignatureDictionary.X509IssuerName,
XD
.XmlSignatureDictionary.Namespace);
785
reader.ReadStartElement(
XD
.XmlSignatureDictionary.X509SerialNumber,
XD
.XmlSignatureDictionary.Namespace);
802
writer.WriteStartElement(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.X509Data,
XD
.XmlSignatureDictionary.Namespace);
803
writer.WriteStartElement(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.X509IssuerSerial,
XD
.XmlSignatureDictionary.Namespace);
804
writer.WriteElementString(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.X509IssuerName,
XD
.XmlSignatureDictionary.Namespace, issuerClause.IssuerName);
805
writer.WriteElementString(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.X509SerialNumber,
XD
.XmlSignatureDictionary.Namespace, issuerClause.IssuerSerialNumber);
813
internal static readonly XmlDictionaryString ElementName =
XD
.XmlEncryptionDictionary.EncryptedData;
841
if (reader.IsStartElement(ElementName,
XD
.XmlEncryptionDictionary.Namespace))
843
return reader.GetAttribute(
XD
.XmlEncryptionDictionary.Id, null);
847
return reader.GetAttribute(
XD
.UtilityDictionary.IdAttribute,
XD
.UtilityDictionary.Namespace);
856
writer.WriteAttributeString(
XD
.UtilityDictionary.Prefix.Value,
XD
.UtilityDictionary.IdAttribute,
XD
.UtilityDictionary.Namespace, id);
System\IdentityModel\Tokens\WSSecurityXXX2005.cs (18)
65
return reader.GetAttribute(
XD
.SecurityXXX2005Dictionary.TokenTypeAttribute,
XD
.SecurityXXX2005Dictionary.Namespace);
74
writer.WriteStartElement(
XD
.SecurityJan2004Dictionary.Prefix.Value,
XD
.SecurityJan2004Dictionary.SecurityTokenReference,
XD
.SecurityJan2004Dictionary.Namespace);
79
writer.WriteAttributeString(
XD
.SecurityXXX2005Dictionary.Prefix.Value,
XD
.SecurityXXX2005Dictionary.TokenTypeAttribute,
XD
.SecurityXXX2005Dictionary.Namespace, tokenTypeUri);
196
return
XD
.SecurityXXX2005Dictionary.ThumbprintSha1ValueType.Value;
204
if (tokenType !=
XD
.SecurityXXX2005Dictionary.Saml20TokenType.Value)
208
return (reader.IsStartElement(
XD
.SecurityJan2004Dictionary.Reference,
XD
.SecurityJan2004Dictionary.Namespace));
218
return
XD
.SecurityXXX2005Dictionary.Saml20TokenType.Value;
223
string samlUri = reader.GetAttribute(
XD
.SecurityJan2004Dictionary.URI, null);
244
writer.WriteStartElement(
XD
.SecurityJan2004Dictionary.Prefix.Value,
XD
.SecurityJan2004Dictionary.Reference,
XD
.SecurityJan2004Dictionary.Namespace);
245
writer.WriteAttributeString(
XD
.SecurityJan2004Dictionary.URI, null, samlClause.SamlUri);
System\IdentityModel\Tokens\XmlDsigSep2000.cs (50)
50
return
XD
.XmlSignatureDictionary.KeyInfo;
58
return
XD
.XmlSignatureDictionary.Namespace;
93
writer.WriteStartElement(
XD
.XmlSignatureDictionary.Prefix.Value, LocalName, NamespaceUri );
115
return
XD
.XmlSignatureDictionary.KeyName;
123
return
XD
.XmlSignatureDictionary.Namespace;
129
reader.ReadStartElement(
XD
.XmlSignatureDictionary.KeyName, NamespaceUri );
145
writer.WriteElementString(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.KeyName, NamespaceUri, nameClause.KeyName );
161
return
XD
.XmlSignatureDictionary.KeyValue;
169
return
XD
.XmlSignatureDictionary.Namespace;
176
reader.ReadStartElement(
XD
.XmlSignatureDictionary.KeyValue, NamespaceUri );
177
reader.ReadStartElement(
XD
.XmlSignatureDictionary.RsaKeyValue, NamespaceUri );
178
reader.ReadStartElement(
XD
.XmlSignatureDictionary.Modulus, NamespaceUri );
183
reader.ReadStartElement(
XD
.XmlSignatureDictionary.Exponent, NamespaceUri );
207
writer.WriteStartElement(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.KeyValue, NamespaceUri );
208
writer.WriteStartElement(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.RsaKeyValue, NamespaceUri );
209
writer.WriteStartElement(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.Modulus, NamespaceUri );
212
writer.WriteStartElement(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.Exponent, NamespaceUri );
233
return
XD
.XmlSignatureDictionary.X509Data;
241
return
XD
.XmlSignatureDictionary.Namespace;
248
reader.ReadStartElement(
XD
.XmlSignatureDictionary.X509Data, NamespaceUri );
251
if ( ski == null && reader.IsStartElement(
XD
.XmlSignatureDictionary.X509Certificate, NamespaceUri ) )
264
else if ( ( ski == null ) && reader.IsStartElement(
XD
.XmlSignatureDictionary.X509IssuerSerial,
XD
.XmlSignatureDictionary.Namespace ) )
266
reader.ReadStartElement(
XD
.XmlSignatureDictionary.X509IssuerSerial,
XD
.XmlSignatureDictionary.Namespace );
267
reader.ReadStartElement(
XD
.XmlSignatureDictionary.X509IssuerName,
XD
.XmlSignatureDictionary.Namespace );
270
reader.ReadStartElement(
XD
.XmlSignatureDictionary.X509SerialNumber,
XD
.XmlSignatureDictionary.Namespace );
299
writer.WriteStartElement(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.X509Data, NamespaceUri );
301
writer.WriteStartElement(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.X509Certificate, NamespaceUri );
312
writer.WriteStartElement(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.X509Data,
XD
.XmlSignatureDictionary.Namespace );
313
writer.WriteStartElement(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.X509IssuerSerial,
XD
.XmlSignatureDictionary.Namespace );
314
writer.WriteElementString(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.X509IssuerName,
XD
.XmlSignatureDictionary.Namespace, issuerSerialClause.IssuerName );
315
writer.WriteElementString(
XD
.XmlSignatureDictionary.Prefix.Value,
XD
.XmlSignatureDictionary.X509SerialNumber,
XD
.XmlSignatureDictionary.Namespace, issuerSerialClause.IssuerSerialNumber );
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);
System\IdentityModel\XmlBuffer.cs (3)
91
this.writer = XmlDictionaryWriter.CreateBinaryWriter(stream,
XD
.Dictionary, null, true);
95
((IXmlBinaryWriterInitializer)this.writer).SetOutput(stream,
XD
.Dictionary, null, true);
132
XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(buffer, section.Offset, section.Size,
XD
.Dictionary, section.Quotas, null, null);
System\ServiceModel\Security\BinarySecretKeyIdentifierClause.cs (1)
27
: base(
XD
.TrustFeb2005Dictionary.BinarySecretClauseType.Value, key, cloneBuffer, derivationNonce, derivationLength)
System\ServiceModel\Security\EncryptedKey.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;
System\ServiceModel\Security\EncryptedType.cs (28)
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;
225
this.id = reader.GetAttribute(
XD
.XmlEncryptionDictionary.Id, null) ?? SecurityUniqueId.Create().Value;
226
this.wsuId = reader.GetAttribute(
XD
.XmlEncryptionDictionary.Id,
XD
.UtilityDictionary.Namespace) ?? SecurityUniqueId.Create().Value;
289
if (!localReader.IsStartElement(
XD
.XmlSignatureDictionary.KeyInfo,
XD
.XmlSignatureDictionary.Namespace))
294
localReader.ReadStartElement(
XD
.XmlSignatureDictionary.KeyInfo,
XD
.XmlSignatureDictionary.Namespace);
300
string strId = localReader.GetAttribute(
XD
.UtilityDictionary.IdAttribute,
XD
.UtilityDictionary.Namespace);
336
writer.WriteAttributeString(
XD
.XmlEncryptionDictionary.Id, null, this.Id);
404
internal static readonly XmlDictionaryString ElementName =
XD
.XmlEncryptionDictionary.EncryptionMethod;
413
reader.MoveToStartElement(ElementName,
XD
.XmlEncryptionDictionary.Namespace);
415
this.algorithm = reader.GetAttribute(
XD
.XmlSignatureDictionary.Algorithm, null);
419
SR.GetString(SR.RequiredAttributeMissing,
XD
.XmlSignatureDictionary.Algorithm.Value, ElementName.Value)));
434
writer.WriteStartElement(XmlEncryptionStrings.Prefix, ElementName,
XD
.XmlEncryptionDictionary.Namespace);
437
writer.WriteStartAttribute(
XD
.XmlSignatureDictionary.Algorithm, null);
443
writer.WriteAttributeString(
XD
.XmlSignatureDictionary.Algorithm, null, this.algorithm);
445
if (this.algorithm ==
XD
.SecurityAlgorithmDictionary.RsaOaepKeyWrap.Value)
447
writer.WriteStartElement(XmlSignatureStrings.Prefix,
XD
.XmlSignatureDictionary.DigestMethod,
XD
.XmlSignatureDictionary.Namespace);
448
writer.WriteStartAttribute(
XD
.XmlSignatureDictionary.Algorithm, null);
449
writer.WriteString(
XD
.SecurityAlgorithmDictionary.Sha1Digest);
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);