29 references to Rights
dotnet-svcutil-lib (29)
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\Claim.cs (9)
85s_system = new Claim(ClaimTypes.System, XsiConstants.System, Rights.Identity); 112return new Claim(ClaimTypes.Dns, dns, Rights.PossessProperty, ClaimComparer.Dns); 120return new Claim(ClaimTypes.Hash, SecurityUtils.CloneBuffer(hash), Rights.PossessProperty, ClaimComparer.Hash); 129return new Claim(ClaimTypes.Name, name, Rights.PossessProperty); 138return new Claim(ClaimTypes.Spn, spn, Rights.PossessProperty); 146return new Claim(ClaimTypes.Thumbprint, SecurityUtils.CloneBuffer(thumbprint), Rights.PossessProperty, ClaimComparer.Thumbprint); 155return new Claim(ClaimTypes.Upn, upn, Rights.PossessProperty, ClaimComparer.Upn); 164return new Claim(ClaimTypes.Uri, uri, Rights.PossessProperty); 182return new Claim(ClaimTypes.X500DistinguishedName, x500DistinguishedName, Rights.PossessProperty, ClaimComparer.X500DistinguishedName);
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\ClaimSet.cs (3)
29claims.Add(new Claim(ClaimTypes.System, XsiConstants.System, Rights.PossessProperty)); 71Rights.Identity.Equals(right) || 72Rights.PossessProperty.Equals(right);
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (8)
165claims.Add(new Claim(ClaimTypes.Thumbprint, thumbprint, Rights.Identity)); 166claims.Add(new Claim(ClaimTypes.Thumbprint, thumbprint, Rights.PossessProperty)); 246if (right == null || Rights.Identity.Equals(right)) 248yield return new Claim(ClaimTypes.Thumbprint, _certificate.GetCertHash(), Rights.Identity); 250if (right == null || Rights.PossessProperty.Equals(right)) 252yield return new Claim(ClaimTypes.Thumbprint, _certificate.GetCertHash(), Rights.PossessProperty); 257if (right == null || Rights.PossessProperty.Equals(right)) 367claims.Add(new Claim(ClaimTypes.X500DistinguishedName, x500DistinguishedName, Rights.Identity));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\IdentityVerifier.cs (3)
93&& identity.IdentityClaim.Right == Rights.PossessProperty 101foreach (Claim claim in claimSet.FindClaims(ClaimTypes.Dns, Rights.PossessProperty)) 195IEnumerable<Claim> claims = claimSet.FindClaims(ClaimTypes.Spn, Rights.PossessProperty);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (3)
489foreach (Claim claim in claimSet.FindClaims(null, Rights.Identity)) 512identityClaim = new Claim(ClaimTypes.Upn, principalName, Rights.Identity); 521identityClaim = new Claim(ClaimTypes.Spn, principalName, Rights.Identity);
FrameworkFork\System.ServiceModel\System\ServiceModel\X509CertificateEndpointIdentity.cs (3)
24base.Initialize(new Claim(ClaimTypes.Thumbprint, certificate.GetCertHash(), Rights.PossessProperty)); 37base.Initialize(new Claim(ClaimTypes.Thumbprint, primaryCertificate.GetCertHash(), Rights.PossessProperty)); 64base.Initialize(new Claim(ClaimTypes.Thumbprint, certificate.GetCertHash(), Rights.PossessProperty));