Files
swift-asn1/Sources
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
..