-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Add RSA Key Converters #6494
Copy link
Copy link
Closed
Labels
in: cryptoAn issue in spring-security-cryptoAn issue in spring-security-cryptotype: enhancementA general enhancementA general enhancement
Milestone
Metadata
Metadata
Assignees
Labels
in: cryptoAn issue in spring-security-cryptoAn issue in spring-security-cryptotype: enhancementA general enhancementA general enhancement
Type
Fields
Give feedbackNo fields configured for issues without a type.
Spring Security supports supplying an RSA public key in its OAuth 2.0 APIs.
Local keys, though, are often distributed in files or as a PEM-encoded configuration property. It would be nice to have some support for converting an encoded RSA key into the appropriate JCA instance, e.g.
RSAPublicKey.One way to do this would be by using the
Converterinterface:Which then users could use directly or could be registered with a
ConversionService.