Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@miken32
Copy link

@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