mirror of
https://github.com/apple/swift-certificates
synced 2026-11-24 04:27:49 +00:00
This PR introduces two key changes to improve flexibility when working with signatures in swift-certificates. Previously, it was only possible to verify signatures using `Certificate.PrivateKey`, but not to generate them. - The internal `sign(bytes:signatureAlgorithm:)` method on `Certificate.PrivateKey` is now public, allowing users to generate signatures directly. - `Certificate.Signature` gains a new `rawRepresentation` property that exposes the raw byte representation of a signature.