67 references to XmlUtil
System.IdentityModel (67)
System\IdentityModel\EnvelopedSignatureReader.cs (1)
231
SR.GetString(SR.ID4036,
XmlUtil
.SerializeSecurityKeyIdentifier(_signedXml.Signature.KeyIdentifier, _tokenSerializer))));
System\IdentityModel\Metadata\MetadataSerializer.cs (3)
3191
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.AttributeType, Saml2Constants.Namespace);
3224
bool isNil =
XmlUtil
.IsNil(reader);
3227
XmlUtil
.ValidateXsiType(reader, "string", XmlSchema.Namespace);
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (1)
58
List<XmlElement> configNodes =
XmlUtil
.GetXmlElements(customConfiguration);
System\IdentityModel\Tokens\EncryptedSecurityTokenHandler.cs (1)
178
SR.GetString(SR.ID4036,
XmlUtil
.SerializeSecurityKeyIdentifier(encryptedData.KeyIdentifier, base.ContainingCollection.KeyInfoSerializer))));
System\IdentityModel\Tokens\Saml2Attribute.cs (1)
75
set { this.friendlyName =
XmlUtil
.NormalizeEmptyString(value); }
System\IdentityModel\Tokens\Saml2AuthenticationStatement.cs (1)
85
set { this.sessionIndex =
XmlUtil
.NormalizeEmptyString(value); }
System\IdentityModel\Tokens\Saml2NameIdentifier.cs (3)
103
set { this.nameQualifier =
XmlUtil
.NormalizeEmptyString(value); }
113
set { this.serviceProviderPointNameQualifier =
XmlUtil
.NormalizeEmptyString(value); }
123
set { this.serviceProviderdId =
XmlUtil
.NormalizeEmptyString(value); }
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (37)
88
List<XmlElement> configNodes =
XmlUtil
.GetXmlElements(customConfigElements);
747
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.EncryptedElementType, Saml2Constants.Namespace);
896
XmlUtil
.ValidateXsiType(reader, "NCName", XmlSchema.Namespace);
945
XmlUtil
.ValidateXsiType(reader, "anyURI", XmlSchema.Namespace);
2316
XmlQualifiedName declaredType =
XmlUtil
.GetXsiType(reader);
2321
||
XmlUtil
.EqualsQName(declaredType, Saml2Constants.Types.BaseIDAbstractType, Saml2Constants.Namespace))
2327
if (
XmlUtil
.EqualsQName(declaredType, Saml2Constants.Types.NameIDType, Saml2Constants.Namespace))
2374
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.ActionType, Saml2Constants.Namespace);
2485
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.AdviceType, Saml2Constants.Namespace);
2654
XmlUtil
.ValidateXsiType(realReader, Saml2Constants.Types.AssertionType, Saml2Constants.Namespace);
2985
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.AttributeType, Saml2Constants.Namespace);
3036
bool isNil =
XmlUtil
.IsNil(reader);
3311
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.AttributeStatementType, Saml2Constants.Namespace, isStatementElement);
3435
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.AudienceRestrictionType, Saml2Constants.Namespace, isConditionElement);
3553
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.AuthnContextType, Saml2Constants.Namespace);
3707
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.AuthnStatementType, Saml2Constants.Namespace, isStatementElement);
3860
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.AuthzDecisionStatementType, Saml2Constants.Namespace, isStatementElement);
4031
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.ConditionsType, Saml2Constants.Namespace);
4058
XmlQualifiedName declaredType =
XmlUtil
.GetXsiType(reader);
4062
||
XmlUtil
.EqualsQName(declaredType, Saml2Constants.Types.ConditionAbstractType, Saml2Constants.Namespace))
4066
else if (
XmlUtil
.EqualsQName(declaredType, Saml2Constants.Types.AudienceRestrictionType, Saml2Constants.Namespace))
4070
else if (
XmlUtil
.EqualsQName(declaredType, Saml2Constants.Types.OneTimeUseType, Saml2Constants.Namespace))
4080
else if (
XmlUtil
.EqualsQName(declaredType, Saml2Constants.Types.ProxyRestrictionType, Saml2Constants.Namespace))
4232
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.EvidenceType, Saml2Constants.Namespace);
4599
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.NameIDType, Saml2Constants.Namespace);
4797
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.ProxyRestrictionType, Saml2Constants.Namespace, isConditionElement);
4897
XmlQualifiedName declaredType =
XmlUtil
.GetXsiType(reader);
4902
||
XmlUtil
.EqualsQName(declaredType, Saml2Constants.Types.StatementAbstractType, Saml2Constants.Namespace))
4908
if (
XmlUtil
.EqualsQName(declaredType, Saml2Constants.Types.AttributeStatementType, Saml2Constants.Namespace))
4912
else if (
XmlUtil
.EqualsQName(declaredType, Saml2Constants.Types.AuthnStatementType, Saml2Constants.Namespace))
4916
else if (
XmlUtil
.EqualsQName(declaredType, Saml2Constants.Types.AuthzDecisionStatementType, Saml2Constants.Namespace))
5009
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.SubjectType, Saml2Constants.Namespace);
5121
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.SubjectConfirmationType, Saml2Constants.Namespace);
5253
XmlQualifiedName type =
XmlUtil
.GetXsiType(reader);
5257
if (
XmlUtil
.EqualsQName(type, Saml2Constants.Types.KeyInfoConfirmationDataType, Saml2Constants.Namespace))
5261
else if (!
XmlUtil
.EqualsQName(type, Saml2Constants.Types.SubjectConfirmationDataType, Saml2Constants.Namespace))
5458
XmlUtil
.ValidateXsiType(reader, Saml2Constants.Types.SubjectLocalityType, Saml2Constants.Namespace);
System\IdentityModel\Tokens\Saml2SubjectConfirmationData.cs (1)
45
this.address =
XmlUtil
.NormalizeEmptyString(value);
System\IdentityModel\Tokens\Saml2SubjectLocality.cs (2)
48
set { this.address =
XmlUtil
.NormalizeEmptyString(value); }
58
set { this.dnsName =
XmlUtil
.NormalizeEmptyString(value); }
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
93
List<XmlElement> configNodes =
XmlUtil
.GetXmlElements(customConfigElements);
1786
if (!
XmlUtil
.IsValidXmlIDValue(attributeValue))
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (1)
171
List<XmlElement> configElements =
XmlUtil
.GetXmlElements(element.ChildNodes);
System\IdentityModel\Tokens\SessionSecurityToken.cs (10)
465
DateTime effectiveTime = new DateTime(
XmlUtil
.ReadElementContentAsInt64(reader), DateTimeKind.Utc);
471
DateTime expiryTime = new DateTime(
XmlUtil
.ReadElementContentAsInt64(reader), DateTimeKind.Utc);
477
DateTime keyEffectiveTime = new DateTime(
XmlUtil
.ReadElementContentAsInt64(reader), DateTimeKind.Utc);
483
DateTime keyExpiryTime = new DateTime(
XmlUtil
.ReadElementContentAsInt64(reader), DateTimeKind.Utc);
731
XmlUtil
.WriteElementStringAsUniqueId(dicWriter, dictionary.ContextId, dictionary.EmptyString, this.ContextId.ToString());
747
XmlUtil
.WriteElementStringAsUniqueId(dicWriter, dictionary.KeyGeneration, dictionary.EmptyString, this.KeyGeneration.ToString());
753
XmlUtil
.WriteElementContentAsInt64(dicWriter, dictionary.EffectiveTime, dictionary.EmptyString, this.ValidFrom.ToUniversalTime().Ticks);
754
XmlUtil
.WriteElementContentAsInt64(dicWriter, dictionary.ExpiryTime, dictionary.EmptyString, this.ValidTo.ToUniversalTime().Ticks);
755
XmlUtil
.WriteElementContentAsInt64(dicWriter, dictionary.KeyEffectiveTime, dictionary.EmptyString, this.KeyEffectiveTime.ToUniversalTime().Ticks);
756
XmlUtil
.WriteElementContentAsInt64(dicWriter, dictionary.KeyExpiryTime, dictionary.EmptyString, this.KeyExpirationTime.ToUniversalTime().Ticks);
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (1)
101
List<XmlElement> configNodes =
XmlUtil
.GetXmlElements(customConfigElements);
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (1)
97
List<XmlElement> configNodes =
XmlUtil
.GetXmlElements(customConfigElements);
System\IdentityModel\XmlHelper.cs (1)
77
return
XmlUtil
.Trim(reader.ReadElementContentAsString());