Cory Benfield 8458a4ff72 Enable RSA signing support.
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.
2023-02-10 16:55:39 +00:00
2023-01-17 20:29:17 +01:00
2023-02-10 16:55:39 +00:00
2022-11-16 15:50:52 +01:00
2022-11-16 15:50:52 +01:00
2022-11-16 15:50:52 +01:00

swift-certificates

A description of this package.

S
Description
Mirror of github.com/apple/swift-certificates
Readme Apache-2.0
3.1 MiB
0 Stars 1 Watchers 0 Forks
Languages
Swift 99.1%
CMake 0.8%