pub fn sign_cdp_jwt(
api_key: &str,
pem_secret: &str,
accept: &Value,
) -> Result<String, Box<dyn Error>>Expand description
0.6.2 — CDP-JWT (ES256/P-256) signer. Uses the p256 crate (added to dependencies). Pure Rust;
no openssl FFI. Header: {alg:‘ES256’, kid:<api_key>, typ:‘JWT’, nonce: