<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.19.2" />

Microsoft.IdentityModel.Tokens.Experimental.SignatureKeyValidationError

Represents a validation error when the SecurityKey that signed the SecurityTokenis not valid. If available, the invalid signing key is stored in InvalidSigningKey.
protected SecurityKey InvalidSigningKey { get; }

The signing key that was found invalid.

public SignatureKeyValidationError(MessageDetail messageDetail, ValidationFailureType validationFailure, StackFrame stackFrame, SecurityKey invalidSigningKey)

Initializes a new instance of the SignatureKeyValidationError class.

public SignatureKeyValidationError(MessageDetail messageDetail, ValidationFailureType validationFailure, StackFrame stackFrame, SecurityKey invalidSigningKey, Exception innerException)

Initializes a new instance of the SignatureKeyValidationError class.