Search documentation of JOSE
JOSE
▼
Project version
v1.11.10
v1.11.9
v1.11.8
v1.11.7
v1.11.6
v1.11.5
v1.11.4
v1.11.2
v1.11.1
v1.11.0
v1.10.1
v1.10.0
v1.9.0
v1.8.4
v1.8.3
v1.8.2
v1.8.1
v1.8.0
v1.7.9
v1.7.8
v1.7.7
v1.7.6
v1.7.5
v1.7.4
v1.7.3
v1.7.2
v1.7.1
v1.7.0
v1.6.1
v1.6.0
v1.5.2
v1.5.1
v1.5.0
v1.4.2
v1.4.1
v1.4.0
v1.3.0
v1.2.0
Pages
Modules
API Reference
Modules
JOSE
Installation
Usage
Algorithm Support
Changelog
1.11.10 (2024-04-17)
1.11.9 (2024-04-08)
1.11.8 (2024-04-07)
1.11.7 (2024-04-07)
1.11.6 (2023-07-18)
1.11.5 (2022-12-16)
1.11.4 (2022-12-15)
1.11.3 (2022-08-28) - unreleased
1.11.2 (2021-08-06)
1.11.1 (2020-12-23)
1.11.0 (2020-11-24)
1.10.1 (2020-01-08)
1.10.0 (2020-01-03)
1.9.0 (2018-12-31)
1.8.4 (2017-05-18)
1.8.3 (2017-03-30)
1.8.2 (2017-03-15)
1.8.1 (2017-02-02)
1.8.0 (2016-08-08)
1.7.9 (2016-07-13)
1.7.8 (2016-07-08)
1.7.7 (2016-06-30)
1.7.6 (2016-06-29)
1.7.5 (2016-05-13)
1.7.4 (2016-05-13)
1.7.3 (2016-03-17)
1.7.2 (2016-03-16)
1.7.1 (2016-03-08)
1.7.0 (2016-03-01)
1.6.1 (2016-02-05)
1.6.0 (2016-01-20)
1.5.2 (2016-01-19)
1.5.1 (2016-01-16)
1.5.0 (2016-01-16)
1.4.2 (2015-11-30)
1.4.1 (2015-11-18)
1.4.0 (2015-11-17)
1.3.0 (2015-09-22)
1.2.0 (2015-08-14)
1.1.3 (2015-08-10)
1.1.2 (2015-08-10)
1.1.1 (2015-08-07)
1.1.0 (2015-08-06)
1.0.1 (2015-08-05)
1.0.0 (2015-08-05)
Examples: Key Generation
EC
oct
OKP
RSA
Algorithms
Elixir
JOSE
Summary
Functions
chacha20_poly1305_module/0
chacha20_poly1305_module/1
crypto_fallback/0
crypto_fallback/1
curve448_module/0
curve448_module/1
curve25519_module/0
curve25519_module/1
decode/1
encode/1
json_module/0
json_module/1
sha3_module/0
sha3_module/1
unsecured_signing/0
unsecured_signing/1
JOSE.JWA
Sections
Cryptographic Algorithm Fallback
Summary
Functions
block_cipher/1
block_decrypt/3
block_decrypt/4
block_encrypt/3
block_encrypt/4
constant_time_compare/2
crypto_ciphers/0
crypto_fallback/0
crypto_fallback/1
crypto_supports/0
decrypt_private/3
ec_key_mode/0
encrypt_public/3
is_block_cipher_supported/1
is_chacha20_poly1305_supported/0
is_rsa_crypt_supported/1
is_rsa_sign_supported/1
sign/4
supports/0
unsecured_signing/0
unsecured_signing/1
verify/5
JOSE.JWE
Sections
Key Derivation Algorithms
Encryption Algorithms
Compression Algorithms
Key Derivation Examples
Encryption Examples
Compression Examples
Summary
Types
t/0
Functions
block_decrypt/2
block_encrypt/3
block_encrypt/4
block_encrypt/5
compact/1
compress/2
expand/1
from/1
from_binary/1
from_file/1
from_map/1
from_record/1
generate_key/1
key_decrypt/3
key_encrypt/3
merge/2
next_cek/2
next_iv/1
to_binary/1
to_file/2
to_map/1
to_record/1
uncompress/2
JOSE.JWK
Summary
Types
t/0
Functions
block_decrypt/2
block_encrypt/2
block_encrypt/3
block_encryptor/1
box_decrypt/2
box_decrypt_ecdh_1pu/3
box_decrypt_ecdh_es/2
box_decrypt_ecdh_ss/2
box_encrypt/2
box_encrypt/3
box_encrypt/4
box_encrypt_ecdh_1pu/3
box_encrypt_ecdh_1pu/4
box_encrypt_ecdh_1pu/5
box_encrypt_ecdh_es/2
box_encrypt_ecdh_es/3
box_encrypt_ecdh_es/4
box_encrypt_ecdh_ss/2
box_encrypt_ecdh_ss/3
box_encrypt_ecdh_ss/4
from/1
from/2
from_binary/1
from_binary/2
from_der/1
from_der/2
from_der_file/1
from_der_file/2
from_file/1
from_file/2
from_firebase/1
from_key/1
from_map/1
from_map/2
from_oct/1
from_oct/2
from_oct_file/1
from_oct_file/2
from_okp/1
from_openssh_key/1
from_openssh_key_file/1
from_pem/1
from_pem/2
from_pem_file/1
from_pem_file/2
from_record/1
generate_key/1
merge/2
shared_secret/2
sign/2
sign/3
signer/1
thumbprint/1
thumbprint/2
to_binary/1
to_binary/2
to_binary/3
to_der/1
to_der/2
to_der_file/2
to_der_file/3
to_file/2
to_file/3
to_file/4
to_key/1
to_map/1
to_map/2
to_map/3
to_oct/1
to_oct/2
to_oct/3
to_oct_file/2
to_oct_file/3
to_oct_file/4
to_okp/1
to_openssh_key/1
to_openssh_key_file/2
to_pem/1
to_pem/2
to_pem_file/2
to_pem_file/3
to_public/1
to_public_file/2
to_public_key/1
to_public_map/1
to_record/1
to_thumbprint_map/1
verifier/1
verify/2
verify_strict/3
JOSE.JWS
Sections
Unsecured Signing Vulnerability
Strict Verification Recommended
Algorithms
Examples
Summary
Types
t/0
Functions
compact/1
expand/1
from/1
from_binary/1
from_file/1
from_map/1
from_record/1
generate_key/1
merge/2
peek/1
peek_payload/1
peek_protected/1
peek_signature/1
sign/3
sign/4
signing_input/2
signing_input/3
to_binary/1
to_file/2
to_map/1
to_record/1
verify/2
verify_strict/3
JOSE.JWT
Sections
Encryption Examples
Signature Examples
Summary
Types
t/0
Functions
decrypt/2
encrypt/2
encrypt/3
from/1
from_binary/1
from_file/1
from_map/1
from_record/1
merge/2
peek/1
peek_payload/1
peek_protected/1
sign/2
sign/3
to_binary/1
to_file/2
to_map/1
to_record/1
verify/2
verify_strict/3
JOSE.Poison
Summary
Functions
lexical_encode!/2
JOSE.Poison.LexicalEncodeError
Summary
Types
t/0
JOSE.Poison.LexicalEncoder
Summary
Types
options/0
t/0
Functions
encode/2
Erlang
jose
Summary
Functions
chacha20_poly1305_module/0
chacha20_poly1305_module/1
crypto_fallback/0
crypto_fallback/1
curve448_module/0
curve448_module/1
curve25519_module/0
curve25519_module/1
decode/1
encode/1
json_module/0
json_module/1
pbes2_count_maximum/0
pbes2_count_maximum/1
sha3_module/0
sha3_module/1
start/0
unsecured_signing/0
unsecured_signing/1
xchacha20_poly1305_module/0
xchacha20_poly1305_module/1
jose_app
Summary
Functions
config_change/3
start/2
stop/1
jose_base64
Summary
Functions
decode/1
decode/2
decode!/1
decode!/2
encode/1
encode/2
random/1
random/2
jose_base64url
Summary
Functions
decode/1
decode/2
decode!/1
decode!/2
encode/1
encode/2
random/1
random/2
jose_block_encryptor
Summary
Callbacks
block_decrypt/3
block_decrypt/4
block_encrypt/3
block_encrypt/4
jose_chacha20_poly1305
Summary
Types
additional_authenticated_data/0
chacha20_key/0
chacha20_nonce/0
cipher_text/0
message/0
plain_text/0
poly1305_mac/0
Callbacks
authenticate/3
decrypt/5
encrypt/4
verify/4
Functions
authenticate/3
block_decrypt/4
block_encrypt/4
decrypt/5
encrypt/4
verify/4
jose_chacha20_poly1305_crypto
Summary
Types
chacha20_key/0
chacha20_nonce/0
poly1305_otk/0
Functions
authenticate/3
decrypt/5
encrypt/4
poly1305_key_gen/2
verify/4
jose_chacha20_poly1305_libsodium
Summary
Functions
authenticate/3
decrypt/5
encrypt/4
verify/4
jose_chacha20_poly1305_unsupported
Summary
Functions
authenticate/3
decrypt/5
encrypt/4
verify/4
jose_crypto_compat
Summary
Functions
crypto_init/4
crypto_one_time/4
crypto_one_time/5
crypto_update_encrypt/2
mac/3
mac/4
mac/5
jose_curve25519
Summary
Types
context/0
eddsa_public_key/0
eddsa_secret_key/0
eddsa_seed/0
maybe_invalid_signature/0
message/0
signature/0
x25519_public_key/0
x25519_secret_key/0
x25519_seed/0
x25519_shared_secret/0
Callbacks
ed25519_sign/2
ed25519_verify/3
ed25519ctx_sign/3
ed25519ctx_verify/4
ed25519ph_sign/2
ed25519ph_sign/3
ed25519ph_verify/3
ed25519ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x25519_keypair/0
x25519_keypair/1
x25519_secret_to_public/1
x25519_shared_secret/2
Functions
ed25519_sign/2
ed25519_verify/3
ed25519ctx_sign/3
ed25519ctx_verify/4
ed25519ph_sign/2
ed25519ph_sign/3
ed25519ph_verify/3
ed25519ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x25519_keypair/0
x25519_keypair/1
x25519_secret_to_public/1
x25519_shared_secret/2
jose_curve25519_crypto
Summary
Functions
ed25519_sign/2
ed25519_verify/3
ed25519ctx_sign/3
ed25519ctx_verify/4
ed25519ph_sign/2
ed25519ph_sign/3
ed25519ph_verify/3
ed25519ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x25519_keypair/0
x25519_keypair/1
x25519_secret_to_public/1
x25519_shared_secret/2
jose_curve25519_fallback
Summary
Functions
ed25519_sign/2
ed25519_verify/3
ed25519ctx_sign/3
ed25519ctx_verify/4
ed25519ph_sign/2
ed25519ph_sign/3
ed25519ph_verify/3
ed25519ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x25519_keypair/0
x25519_keypair/1
x25519_secret_to_public/1
x25519_shared_secret/2
jose_curve25519_libdecaf
Summary
Functions
ed25519_sign/2
ed25519_verify/3
ed25519ctx_sign/3
ed25519ctx_verify/4
ed25519ph_sign/2
ed25519ph_sign/3
ed25519ph_verify/3
ed25519ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x25519_keypair/0
x25519_keypair/1
x25519_secret_to_public/1
x25519_shared_secret/2
jose_curve25519_libsodium
Summary
Functions
ed25519_sign/2
ed25519_verify/3
ed25519ctx_sign/3
ed25519ctx_verify/4
ed25519ph_sign/2
ed25519ph_sign/3
ed25519ph_verify/3
ed25519ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x25519_keypair/0
x25519_keypair/1
x25519_secret_to_public/1
x25519_shared_secret/2
jose_curve25519_unsupported
Summary
Functions
ed25519_sign/2
ed25519_verify/3
ed25519ctx_sign/3
ed25519ctx_verify/4
ed25519ph_sign/2
ed25519ph_sign/3
ed25519ph_verify/3
ed25519ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x25519_keypair/0
x25519_keypair/1
x25519_secret_to_public/1
x25519_shared_secret/2
jose_curve448
Summary
Types
context/0
eddsa_public_key/0
eddsa_secret_key/0
eddsa_seed/0
maybe_invalid_signature/0
message/0
signature/0
x448_public_key/0
x448_secret_key/0
x448_seed/0
x448_shared_secret/0
Callbacks
ed448_sign/2
ed448_sign/3
ed448_verify/3
ed448_verify/4
ed448ph_sign/2
ed448ph_sign/3
ed448ph_verify/3
ed448ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x448_keypair/0
x448_keypair/1
x448_secret_to_public/1
x448_shared_secret/2
Functions
ed448_sign/2
ed448_sign/3
ed448_verify/3
ed448_verify/4
ed448ph_sign/2
ed448ph_sign/3
ed448ph_verify/3
ed448ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x448_keypair/0
x448_keypair/1
x448_secret_to_public/1
x448_shared_secret/2
jose_curve448_crypto
Summary
Functions
ed448_sign/2
ed448_sign/3
ed448_verify/3
ed448_verify/4
ed448ph_sign/2
ed448ph_sign/3
ed448ph_verify/3
ed448ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x448_keypair/0
x448_keypair/1
x448_secret_to_public/1
x448_shared_secret/2
jose_curve448_fallback
Summary
Functions
ed448_sign/2
ed448_sign/3
ed448_verify/3
ed448_verify/4
ed448ph_sign/2
ed448ph_sign/3
ed448ph_verify/3
ed448ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x448_keypair/0
x448_keypair/1
x448_secret_to_public/1
x448_shared_secret/2
jose_curve448_libdecaf
Summary
Functions
ed448_sign/2
ed448_sign/3
ed448_verify/3
ed448_verify/4
ed448ph_sign/2
ed448ph_sign/3
ed448ph_verify/3
ed448ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x448_keypair/0
x448_keypair/1
x448_secret_to_public/1
x448_shared_secret/2
jose_curve448_unsupported
Summary
Functions
ed448_sign/2
ed448_sign/3
ed448_verify/3
ed448_verify/4
ed448ph_sign/2
ed448ph_sign/3
ed448ph_verify/3
ed448ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x448_keypair/0
x448_keypair/1
x448_secret_to_public/1
x448_shared_secret/2
jose_json
Summary
Callbacks
decode/1
encode/1
jose_json_jason
Summary
Functions
decode/1
encode/1
jose_json_jiffy
Summary
Functions
decode/1
encode/1
jose_json_jsone
Summary
Functions
decode/1
encode/1
jose_json_jsx
Summary
Functions
decode/1
encode/1
jose_json_ojson
Summary
Functions
decode/1
encode/1
jose_json_poison
Summary
Functions
decode/1
encode/1
jose_json_poison_compat_encoder
Summary
Functions
decode/1
encode/1
jose_json_poison_lexical_encoder
Summary
Functions
decode/1
encode/1
jose_json_thoas
Summary
Functions
decode/1
encode/1
jose_json_unsupported
Summary
Functions
decode/1
encode/1
jose_jwa
Summary
Functions
block_cipher/1
block_decrypt/3
block_decrypt/4
block_encrypt/3
block_encrypt/4
constant_time_compare/2
crypto_ciphers/0
crypto_fallback/0
crypto_fallback/1
crypto_supports/0
decrypt_private/3
ec_key_mode/0
encrypt_public/3
is_block_cipher_supported/1
is_chacha20_poly1305_supported/0
is_rsa_crypt_supported/1
is_rsa_sign_supported/1
is_xchacha20_poly1305_supported/0
sign/4
supports/0
unsecured_signing/0
unsecured_signing/1
verify/5
jose_jwa_aes
Summary
Functions
block_decrypt/3
block_decrypt/4
block_encrypt/3
block_encrypt/4
jose_jwa_aes_kw
Summary
Functions
unwrap/2
unwrap/3
wrap/2
wrap/3
jose_jwa_base64url
Summary
Functions
decode/1
encode/1
jose_jwa_bench
Summary
Types
arguments/0
arguments/1
arguments_function/1
arguments_list/1
metric/0
stats/0
Functions
bench/2
bench/3
compare/3
jose_jwa_chacha20
Summary
Functions
block/3
column_round/1
diagonal_round/1
encrypt/4
quarter_round/1
jose_jwa_chacha20_poly1305
Summary
Functions
authenticate/3
decrypt/5
encrypt/4
verify/4
jose_jwa_concat_kdf
Summary
Functions
kdf/3
kdf/4
jose_jwa_curve25519
Summary
Functions
ed25519_sign/2
ed25519_verify/3
ed25519ctx_sign/3
ed25519ctx_verify/4
ed25519ph_sign/2
ed25519ph_sign/3
ed25519ph_verify/3
ed25519ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x25519_keypair/0
x25519_keypair/1
x25519_secret_to_public/1
x25519_shared_secret/2
jose_jwa_curve448
Summary
Functions
ed448_sign/2
ed448_sign/3
ed448_verify/3
ed448_verify/4
ed448ph_sign/2
ed448ph_sign/3
ed448ph_verify/3
ed448ph_verify/4
eddsa_keypair/0
eddsa_keypair/1
eddsa_secret_to_public/1
x448_keypair/0
x448_keypair/1
x448_secret_to_public/1
x448_shared_secret/2
jose_jwa_ed25519
Summary
Functions
decode_point/1
dom2/2
ed25519_sign/2
ed25519_verify/3
ed25519ctx_sign/3
ed25519ctx_verify/4
ed25519ph_sign/2
ed25519ph_sign/3
ed25519ph_verify/3
ed25519ph_verify/4
edwards_add/2
edwards_double/1
edwards_equal/2
encode_point/1
keypair/0
keypair/1
normalize_point/1
pk_to_curve25519/1
scalarmult/2
scalarmult_base/1
secret/0
secret_to_curve25519/1
secret_to_pk/1
sign_internal/4
sk_to_curve25519/1
sk_to_pk/1
sk_to_secret/1
verify_internal/5
xrecover/1
jose_jwa_ed448
Summary
Functions
decode_point/1
dom4/2
ed448_sign/2
ed448_sign/3
ed448_verify/3
ed448_verify/4
ed448ph_sign/2
ed448ph_sign/3
ed448ph_verify/3
ed448ph_verify/4
edwards_add/2
edwards_double/1
edwards_equal/2
encode_point/1
keypair/0
keypair/1
normalize_point/1
pk_to_curve448/1
scalarmult/2
scalarmult_base/1
secret/0
secret_to_curve448/1
secret_to_pk/1
sign_internal/4
sk_to_curve448/1
sk_to_pk/1
sk_to_secret/1
verify_internal/5
xrecover/2
jose_jwa_hchacha20
Summary
Functions
hash/2
jose_jwa_math
Summary
Functions
expmod/3
exprem/3
intpow/2
mod/2
mod_pow/3
jose_jwa_pkcs1
Summary
Types
rsa_digest_type/0
rsa_hash_fun/0
rsa_private_key/0
rsa_public_key/0
Functions
decrypt_private/3
eme_oaep_decode/4
eme_oaep_encode/5
eme_pkcs1_decode/2
eme_pkcs1_encode/2
emsa_pkcs1_encode/4
emsa_pss_encode/3
emsa_pss_encode/4
emsa_pss_verify/4
emsa_pss_verify/5
encrypt_public/3
mgf1/3
rsaes_oaep_decrypt/3
rsaes_oaep_decrypt/4
rsaes_oaep_encrypt/3
rsaes_oaep_encrypt/4
rsaes_oaep_encrypt/5
rsaes_pkcs1_decrypt/2
rsaes_pkcs1_encrypt/2
rsassa_pkcs1_sign/3
rsassa_pkcs1_sign/4
rsassa_pkcs1_verify/4
rsassa_pkcs1_verify/5
rsassa_pss_sign/3
rsassa_pss_sign/4
rsassa_pss_verify/4
rsassa_pss_verify/5
sign/4
verify/5
jose_jwa_pkcs5
Summary
Functions
pbkdf1/3
pbkdf1/4
pbkdf1/5
pbkdf2/3
pbkdf2/4
pbkdf2/5
jose_jwa_pkcs7
Summary
Functions
pad/1
unpad/1
jose_jwa_poly1305
Summary
Functions
mac/2
mac_final/1
mac_init/1
mac_update/2
jose_jwa_sha3
Summary
Functions
keccak/5
keccak_absorb/4
keccak_f_1600/1
keccak_pad/4
load64/1
load_lanes/1
rol64/2
sha3_224/1
sha3_256/1
sha3_384/1
sha3_512/1
shake128/2
shake256/2
store64/1
store_lanes/1
jose_jwa_unsupported
Summary
Functions
block_decrypt/3
block_decrypt/4
block_encrypt/3
block_encrypt/4
decrypt_private/3
encrypt_public/3
sign/4
verify/5
jose_jwa_x25519
Summary
Functions
clamp_scalar/1
coordinate_to_edwards25519/1
curve25519/2
decode_scalar/1
keypair/0
keypair/1
montgomery_add/3
montgomery_double/1
scalarmult/2
scalarmult_base/1
sk_to_pk/1
x25519/2
x25519_base/1
jose_jwa_x448
Summary
Functions
clamp_scalar/1
coordinate_to_edwards448_4isogeny/1
curve448/2
decode_scalar/1
keypair/0
keypair/1
montgomery_add/3
montgomery_double/1
scalarmult/2
scalarmult_base/1
sk_to_pk/1
vrecover/1
x448/2
x448_base/1
xrecover/1
jose_jwa_xchacha20
Summary
Functions
encrypt/4
subkey_and_nonce/2
jose_jwa_xchacha20_poly1305
Summary
Functions
authenticate/3
decrypt/5
encrypt/4
verify/4
jose_jwe
Summary
Callbacks
from_map/1
to_map/2
Functions
block_decrypt/2
block_encrypt/3
block_encrypt/4
block_encrypt/5
compact/1
compress/2
expand/1
from/1
from_binary/1
from_file/1
from_map/1
generate_key/1
key_decrypt/3
key_encrypt/3
merge/2
next_cek/2
next_iv/1
to_binary/1
to_file/2
to_map/1
uncompress/2
jose_jwe_alg
Summary
Callbacks
key_decrypt/3
key_encrypt/3
next_cek/3
Functions
generate_key/3
jose_jwe_alg_aes_kw
Summary
Types
alg/0
Functions
from_map/1
generate_key/3
key_decrypt/3
key_encrypt/3
next_cek/3
to_map/2
jose_jwe_alg_c20p_kw
Summary
Types
alg/0
Functions
from_map/1
generate_key/3
key_decrypt/3
key_encrypt/3
next_cek/3
to_map/2
jose_jwe_alg_dir
Summary
Types
alg/0
Functions
from_map/1
generate_key/3
key_decrypt/3
key_encrypt/3
next_cek/3
to_map/2
jose_jwe_alg_ecdh_1pu
Summary
Types
alg/0
ec_public_key/0
Functions
algorithm/1
from_map/1
generate_key/3
key_decrypt/3
key_encrypt/3
next_cek/3
to_map/2
jose_jwe_alg_ecdh_es
Summary
Types
alg/0
ec_public_key/0
Functions
algorithm/1
from_map/1
generate_key/3
key_decrypt/3
key_encrypt/3
next_cek/3
to_map/2
jose_jwe_alg_ecdh_ss
Summary
Types
alg/0
ec_public_key/0
Functions
algorithm/1
from_map/1
generate_key/3
key_decrypt/3
key_encrypt/3
next_cek/3
to_map/2
jose_jwe_alg_pbes2
Summary
Types
alg/0
Functions
format_error/2
from_map/1
generate_key/3
hmac_supported/0
key_decrypt/3
key_encrypt/3
next_cek/3
to_map/2
wrap_supported/0
jose_jwe_alg_rsa
Summary
Types
alg/0
Functions
from_map/1
generate_key/3
key_decrypt/3
key_encrypt/3
next_cek/3
to_map/2
jose_jwe_alg_xc20p_kw
Summary
Types
alg/0
Functions
from_map/1
generate_key/3
key_decrypt/3
key_encrypt/3
next_cek/3
to_map/2
jose_jwe_enc
Summary
Callbacks
algorithm/1
bits/1
block_decrypt/4
block_encrypt/4
next_cek/1
next_iv/1
jose_jwe_enc_aes
Summary
Types
cipher/0
enc/0
key_size/0
Functions
algorithm/1
bits/1
block_decrypt/4
block_encrypt/4
cipher_supported/0
from_map/1
hmac_supported/0
next_cek/1
next_iv/1
to_map/2
jose_jwe_enc_c20p
Summary
Types
enc/0
Functions
algorithm/1
bits/1
block_decrypt/4
block_encrypt/4
cipher_supported/0
from_map/1
next_cek/1
next_iv/1
to_map/2
jose_jwe_enc_xc20p
Summary
Types
enc/0
Functions
algorithm/1
bits/1
block_decrypt/4
block_encrypt/4
cipher_supported/0
from_map/1
next_cek/1
next_iv/1
to_map/2
jose_jwe_zip
Summary
Types
zip/0
Callbacks
compress/2
uncompress/2
Functions
compress/2
from_map/1
to_map/2
uncompress/2
zip_supported/0
jose_jwk
Summary
Types
key/0
Callbacks
from_map/1
to_key/1
to_map/2
to_public_map/2
to_thumbprint_map/2
Functions
block_decrypt/2
block_encrypt/2
block_encrypt/3
block_encryptor/1
box_decrypt/2
box_decrypt_ecdh_1pu/3
box_decrypt_ecdh_es/2
box_decrypt_ecdh_ss/2
box_encrypt/2
box_encrypt/3
box_encrypt/4
box_encrypt_ecdh_1pu/3
box_encrypt_ecdh_1pu/4
box_encrypt_ecdh_1pu/5
box_encrypt_ecdh_es/2
box_encrypt_ecdh_es/3
box_encrypt_ecdh_es/4
box_encrypt_ecdh_ss/2
box_encrypt_ecdh_ss/3
box_encrypt_ecdh_ss/4
from/1
from/2
from_binary/1
from_binary/2
from_der/1
from_der/2
from_der_file/1
from_der_file/2
from_file/1
from_file/2
from_firebase/1
from_key/1
from_map/1
from_map/2
from_oct/1
from_oct/2
from_oct_file/1
from_oct_file/2
from_okp/1
from_openssh_key/1
from_openssh_key_file/1
from_pem/1
from_pem/2
from_pem_file/1
from_pem_file/2
generate_key/1
merge/2
shared_secret/2
sign/2
sign/3
signer/1
thumbprint/1
thumbprint/2
thumbprint_concat/1
thumbprint_concat/2
to_binary/1
to_binary/2
to_binary/3
to_der/1
to_der/2
to_der_file/2
to_der_file/3
to_file/2
to_file/3
to_file/4
to_key/1
to_map/1
to_map/2
to_map/3
to_oct/1
to_oct/2
to_oct/3
to_oct_file/2
to_oct_file/3
to_oct_file/4
to_okp/1
to_openssh_key/1
to_openssh_key_file/2
to_pem/1
to_pem/2
to_pem_file/2
to_pem_file/3
to_public/1
to_public_file/2
to_public_key/1
to_public_map/1
to_thumbprint_map/1
verifier/1
verify/2
verify_strict/3
jose_jwk_der
Summary
Functions
from_binary/1
from_binary/2
to_binary/3
jose_jwk_kty
Summary
Callbacks
generate_key/1
generate_key/2
key_encryptor/3
Functions
from_key/1
from_oct/1
generate_key/1
key_encryptor/3
jose_jwk_kty_ec
Summary
Types
key/0
Functions
block_encryptor/2
derive_key/2
from_der/1
from_der/2
from_key/1
from_map/1
from_pem/1
from_pem/2
generate_key/1
generate_key/2
key_encryptor/3
sign/3
signer/2
to_der/1
to_der/2
to_key/1
to_map/2
to_pem/1
to_pem/2
to_public_map/2
to_thumbprint_map/2
verifier/2
verify/4
jose_jwk_kty_oct
Summary
Types
key/0
Functions
block_encryptor/2
derive_key/1
from_map/1
from_oct/1
generate_key/1
generate_key/2
key_encryptor/3
sign/3
signer/2
to_key/1
to_map/2
to_oct/1
to_public_map/2
to_thumbprint_map/2
verifier/2
verify/4
jose_jwk_kty_okp_ed25519
Summary
Types
key/0
publickey/0
secretkey/0
Functions
from_der/1
from_der/2
from_key/1
from_map/1
from_okp/1
from_openssh_key/1
from_pem/1
from_pem/2
generate_key/1
generate_key/2
key_encryptor/3
sign/3
signer/2
to_der/1
to_der/2
to_key/1
to_map/2
to_okp/1
to_openssh_key/2
to_pem/1
to_pem/2
to_public_map/2
to_thumbprint_map/2
verifier/2
verify/4
jose_jwk_kty_okp_ed25519ph
Summary
Types
key/0
publickey/0
secretkey/0
Functions
from_map/1
from_okp/1
from_openssh_key/1
generate_key/1
generate_key/2
key_encryptor/3
sign/3
signer/2
to_key/1
to_map/2
to_okp/1
to_openssh_key/2
to_public_map/2
to_thumbprint_map/2
verifier/2
verify/4
jose_jwk_kty_okp_ed448
Summary
Types
key/0
publickey/0
secretkey/0
Functions
from_der/1
from_der/2
from_key/1
from_map/1
from_okp/1
from_openssh_key/1
from_pem/1
from_pem/2
generate_key/1
generate_key/2
key_encryptor/3
sign/3
signer/2
to_der/1
to_der/2
to_key/1
to_map/2
to_okp/1
to_openssh_key/2
to_pem/1
to_pem/2
to_public_map/2
to_thumbprint_map/2
verifier/2
verify/4
jose_jwk_kty_okp_ed448ph
Summary
Types
key/0
publickey/0
secretkey/0
Functions
from_map/1
from_okp/1
from_openssh_key/1
generate_key/1
generate_key/2
key_encryptor/3
sign/3
signer/2
to_key/1
to_map/2
to_okp/1
to_openssh_key/2
to_public_map/2
to_thumbprint_map/2
verifier/2
verify/4
jose_jwk_kty_okp_x25519
Summary
Types
key/0
publickey/0
secretkey/0
Functions
block_encryptor/2
derive_key/2
from_der/1
from_der/2
from_key/1
from_map/1
from_okp/1
from_openssh_key/1
from_pem/1
from_pem/2
generate_key/1
generate_key/2
key_encryptor/3
to_der/1
to_der/2
to_key/1
to_map/2
to_okp/1
to_openssh_key/2
to_pem/1
to_pem/2
to_public_map/2
to_thumbprint_map/2
jose_jwk_kty_okp_x448
Summary
Types
key/0
publickey/0
secretkey/0
Functions
block_encryptor/2
derive_key/2
from_der/1
from_der/2
from_key/1
from_map/1
from_okp/1
from_openssh_key/1
from_pem/1
from_pem/2
generate_key/1
generate_key/2
key_encryptor/3
to_der/1
to_der/2
to_key/1
to_map/2
to_okp/1
to_openssh_key/2
to_pem/1
to_pem/2
to_public_map/2
to_thumbprint_map/2
jose_jwk_kty_rsa
Summary
Types
key/0
Functions
block_encryptor/2
decrypt_private/3
encrypt_public/3
from_der/1
from_der/2
from_key/1
from_map/1
from_pem/1
from_pem/2
generate_key/1
generate_key/2
key_encryptor/3
sign/3
signer/2
to_der/1
to_der/2
to_key/1
to_map/2
to_pem/1
to_pem/2
to_public_map/2
to_thumbprint_map/2
verifier/2
verify/4
jose_jwk_oct
Summary
Callbacks
from_oct/1
to_oct/1
Functions
from_binary/1
jose_jwk_openssh_key
Summary
Functions
from_binary/1
to_binary/1
jose_jwk_pem
Summary
Functions
from_binary/1
from_binary/2
from_certificate/1
from_public_key_info/1
to_binary/3
jose_jwk_set
Summary
Functions
from_map/1
to_map/2
jose_jwk_use_enc
Summary
Callbacks
block_encryptor/2
decrypt_private/3
derive_key/1
derive_key/2
encrypt_public/3
jose_jwk_use_sig
Summary
Callbacks
sign/3
signer/2
verifier/2
verify/4
jose_jws
Summary
Callbacks
from_map/1
to_map/2
Functions
compact/1
expand/1
from/1
from_binary/1
from_file/1
from_map/1
generate_key/1
merge/2
peek/1
peek_payload/1
peek_protected/1
peek_signature/1
sign/3
sign/4
signing_input/2
signing_input/3
to_binary/1
to_file/2
to_map/1
verify/2
verify_strict/3
jose_jws_alg
Summary
Callbacks
generate_key/2
presign/2
sign/3
verify/4
Functions
generate_key/2
jose_jws_alg_ecdsa
Summary
Types
alg/0
Functions
from_map/1
generate_key/2
sign/3
to_map/2
verify/4
jose_jws_alg_eddsa
Summary
Types
alg/0
Functions
from_map/1
generate_key/2
sign/3
to_map/2
verify/4
jose_jws_alg_hmac
Summary
Types
alg/0
Functions
from_map/1
generate_key/2
sign/3
to_map/2
verify/4
jose_jws_alg_none
Summary
Types
alg/0
Functions
from_map/1
generate_key/2
sign/3
to_map/2
verify/4
jose_jws_alg_poly1305
Summary
Types
alg/0
Functions
from_map/1
generate_key/2
presign/2
sign/3
to_map/2
verify/4
jose_jws_alg_rsa_pkcs1_v1_5
Summary
Types
alg/0
Functions
from_map/1
generate_key/2
sign/3
to_map/2
verify/4
jose_jws_alg_rsa_pss
Summary
Types
alg/0
Functions
from_map/1
generate_key/2
sign/3
to_map/2
verify/4
jose_jwt
Summary
Functions
decrypt/2
encrypt/2
encrypt/3
from/1
from_binary/1
from_file/1
from_map/1
merge/2
peek/1
peek_payload/1
peek_protected/1
sign/2
sign/3
to_binary/1
to_file/2
to_map/1
verify/2
verify_strict/3
jose_public_key
Summary
Functions
cipher/3
decipher/2
decrypt_parameters/1
der_decode/1
der_decode/2
der_encode/2
encrypt_parameters/1
pem_decode/1
pem_encode/1
pem_entry_decode/1
pem_entry_decode/2
pem_entry_encode/2
pem_entry_encode/3
jose_server
Summary
Functions
chacha20_poly1305_module/1
config_change/0
curve448_module/1
curve25519_module/1
json_module/1
pbes2_count_maximum/1
sha3_module/1
start_link/0
unsecured_signing/1
xchacha20_poly1305_module/1
jose_sha3
Summary
Callbacks
sha3_224/1
sha3_256/1
sha3_384/1
sha3_512/1
shake128/2
shake256/2
Functions
sha3_224/1
sha3_256/1
sha3_384/1
sha3_512/1
shake128/2
shake256/2
jose_sha3_keccakf1600_driver
Summary
Functions
sha3_224/1
sha3_256/1
sha3_384/1
sha3_512/1
shake128/2
shake256/2
jose_sha3_keccakf1600_nif
Summary
Functions
sha3_224/1
sha3_256/1
sha3_384/1
sha3_512/1
shake128/2
shake256/2
jose_sha3_libdecaf
Summary
Functions
sha3_224/1
sha3_256/1
sha3_384/1
sha3_512/1
shake128/2
shake256/2
jose_sha3_unsupported
Summary
Functions
sha3_224/1
sha3_256/1
sha3_384/1
sha3_512/1
shake128/2
shake256/2
jose_sup
Summary
Functions
start_link/0
jose_xchacha20_poly1305
Summary
Types
additional_authenticated_data/0
cipher_text/0
message/0
plain_text/0
poly1305_mac/0
xchacha20_key/0
xchacha20_nonce/0
Callbacks
authenticate/3
decrypt/5
encrypt/4
verify/4
Functions
authenticate/3
block_decrypt/4
block_encrypt/4
decrypt/5
encrypt/4
verify/4
jose_xchacha20_poly1305_crypto
Summary
Types
chacha20_key/0
chacha20_nonce/0
hchacha20_block/0
hchacha20_nonce/0
poly1305_otk/0
xchacha20_nonce/0
Functions
authenticate/3
decrypt/5
encrypt/4
hchacha20/2
poly1305_key_gen/2
verify/4
xchacha20_subkey_and_nonce/2
jose_xchacha20_poly1305_libsodium
Summary
Functions
authenticate/3
decrypt/5
encrypt/4
verify/4
jose_xchacha20_poly1305_unsupported
Summary
Functions
authenticate/3
decrypt/5
encrypt/4
verify/4
Settings
View Source
jose_app
(JOSE v1.11.10)
Summary
Functions
config_change(Changed, New, Removed)
start(Type, Args)
stop(State)
Functions
Link to this function
config_change(Changed, New, Removed)
View Source
Link to this function
start(Type, Args)
View Source
Link to this function
stop(State)
View Source
×