JOSE.JWE

Summary

Types

t :: %JOSE.JWE{alg: term, enc: term, fields: term, zip: term}

Functions

block_decrypt(jwk, encrypted)
block_encrypt(jwk, plain_text, jwe)
block_encrypt(jwk, plain_text, cek, jwe)
block_encrypt(jwk, plain_text, cek, iv, jwe)
compact(encrypted)
compress(plain_text, jwe)
expand(encrypted)
from(jwe)
from_binary(binary)
from_file(file)
from_map(map)
from_record(jose_jwe)

Converts a :jose_jwe record into a JOSE.JWE.

key_decrypt(jwk, encrypted_key, jwe)
key_encrypt(jwk, decrypted_key, jwe)
next_cek(jwk, jwe)
next_iv(jwe)
to_binary(jwe)
to_file(file, jwe)
to_map(jwe)
to_record(jwe)

Converts a JOSE.JWE struct to a :jose_jwe record.

uncompress(cipher_text, jwe)