pub fn sign_detached_es256(
signing_key: &SigningKey,
kid: Option<&str>,
external_payload: &[u8],
) -> SignatifResult<String>Expand description
Sign the detached input with ECDSA P-256 (ES256). JWS ES256
signatures are the P1363-style fixed-width 64-byte r || s
encoding (RFC 7515 §3.4), not DER.
§Errors
Encoding errors from the signing input.