Skip to content

Conversation

@exceptionfactory
Copy link
Contributor

@exceptionfactory exceptionfactory commented Feb 17, 2025

This pull request refactors construction of ECDSA public and private key objects using standard Java Cryptography Architecture classes in place of Bouncy Castle classes.

These changes address some of the concerns raised in issue #973, reducing direct references to the Bouncy Castle library. Separate work is required to address other Bouncy Castle references.

The implementation introduces a new shared ECDSAKeyFactory class with methods for constructing PrivateKey and PublicKey objects from source material and the associated NIST Elliptic Curve. This approach reduces duplicated code from several methods that create ECDSA key objects.

- Replaced Bouncy Castle with Java Security components for ECDSA Key Specifications
@hierynomus hierynomus merged commit 5ff27ec into hierynomus:master Feb 18, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants