JWE: Add explicit decrypt step
It may be useful to perform the deserialization and decryption steps
separately.
The decrypt() step assumes the caller already called the deserialize()
function, and accepts only one key.
The decrypt step will allow a caller to try multiple keys, by simply
calling decrypt() multiple times.
Signed-off-by:
Simo Sorce <simo@redhat.com>
Showing
Please register or sign in to comment