8 references to SecurityTokenValidationException
System.ServiceModel.Primitives (8)
System\IdentityModel\Selectors\SecurityTokenAuthenticator.cs (2)
36
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SecurityTokenValidationException
(SRP.Format(SRP.CannotValidateSecurityTokenType, this, token.GetType())));
60
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SecurityTokenValidationException
(errorMsg));
System\IdentityModel\Selectors\X509CertificateValidator.cs (5)
158
exception = new
SecurityTokenValidationException
(SRP.Format(SRP.X509InvalidUsageTime,
165
exception = new
SecurityTokenValidationException
(SRP.Format(SRP.X509IsNotInTrustedStore,
172
exception = new
SecurityTokenValidationException
(SRP.Format(SRP.X509IsInUntrustedStore,
218
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SecurityTokenValidationException
(SRP.Format(SRP.X509ChainBuildFail,
276
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SecurityTokenValidationException
(exception.Message + " " + ex.Message));
System\ServiceModel\Security\Tokens\SecurityContextTokenValidationException.cs (1)
14
public SecurityContextTokenValidationException(string message) :
base
(message) { }