Skip to content

use less specific argument type#10

Open
miken32 wants to merge 1 commit into
sop:masterfrom
miken32:master
Open

use less specific argument type#10
miken32 wants to merge 1 commit into
sop:masterfrom
miken32:master

Conversation

@miken32

@miken32 miken32 commented Sep 17, 2025

Copy link
Copy Markdown

You can't get an instance of PublicKeyInfo very easily since e.g. PublicKeyInfo::fromPEM() returns an instance of OneAsymmetricKey. Since both classes are identical, just use the less specific one.

You can't get an instance of `PublicKeyInfo` very easily since e.g. `PublicKeyInfo::fromPEM()` returns an instance of `OneAsymmetricKey`.
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