Commit Graph
28 Commits
Author SHA1 Message Date
Joey b3aaa046fa Documentation - Typos (#24) 2023-04-11 00:39:26 -07:00
Dave Poirier 155b8acdb2 Changed scope of PEMDocument to public (#22) 2023-03-23 10:30:15 +00:00
Cory Benfield 8fb2cd7edc Add support for serializing raw bytes.
In rare cases it's necessary for users to be able to do an end-run
around the serializer. This is most common in cases where some bytes
have had a signature calculated over them, and they are being
re-encoded. Even though DER is unambiguous, the ASN.1 objects themselves
may not be, and may permit multiple valid encodings. Allowing the bytes
to be re-serialized as they were preserves the integrity of the
signature.
2023-03-08 09:06:29 +00:00
Saleem Abdulrasool eb470005ae build: add in dispatch search (#18)
When building against a build tree artifact for Foundation, we need to add the build tree artifacts of dispatch as that is an exposed dependency for Foundation.
2023-03-02 20:25:25 -08:00
David Nadoba 9d9a8a0c35 Fix review comments 2023-02-10 10:34:13 +01:00
David Nadoba 3794ff4734 Add < again 2023-02-09 06:59:35 +01:00
David Nadoba 321a1076ac Fix review comments 2023-02-08 18:09:17 +01:00
David Nadoba e5ebc6fcb6 rename ASN1BytesComparable to ASN1SetElement 2023-02-08 15:45:29 +01:00
David Nadoba 70d18b6847 SET OF de/serialization 2023-02-07 14:19:10 +01:00
Cory Benfield 658011c966 Further code review 2023-02-06 10:41:39 +00:00
Cory Benfield 85d12f6c3b Code review feedback 2023-02-06 10:24:04 +00:00
Cory Benfield 0fa1d76282 Move to struct-backed error pattern 2023-02-03 10:37:10 +00:00
David Nadoba 4363483e72 Add support for implicitly tagged optional fields 2023-02-02 14:49:58 +01:00
Yim Lee 4009d67f25 Add license header check for cmake files 2023-01-25 15:56:37 -08:00
Yim Lee 0f873377cd Set up CMake build 2023-01-25 13:49:19 -08:00
David Nadoba cfeb75ac80 Fix soundness
File extension of the CONTRIBUTORS file is `.txt` not `.md`
2022-11-30 11:17:30 +01:00
David Nadoba 080ce9bdc8 Use correct project name in license header
And add missing header in one file
2022-11-24 22:52:31 +01:00
Cory Benfield eb11d30c1d Remove constructed/primitive from the tag type
Constructed/primitive is an artefact of the encoder, not of the tag, so
we should remove it from the tag type itself.
2022-11-18 15:33:46 +00:00
Cory Benfield 8fb2002b4f Clarify unexpectedFieldType 2022-11-18 14:43:36 +00:00
Cory Benfield d52b14f90f Tolerate single-component OIDs 2022-11-18 14:42:26 +00:00
Cory Benfield a8bcd18f13 Simpler OID decoder 2022-11-17 18:42:47 +00:00
Cory Benfield e30f8d297d Move testing types to tests 2022-11-17 17:53:20 +00:00
Cory Benfield 10327060c5 Miscellaneous cleanups 2022-11-17 17:30:23 +00:00
Cory Benfield 5d785ab44a Clean up some typos 2022-11-17 17:25:02 +00:00
Cory Benfield 099c2574e3 Remove the ASN1 namespace 2022-11-17 17:20:09 +00:00
Cory Benfield 87aa5246b2 Better ASN1Any printed representation 2022-11-17 09:47:55 +00:00
Cory Benfield 11f0617fac Better OID string representation 2022-11-16 16:41:23 +00:00
Cory Benfield 81b7d4dc72 Initial commit 2022-11-15 10:31:11 +01:00