39 references to Certificate
System.IdentityModel (20)
System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (6)
77this.validator.Validate(x509Token.Certificate); 79X509CertificateClaimSet x509ClaimSet = new X509CertificateClaimSet(x509Token.Certificate, this.cloneHandle); 91X509CertificateValidator.NTAuthChainTrust.Validate(x509Token.Certificate); 97windowsIdentity = KerberosCertificateLogon(x509Token.Certificate); 102string name = x509Token.Certificate.GetNameInfo(X509NameType.UpnName, false); 106SecurityUtils.GetCertificateId(x509Token.Certificate))));
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (2)
141string thumbprint = x509SecurityToken.Certificate.Thumbprint; 145issuerName = string.IsNullOrEmpty(issuerName) ? x509SecurityToken.Certificate.Subject : issuerName;
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
366this.CertificateValidator.Validate(issuerToken.Certificate);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
1007CertificateValidator.Validate(x509IssuerToken.Certificate); 1012X509Util.GetCertificateId(x509IssuerToken.Certificate)), e));
System\IdentityModel\Tokens\X509EncryptingCredentials.cs (1)
89this.certificate = token.Certificate;
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (7)
519this.CertificateValidator.Validate(x509Token.Certificate); 524X509Util.GetCertificateId(x509Token.Certificate)), e)); 532string issuer = X509Util.GetCertificateIssuerName(x509Token.Certificate, this.Configuration.IssuerNameRegistry); 572this.x509NTAuthChainTrustValidator.Validate(x509Token.Certificate); 573windowsIdentity = ClaimsHelper.CertificateLogon(x509Token.Certificate); 587identity.AddClaims(X509Util.GetClaimsFromCertificate(x509Token.Certificate, issuer)); 668byte[] rawData = x509Token.Certificate.GetRawCertData();
System\IdentityModel\Tokens\X509SigningCredentials.cs (1)
121this.certificate = token.Certificate;
System.ServiceModel (19)
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
202request.ClientCertificates.Add(x509Token.Certificate);
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
256validator.Validate(token.Certificate);
System\ServiceModel\Channels\PeerSecurityManager.cs (1)
756result = token.Certificate;
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (3)
292this.serverCertificate = new X509Certificate2(x509Token.Certificate); 917clientCertificates.Add(clientToken.Certificate); 996this.clientCertificates.Add(initiator.clientToken.Certificate);
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (1)
371x509SecurityToken.Certificate.GetCertHash(),
System\ServiceModel\Security\ReceiveSecurityHeader.cs (2)
2078byte[] outOfBandCertificateThumbprint = ((X509SecurityToken)outOfBandToken).Certificate.GetCertHash(); 2079byte[] replyCertificateThumbprint = ((X509SecurityToken)replyToken).Certificate.GetCertHash();
System\ServiceModel\Security\TlsnegoTokenAuthenticator.cs (3)
78SecurityUtils.EnsureCertificateCanDoKeyExchange(result.Certificate); 177this.serverToken.Certificate, this.ClientTokenAuthenticator != null); 182tlsNegotiation = new TlsSspiNegotiation(protocol, this.serverToken.Certificate, this.ClientTokenAuthenticator != null);
System\ServiceModel\Security\TlsnegoTokenProvider.cs (1)
75clientCertificate = token.Certificate;
System\ServiceModel\Security\Tokens\SecurityTokenProviderContainer.cs (1)
54return token.Certificate;
System\ServiceModel\Security\Tokens\X509SecurityTokenParameters.cs (2)
91if (X509SubjectKeyIdentifierClause.TryCreateFrom(x509Token.Certificate, out x509KeyIdentifierClause)) 102if (X509SubjectKeyIdentifierClause.TryCreateFrom(windowsX509Token.Certificate, out x509KeyIdentifierClause))
System\ServiceModel\Security\WrappedX509SecurityTokenAuthenticator.cs (1)
82tokenToCache = new X509SecurityToken( x509Token.Certificate );
System\ServiceModel\Security\WSSecurityJan2004.cs (2)
635rawData = x509Token.Certificate.GetRawCertData(); 639rawData = ((X509WindowsSecurityToken)token).Certificate.GetRawCertData();