File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ JweConfig config = JweConfigBuilder.aJweEncryptionConfig()
162162 .withEncryptionCertificate(encryptionCertificate)
163163 .withDecryptionKey(decryptionKey)
164164 .withEncryptionPath(" $.path.to.foo" , " $.path.to.encryptedFoo" )
165- .withDecryptionPath(" $.path.to.encryptedFoo" , " $.path.to.foo" )
165+ .withDecryptionPath(" $.path.to.encryptedFoo.encryptedValue " , " $.path.to.foo" )
166166 .withEncryptedValueFieldName(" encryptedValue" )
167167 .build();
168168```
@@ -272,7 +272,7 @@ Entire payloads can be decrypted using the "$" operator as decryption path:
272272``` java
273273JweConfig config = JweConfigBuilder . aJweEncryptionConfig()
274274 .withDecryptionKey(decryptionKey)
275- .withDecryptionPath(" $" , " $" )
275+ .withDecryptionPath(" $.encryptedValue " , " $" )
276276 // …
277277 .build();
278278```
You can’t perform that action at this time.
0 commit comments