JOSE.JWS

Summary

Types

t :: %JOSE.JWS{alg: term, b64: term, fields: term}

Functions

compact(signed)
expand(signed)
from(any)
from_binary(binary)
from_file(file)
from_map(map)
from_record(jose_jws)

Converts a :jose_jws record into a JOSE.JWS.

peek(signed)
peek_payload(signed)
peek_protected(signed)
sign(jwk, plain_text, jws)
sign(jwk, plain_text, header, jws)
signing_input(payload, jws)
signing_input(payload, protected, jws)
to_binary(any)
to_file(file, any)
to_map(any)
to_record(j_w_s)

Converts a JOSE.JWS struct to a :jose_jws record.

verify(key, signed)
verify_strict(key, allow, signed)