Files
swift-certificates/Sources
Cory Benfield d66a9f7e23 Remove the "from parts" Certificate constructor. (#88)
The "from parts" Certificate constructor has existed for a while. As noted
in the docstring, it was originally added for testing and validation
purposes. However, it's not very useful for that purpose.

For one thing, many of the constitutuent parts are not actually directly
constructible. For example, one cannot create a Signature type directly.

For another thing, invalid Certificate handling tests probably want to be
able to construct Certificates that are invalid in a number of interesting
ways, and so will want to use the DER representation to do so.

As a result, this intializer is not broadly useful: even this library
doesn't use it for testing. Let's remove it.
2023-05-25 18:13:03 +01:00
..
2023-03-02 14:11:09 -08:00