-
Notifications
You must be signed in to change notification settings - Fork 409
IDX10690
Maria Furman edited this page Mar 24, 2020
·
3 revisions
IDX10690: ECDsa creation is not supported by NETSTANDARD1_4, when running on platforms other than Windows.
In the case of Wilson 5.x, this exception message can be generated when constructing an 'AsymmetricSignatureProvider', using 'JsonWebKey' with the key type set to EllipticCurve ("EC"), and when targeting netstandard-1.4 and running on platforms other than Windows.
Since netstandard1.4 was removed from Wilson 6.x, in theory, this exception message should never be reached.
'ECParameters' struct is not supported by netstandard-1.4 and hence it's not possible to import elliptic curve parameters.
Solution: For 5.x users, reference IdentityModel's netstandard-2.0 target in your project.
Conceptual Documentation
- Using TokenValidationParameters.ValidateIssuerSigningKey
- Scenarios
- Validating tokens
- Outbound policy claim type mapping
- How ASP.NET Core uses Microsoft.IdentityModel extensions for .NET
- Using a custom CryptoProvider
- SignedHttpRequest aka PoP (Proof-of-Possession)
- Creating and Validating JWEs (Json Web Encryptions)
- Caching in Microsoft.IdentityModel
- Resiliency on metadata refresh
- Use KeyVault extensions
- Signing key roll over