System\ServiceModel\Security\SctClaimSerializer.cs (24)
65else if (ClaimTypes.Sid.Equals(claim.ClaimType))
73else if (ClaimTypes.DenyOnlySid.Equals(claim.ClaimType))
81else if (ClaimTypes.X500DistinguishedName.Equals(claim.ClaimType))
90else if (ClaimTypes.Thumbprint.Equals(claim.ClaimType))
99else if (ClaimTypes.Name.Equals(claim.ClaimType))
107else if (ClaimTypes.Dns.Equals(claim.ClaimType))
115else if (ClaimTypes.Rsa.Equals(claim.ClaimType))
123else if (ClaimTypes.Email.Equals(claim.ClaimType))
136else if (ClaimTypes.Hash.Equals(claim.ClaimType))
145else if (ClaimTypes.Spn.Equals(claim.ClaimType))
153else if (ClaimTypes.Upn.Equals(claim.ClaimType))
161else if (ClaimTypes.Uri.Equals(claim.ClaimType))
239return new Claim(ClaimTypes.Sid, new SecurityIdentifier(sidBytes, 0), right);
247return new Claim(ClaimTypes.DenyOnlySid, new SecurityIdentifier(sidBytes, 0), right);
255return new Claim(ClaimTypes.X500DistinguishedName, new X500DistinguishedName(rawData), right);
263return new Claim(ClaimTypes.Thumbprint, thumbprint, right);
271return new Claim(ClaimTypes.Name, name, right);
279return new Claim(ClaimTypes.Dns, dns, right);
290return new Claim(ClaimTypes.Rsa, rsa, right);
298return new Claim(ClaimTypes.Email, new System.Net.Mail.MailAddress(address), right);
311return new Claim(ClaimTypes.Hash, hash, right);
319return new Claim(ClaimTypes.Spn, spn, right);
327return new Claim(ClaimTypes.Upn, upn, right);
335return new Claim(ClaimTypes.Uri, new Uri(url), right);