86 references to EmptyString
System.ServiceModel (86)
System\ServiceModel\Security\SctClaimSerializer.cs (62)
35writer.WriteAttributeString(dictionary.Right, dictionary.EmptyString, claim.Right); 40string right = reader.GetAttribute(dictionary.Right, dictionary.EmptyString); 48writer.WriteAttributeString(dictionary.Sid, dictionary.EmptyString, Convert.ToBase64String(sidBytes)); 53byte[] sidBytes = Convert.FromBase64String(reader.GetAttribute(dictionary.Sid, dictionary.EmptyString)); 62writer.WriteElementString(dictionary.NullValue, dictionary.EmptyString, string.Empty); 67writer.WriteStartElement(dictionary.WindowsSidClaim, dictionary.EmptyString); 75writer.WriteStartElement(dictionary.DenyOnlySidClaim, dictionary.EmptyString); 83writer.WriteStartElement(dictionary.X500DistinguishedNameClaim, dictionary.EmptyString); 92writer.WriteStartElement(dictionary.X509ThumbprintClaim, dictionary.EmptyString); 101writer.WriteStartElement(dictionary.NameClaim, dictionary.EmptyString); 109writer.WriteStartElement(dictionary.DnsClaim, dictionary.EmptyString); 117writer.WriteStartElement(dictionary.RsaClaim, dictionary.EmptyString); 125writer.WriteStartElement(dictionary.MailAddressClaim, dictionary.EmptyString); 133writer.WriteElementString(dictionary.SystemClaim, dictionary.EmptyString, string.Empty); 138writer.WriteStartElement(dictionary.HashClaim, dictionary.EmptyString); 147writer.WriteStartElement(dictionary.SpnClaim, dictionary.EmptyString); 155writer.WriteStartElement(dictionary.UpnClaim, dictionary.EmptyString); 163writer.WriteStartElement(dictionary.UrlClaim, dictionary.EmptyString); 181writer.WriteStartElement(dictionary.X509CertificateClaimSet, dictionary.EmptyString); 188writer.WriteElementString(dictionary.SystemClaimSet, dictionary.EmptyString, String.Empty); 192writer.WriteElementString(dictionary.WindowsClaimSet, dictionary.EmptyString, String.Empty); 196writer.WriteElementString(dictionary.AnonymousClaimSet, dictionary.EmptyString, String.Empty); 200writer.WriteStartElement(dictionary.ClaimSet, dictionary.EmptyString); 201writer.WriteStartElement(dictionary.PrimaryIssuer, dictionary.EmptyString); 204writer.WriteElementString(dictionary.NullValue, dictionary.EmptyString, string.Empty); 214writer.WriteStartElement(dictionary.Claim, dictionary.EmptyString); 228if (reader.IsStartElement(dictionary.NullValue, dictionary.EmptyString)) 233else if (reader.IsStartElement(dictionary.WindowsSidClaim, dictionary.EmptyString)) 241else if (reader.IsStartElement(dictionary.DenyOnlySidClaim, dictionary.EmptyString)) 249else if (reader.IsStartElement(dictionary.X500DistinguishedNameClaim, dictionary.EmptyString)) 257else if (reader.IsStartElement(dictionary.X509ThumbprintClaim, dictionary.EmptyString)) 265else if (reader.IsStartElement(dictionary.NameClaim, dictionary.EmptyString)) 273else if (reader.IsStartElement(dictionary.DnsClaim, dictionary.EmptyString)) 281else if (reader.IsStartElement(dictionary.RsaClaim, dictionary.EmptyString)) 292else if (reader.IsStartElement(dictionary.MailAddressClaim, dictionary.EmptyString)) 300else if (reader.IsStartElement(dictionary.SystemClaim, dictionary.EmptyString)) 305else if (reader.IsStartElement(dictionary.HashClaim, dictionary.EmptyString)) 313else if (reader.IsStartElement(dictionary.SpnClaim, dictionary.EmptyString)) 321else if (reader.IsStartElement(dictionary.UpnClaim, dictionary.EmptyString)) 329else if (reader.IsStartElement(dictionary.UrlClaim, dictionary.EmptyString)) 345if (reader.IsStartElement(dictionary.NullValue, dictionary.EmptyString)) 350else if (reader.IsStartElement(dictionary.X509CertificateClaimSet, dictionary.EmptyString)) 357else if (reader.IsStartElement(dictionary.SystemClaimSet, dictionary.EmptyString)) 362else if (reader.IsStartElement(dictionary.WindowsClaimSet, dictionary.EmptyString)) 367else if (reader.IsStartElement(dictionary.AnonymousClaimSet, dictionary.EmptyString)) 372else if (reader.IsStartElement(dictionary.ClaimSet, dictionary.EmptyString)) 378if (reader.IsStartElement(dictionary.PrimaryIssuer, dictionary.EmptyString)) 410writer.WriteStartElement(dictionary.Identities, dictionary.EmptyString); 424writer.WriteStartElement(dictionary.PrimaryIdentity, dictionary.EmptyString); 428writer.WriteStartElement(dictionary.WindowsSidIdentity, dictionary.EmptyString); 444writer.WriteAttributeString(dictionary.AuthenticationType, dictionary.EmptyString, authenticationType); 451writer.WriteStartElement(dictionary.WindowsSidIdentity, dictionary.EmptyString); 454writer.WriteAttributeString(dictionary.AuthenticationType, dictionary.EmptyString, wsid.AuthenticationType); 461writer.WriteStartElement(dictionary.GenericIdentity, dictionary.EmptyString); 463writer.WriteAttributeString(dictionary.AuthenticationType, dictionary.EmptyString, genericIdentity.AuthenticationType); 478if (reader.IsStartElement(dictionary.Identities, dictionary.EmptyString)) 482while (reader.IsStartElement(dictionary.PrimaryIdentity, dictionary.EmptyString)) 498if (reader.IsStartElement(dictionary.PrimaryIdentity, dictionary.EmptyString)) 501if (reader.IsStartElement(dictionary.WindowsSidIdentity, dictionary.EmptyString)) 504string authenticationType = reader.GetAttribute(dictionary.AuthenticationType, dictionary.EmptyString); 510else if (reader.IsStartElement(dictionary.GenericIdentity, dictionary.EmptyString)) 512string authenticationType = reader.GetAttribute(dictionary.AuthenticationType, dictionary.EmptyString);
System\ServiceModel\Security\Tokens\SecurityContextCookieSerializer.cs (24)
52reader.ReadFullStartElement(dictionary.SecurityContextSecurityToken, dictionary.EmptyString); 56if (reader.IsStartElement(dictionary.Version, dictionary.EmptyString)) 60else if (reader.IsStartElement(dictionary.ContextId, dictionary.EmptyString)) 64else if (reader.IsStartElement(dictionary.Id, dictionary.EmptyString)) 68else if (reader.IsStartElement(dictionary.EffectiveTime, dictionary.EmptyString)) 72else if (reader.IsStartElement(dictionary.ExpiryTime, dictionary.EmptyString)) 76else if (reader.IsStartElement(dictionary.Key, dictionary.EmptyString)) 80else if (reader.IsStartElement(dictionary.KeyGeneration, dictionary.EmptyString)) 84else if (reader.IsStartElement(dictionary.KeyEffectiveTime, dictionary.EmptyString)) 88else if (reader.IsStartElement(dictionary.KeyExpiryTime, dictionary.EmptyString)) 92else if (reader.IsStartElement(dictionary.Identities, dictionary.EmptyString)) 96else if (reader.IsStartElement(dictionary.ClaimSets, dictionary.EmptyString)) 110else if (reader.IsStartElement(dictionary.IsCookieMode, dictionary.EmptyString)) 168writer.WriteStartElement(dictionary.SecurityContextSecurityToken, dictionary.EmptyString); 169writer.WriteStartElement(dictionary.Version, dictionary.EmptyString); 173writer.WriteElementString(dictionary.Id, dictionary.EmptyString, id); 174XmlHelper.WriteElementStringAsUniqueId(writer, dictionary.ContextId, dictionary.EmptyString, contextId); 176writer.WriteStartElement(dictionary.Key, dictionary.EmptyString); 182XmlHelper.WriteElementStringAsUniqueId(writer, dictionary.KeyGeneration, dictionary.EmptyString, keyGeneration); 185XmlHelper.WriteElementContentAsInt64(writer, dictionary.EffectiveTime, dictionary.EmptyString, tokenEffectiveTime.ToUniversalTime().Ticks); 186XmlHelper.WriteElementContentAsInt64(writer, dictionary.ExpiryTime, dictionary.EmptyString, tokenExpirationTime.ToUniversalTime().Ticks); 187XmlHelper.WriteElementContentAsInt64(writer, dictionary.KeyEffectiveTime, dictionary.EmptyString, keyEffectiveTime.ToUniversalTime().Ticks); 188XmlHelper.WriteElementContentAsInt64(writer, dictionary.KeyExpiryTime, dictionary.EmptyString, keyExpirationTime.ToUniversalTime().Ticks); 201writer.WriteStartElement(dictionary.ClaimSets, dictionary.EmptyString);