Skip to content

How do I check that the key is legacy #21538

Answered by mattcaswell
beldmit asked this question in Q&A
Discussion options

You must be logged in to vote

EVP_PKEY_get0_provider() will return a reference to a provider associated with the key or NULL if there is none (implying it is blank or legacy).

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by beldmit
Comment options

beldmit
Jul 24, 2023
Collaborator Author

You must be logged in to vote
2 replies
@mattcaswell
Comment options

@beldmit
Comment options

beldmit Jul 24, 2023
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants