Function truelayer_signing::sign_with_pem [−][src]
Expand description
Start building a request Tl-Signature
header value using private key
pem data & the key’s kid
.
Example
let tl_signature = truelayer_signing::sign_with_pem(kid, private_key)
.method("POST")
.path("/payouts")
.header("Idempotency-Key", idempotency_key)
.body(body)
.sign()?;