Skip to content

Conversation

KostasTsiounis
Copy link
Member

The ECPrivateKey class is refactored to consolidate a single point of performing encoding operations.

Functionality is added to allow saving the public key if provided with the private key encoding.

Signed-off-by: Kostas Tsiounis [email protected]

Copy link
Member

@johnpeck-us-ibm johnpeck-us-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are testing Key import we should try importing the key from SunEC as well. Also, having some hard coded encodings and importing from those is another good test.

@KostasTsiounis
Copy link
Member Author

If we are testing Key import we should try importing the key from SunEC as well. Also, having some hard coded encodings and importing from those is another good test.

We are already importing Sun and BC keys in the BaseTestECKeyImportInterop class. I can add some hard-coded ones for good measure though.

The ECPrivateKey class is refactored to consolidate
a single point of performing encoding operations.

Functionality is added to allow saving the public
key if provided with the private key encoding.

Signed-off-by: Kostas Tsiounis <[email protected]>
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