-
Notifications
You must be signed in to change notification settings - Fork 30
Consolidate API names related to Key #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: qmuntal <[email protected]>
Signed-off-by: qmuntal <[email protected]>
Signed-off-by: qmuntal <[email protected]>
Signed-off-by: qmuntal <[email protected]>
Signed-off-by: qmuntal <[email protected]>
Signed-off-by: qmuntal <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #161 +/- ##
==========================================
+ Coverage 93.59% 93.80% +0.20%
==========================================
Files 11 11
Lines 1687 1695 +8
==========================================
+ Hits 1579 1590 +11
+ Misses 75 72 -3
Partials 33 33
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
yogeshbdeshpande
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
@qmuntal : Thomas is on a long vacation. Please get the necessary comments from @shizhMSFT and then proceed with submission. |
shizhMSFT
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR contain the following changes:
NewXKeytoNewKeyX, being X the key type. This form is more idiomatic.Keyprefix from Key properties. It is go-ish to avoid prefixing the name of a property with the name of the struct.XInvalidtoXReserved, being XKeyType,Curve,KeyOpandAlgorithm. This makes our API more similar to the COSE spec naming.