31 references to X509SecurityToken
System.IdentityModel (21)
System\IdentityModel\Configuration\IdentityConfiguration.cs (2)
325
new SecurityToken[] { new
X509SecurityToken
(this.ServiceCertificate) }), false);
355
tokens[i] = new
X509SecurityToken
(this.KnownIssuerCertificates[i]);
System\IdentityModel\Selectors\X509SecurityTokenProvider.cs (1)
62
return new
X509SecurityToken
(this.certificate);
System\IdentityModel\Tokens\IssuerTokenResolver.cs (1)
142
token = new
X509SecurityToken
( new X509Certificate2( rawDataClause.GetX509RawData() ) );
System\IdentityModel\Tokens\SamlSerializer.cs (1)
240
token = new
X509SecurityToken
(new X509Certificate2(rawDataKeyIdentifierClause.GetX509RawData()));
System\IdentityModel\Tokens\X509CertificateStoreTokenResolver.cs (4)
177
token = new
X509SecurityToken
(cert);
184
token = new
X509SecurityToken
(cert);
191
token = new
X509SecurityToken
(cert);
198
token = new
X509SecurityToken
(cert);
System\IdentityModel\Tokens\X509EncryptingCredentials.cs (4)
23
: this(new
X509SecurityToken
(certificate))
33
: this(new
X509SecurityToken
(certificate), keyWrappingAlgorithm)
43
: this(new
X509SecurityToken
(certificate), ski, SecurityAlgorithms.DefaultAsymmetricKeyWrapAlgorithm)
54
: this(new
X509SecurityToken
(certificate), ski, keyWrappingAlgorithm)
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (1)
472
new
X509SecurityToken
(new X509Certificate2(binaryData)) :
System\IdentityModel\Tokens\X509SigningCredentials.cs (5)
26
new SecurityKeyIdentifier((new
X509SecurityToken
(certificate)).CreateKeyIdentifierClause<X509RawDataKeyIdentifierClause>()))
52
new
X509SecurityToken
(certificate),
53
new SecurityKeyIdentifier((new
X509SecurityToken
(certificate)).CreateKeyIdentifierClause<X509RawDataKeyIdentifierClause>()),
88
: this(new
X509SecurityToken
(certificate), ski, SecurityAlgorithms.DefaultAsymmetricSignatureAlgorithm, SecurityAlgorithms.DefaultDigestAlgorithm)
106
: this(new
X509SecurityToken
(certificate), ski, signatureAlgorithm, digestAlgorithm)
System\IdentityModel\X509Util.cs (2)
143
using (X509SecurityToken token = new
X509SecurityToken
(elements[1].Certificate))
151
using (X509SecurityToken token = new
X509SecurityToken
(certificate))
System.ServiceModel (10)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
685
SecurityToken token = new
X509SecurityToken
(this.clientCertificate);
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (2)
423
outOfBandTokens.Add( new
X509SecurityToken
( base.ServiceCredentials.ServiceCertificate.Certificate ) );
430
outOfBandTokens.Add( new
X509SecurityToken
( base.ServiceCredentials.IssuedTokenAuthentication.KnownCertificates[i]));
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (1)
197
resolvedToken = new
X509SecurityToken
(new X509Certificate2(((X509RawDataKeyIdentifierClause)keyIdentifierClause).GetX509RawData()));
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (2)
255
outOfBandTokens.Add(new
X509SecurityToken
(parent.ServiceCertificate.Certificate));
262
outOfBandTokens.Add(new
X509SecurityToken
(parent.IssuedTokenAuthentication.KnownCertificates[i]));
System\ServiceModel\Security\TlsnegoTokenAuthenticator.cs (1)
236
clientToken = new
X509SecurityToken
(clientCertificate);
System\ServiceModel\Security\WrappedX509SecurityTokenAuthenticator.cs (1)
82
tokenToCache = new
X509SecurityToken
( x509Token.Certificate );
System\ServiceModel\Security\WSTrustChannelFactory.cs (1)
490
clientCredentialTokens.Add(new
X509SecurityToken
(factoryCredentials.ClientCertificate.Certificate));
System\ServiceModel\Security\WSTrustServiceContract.cs (1)
160
serviceTokens.Add(new
X509SecurityToken
(serviceCreds.ServiceCertificate.Certificate));