mirror of
https://github.com/apple/swift-certificates
synced 2026-11-22 04:20:39 +00:00
8458a4ff72fd24a46894a5e2353b0d5fdb119775
Motivation We omitted RSA signing in the initial implementation. We should support it. As part of this, we need to decouple the idea that we know what the digest algorithm is based solely on the key type. There's no particular reason not to support ECDSA with SHA256 when using a P521 key, so we need to tolerate that as well. Modifications - Explicitly pass the signature algorithm to our various cryptographic operations. - Add a Digest type to handle the various digest types we create. - Add tests for the various cross products. Results RSA signing works, as do weirder flavours of ECDSA.
swift-certificates
A description of this package.
Description
Mirror of github.com/apple/swift-certificates
3.1 MiB
0 Stars
1 Watchers
0 Forks
Languages
Swift
99.1%
CMake
0.8%