-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Use ref struct key loaders
#125528
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
Open
vcsjones
wants to merge
34
commits into
dotnet:main
Choose a base branch
from
vcsjones:asn-value-key-loaders
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,549
−1,448
Open
Use ref struct key loaders
#125528
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
2562415
First set of key loaders to use value-type reading
vcsjones a2bcda3
Migrates DSA SPKI
vcsjones d4e4e01
Move parts of RSA public key loading to value loader
vcsjones f83e2e7
Fix encoding of unknown algorithms
vcsjones aafa60b
Move more RSA public key reading to value readers
vcsjones f932e37
Remove dead reader code
vcsjones 203b608
Remove unused memory reader
vcsjones b965e1e
Remove now unused code
vcsjones 7d84a90
Value struct support for PasswordBasedEncryption
vcsjones 6e809d2
Spanify DSA key loader
vcsjones c8acec4
Spanify RSA key loaded
vcsjones f477580
Tweak some types for future reading
vcsjones 2abb5cf
Value-ify ML-KEM PKCS#8 export
vcsjones 37bdfdf
Move Choice tag validation to file-scoped Validate class
vcsjones d19b823
Value reader and writer for ML-DSA only
vcsjones 5d6b550
Move ECC key helpers
vcsjones 16af805
Remove unused memory-based readers
vcsjones 45bd2eb
Keep torching old readers
vcsjones 45a0315
Done! Maybe? Hopefully.
vcsjones 4dd9d87
Get rid of PointerMemoryManager in Android RSA key loader
vcsjones 86ae7fb
Fix BOM
vcsjones 873e05f
Remove value builder since we didn't end up using it... yet
vcsjones 959d34f
Convert several loaders to be ref only
vcsjones 7459a29
Change ECPrivateKey and dependent types to ref-only
vcsjones 08e38e8
Remove unused attributes
vcsjones dce0681
Add back validation for ref-struct only emitted types
vcsjones 020110a
Actually do validation
vcsjones 60ba8d8
Fix tests
vcsjones 5b44256
Back to key reader
vcsjones d57e61c
Add whitespace in the generated C#
vcsjones 06e2428
Put the BOM back.
vcsjones b2727b6
Fix missing HasParameter assignments, fix missing slice
vcsjones 4823899
Change optional fields to avoid torn values
vcsjones 9c25918
Apply suggestion from @vcsjones
vcsjones File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.