Skip to content

Commit

Permalink
Fix name for JWE payload
Browse files Browse the repository at this point in the history
  • Loading branch information
mnylen committed Apr 25, 2024
1 parent 9e94665 commit 6d88e34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ private String encrypt(final Payload content, final Key key, final Provider keyP
Assert.stateNotNull(keyAlgFunction, "KeyAlgorithm function cannot be null.");
assertPayloadEncoding("JWE");

InputStream plaintext = toInputStream("JWE Unencoded Payload", content);
InputStream plaintext = toInputStream("JWE Payload", content);

//only expose (mutable) JweHeader functionality to KeyAlgorithm instances, not the full headerBuilder
// (which exposes this JwtBuilder and shouldn't be referenced by KeyAlgorithms):
Expand Down

0 comments on commit 6d88e34

Please sign in to comment.