- Notifications
You must be signed in to change notification settings - Fork5.1k
Memoize some CngKey standard properties#99053
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ghost commentedFeb 28, 2024
Tagging subscribers to this area: @dotnet/area-system-security,@bartonjs,@vcsjones Issue DetailsThis memoizes some CngKey properties similar to what we did for KeySize in#89599 for performance. Accessing CNG key properties by Win32 have non-trivial performance characteristics since it results in an LRPC call. These properties are set during key creation time and cannot be changed after-the-fact, so storing them is reasonable. Closes#89821
|
...s/System.Security.Cryptography/src/System/Security/Cryptography/CngKey.StandardProperties.csShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
...s/System.Security.Cryptography/src/System/Security/Cryptography/CngKey.StandardProperties.cs OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
...s/System.Security.Cryptography/src/System/Security/Cryptography/CngKey.StandardProperties.cs OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
This memoizes some CngKey properties similar to what we did for KeySize in#89599 for performance. Accessing CNG key properties by Win32 have non-trivial performance characteristics since it results in an LRPC call. These properties are set during key creation time and cannot be changed after-the-fact, so storing them is reasonable.
Closes#89821