ValidationParameters.AlgorithmValidator Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows overriding the delegate used to validate the cryptographic algorithm used.
public Microsoft.IdentityModel.Tokens.Experimental.AlgorithmValidationDelegate AlgorithmValidator { get; set; }
member this.AlgorithmValidator : Microsoft.IdentityModel.Tokens.Experimental.AlgorithmValidationDelegate with get, set
Public Property AlgorithmValidator As AlgorithmValidationDelegate
Property Value
Remarks
If no delegate is set, the default implementation will be used. The default checks the algorithm against the ValidAlgorithms property, if present. If not, it will succeed.