Skip to content

fix some IDE complaints#4

Open
miken32 wants to merge 2 commits intosop:masterfrom
miken32:master
Open

fix some IDE complaints#4
miken32 wants to merge 2 commits intosop:masterfrom
miken32:master

Conversation

@miken32
Copy link
Copy Markdown

@miken32 miken32 commented Sep 17, 2025

See #3 for details.

None of the other classes use the more specific AsymmetricCryptoAlgorithmIdentifier for their properties, so e.g. return from OneAsymmetricKey::algorithmIdentifier() can't be used without IDE complaints. The switch statement will still weed out incorrect arguments
`PrivateKeyInfo` inherits from `OneAsymmetricKey` with no changes. This call should expect the less specific type since that's what other methods (e.g. `PrivateKeyInfo::fromPEM()`) return
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.

1 participant