Skip to content

Latest commit

 

History

History
46 lines (24 loc) · 1.04 KB

jwt_ecdsa.md

File metadata and controls

46 lines (24 loc) · 1.04 KB

Module jwt_ecdsa

Elliptic curve digital signature algorithm.

Description

Helper functions for encoding/decoding ECDSA signature

Function Index

signature/1Signature for JWT verification.
signature/3Signature to sign JWT.

Function Details

signature/1

signature(Base64Sig) -> any()

Signature for JWT verification

Transcode the ECDSA Base64-encoded signature into ASN.1/DER format

signature/3

signature(Payload, Crypto, Key) -> any()

Signature to sign JWT

Transcodes the JCA ASN.1/DER-encoded signature into the concatenated R + S format a.k.a raw format