Commit a05ab8e
authored
Add X509 certificate decoder (#1871)
* Initial implementation
* - Add RelativeDistinguishedName::Value parsing
- Add format options for validity fields
* - Move internal implementation to its own namespace
- Implement the rest of the methods
* - Improve the API
- Add tests
* - Update `X509Algorithm` values
- Add more values to `X520DistinguishedName`
- Add more values to `X509ExtensionType`
- Add `X509SerialNumber` class to parse serial numbers
- Add tests
- Add a script to generate certs
* - Add methods to catch ASN.1 read exceptions and throw an appropriate X509 exception
- Add invalid tests
* - Run clang-format
- Add to README.md
* Add doxygen documentation
* Add doxygen documentation for enum values
* Add missing doxygen documentation
* Add remaining doxygen documentation
* Add tests for the ASN.1 changes
* Fmt
* Fix variable type
* - Address build errors on MSVC
- Fix doxygen warning
* Fix most of the memory leaks in MSVC
* Fix remaining memory leaks
* Skip long expiration test in MinGW 32-bit
* Address PR comments
* Address PR comment1 parent 01731d8 commit a05ab8e
File tree
22 files changed
+2551
-2
lines changed- Packet++
- header
- src
- Tests/Packet++Test
- CodeGenerators
- PacketExamples
- Tests
22 files changed
+2551
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| 144 | + | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| |||
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
156 | | - | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
| 161 | + | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
853 | 860 | | |
854 | 861 | | |
855 | 862 | | |
| |||
0 commit comments