View Source jose_jws_alg behaviour (JOSE v1.11.9)

Summary

Callbacks

-callback generate_key(ALG, Fields) -> JWK when ALG :: any(), Fields :: map(), JWK :: jose_jwk:key().
-callback presign(Key, ALG) -> NewALG when Key :: any(), ALG :: any(), NewALG :: any().
-callback sign(Key, Message, ALG) -> Signature
        when Key :: any(), Message :: iodata(), ALG :: any(), Signature :: iodata().
-callback verify(Key, Message, Signature, ALG) -> boolean()
          when Key :: any(), Message :: iodata(), Signature :: iodata(), ALG :: any().

Functions

Link to this function

generate_key(Parameters, Algorithm)

View Source