Skip to content

Prioritize converting RSA keys to RsaSecurityKeys over X509SecurityKey #3260

@GeoK

Description

@GeoK

JsonWebKeyConverter.TryConvertToSecurityKey method prioritizes TryConvertToX509SecurityKey over TryCreateToRsaSecurityKey for RSA keys.

We should consider switching the order as X509Data consumes more memory.
Posible alternative is to make TryConvertToX509SecurityKey and TryCreateToRsaSecurityKey public and allow developers to choose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementThe issue is a new featureInternalIndicates issue was opened by the IdentityModel team

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions