jose_jwe_alg_pbes2 (JOSE v1.11.12)

View Source

Summary

Types

alg/0

-type alg() ::
          #jose_jwe_alg_pbes2{hmac :: undefined | sha256 | sha384 | sha512,
                              salt :: undefined | binary(),
                              iter :: undefined | pos_integer(),
                              wrap :: undefined | aes_gcm_kw | aes_kw | c20p_kw | xc20p_kw,
                              bits :: undefined | 128 | 192 | 256,
                              iv :: undefined | binary(),
                              tag :: undefined | binary()}.

Functions

format_error(Reason, _)

-spec format_error(term(), term()) -> term().

from_map(F)

generate_key(Fields, _, ALG)

hmac_supported()

key_decrypt(Password, EncryptedKey, Jose_jwe_alg_pbes2)

key_encrypt(Password, DecryptedKey, ALG0)

next_cek(Key, _, ALG)

to_map(A, F)

wrap_supported()