JOSE.JWK
JWK stands for Json Web Key. This module parses the record definition in
:jose_jwk
and eases the transition between Erlang/Elixir.
It provides several utilities for creating/decoding key structs from files, pem representation, binary and etc. It also provides mechanisms for signing and verifying data.
Summary
Generates a key from a pem representation (Privacy Enhanced Email) in binary
Same as from_pem/1
but with a password used to unlock it
Generates a key from reading a pem representation from a file
Same as from_pem_file/1
but with a password to unlock it
Converts a :jose_jwk
record into a JOSE.JWK
Converts a JOSE.JWK
struct to a :jose_jwk
record
Types
t :: %JOSE.JWK{fields: term, keys: term, kty: term}
Functions
Same as from_pem/1
but with a password used to unlock it.
Same as from_pem_file/1
but with a password to unlock it.
Converts a :jose_jwk
record into a JOSE.JWK
.
Converts a JOSE.JWK
struct to a :jose_jwk
record.