Module jwk

RFC 7517: JSON Web Key (JWK).

Description

RFC 7517: JSON Web Key (JWK)

Data Types

id()

id() = binary()

json()

json() = binary()

pem()

pem() = binary()

public_key()

public_key() = #'RSAPublicKey'{} | pem()

Function Index

decode/2decode JWK to Erlang/OTP Key.
encode/2encode Erlang/OTP Key to JWK.

Function Details

decode/2

decode(Id::id(), Json::json()) -> {ok, public_key()} | {error, term()}

decode JWK to Erlang/OTP Key

encode/2

encode(Id::id(), PEM::public_key()) -> {ok, json()} | {error, term()}

encode Erlang/OTP Key to JWK


Generated by EDoc