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