pub fn sign_span_commitment(
commitment: &SpanCommitment,
signing_key: &SigningKey,
kid: String,
) -> Result<Signature, SignatureError>Expand description
Signs a span commitment.
This is a convenience function that:
- Canonicalizes the commitment
- Computes SHA-256 hash
- Signs the hash