Files
swift-certificates/Sources
Cory Benfield 3ad34c910e Make expiry checking cheaper. (#85)
Currently, certificate verification is severely bottlenecked on
expiry checking. This bottleneck is almost entirely caused by converting
Time objects into Date objects via DateComponents.

We can reduce the cost of this by doing fewer transformations. Instead
of converting all the Time objects to Dates, we can convert a Date to
a GeneralizedTime and then do all comparisons in GeneralizedTime space.

This vastly reduces the cost of cert validation.
2023-05-18 12:50:30 +01:00
..
2023-05-18 12:50:30 +01:00
2023-03-02 14:11:09 -08:00