You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2023/04/18 05:57:47 UTC

[ws-wss4j] branch master updated: EncryptedKeyProcessor: make decryptDataRef(s) protected (#144)

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d36de5b4 EncryptedKeyProcessor: make decryptDataRef(s) protected (#144)
1d36de5b4 is described below

commit 1d36de5b4743cdcb01346d9269a9a8a077035202
Author: sopgreg <33...@users.noreply.github.com>
AuthorDate: Tue Apr 18 07:57:42 2023 +0200

    EncryptedKeyProcessor: make decryptDataRef(s) protected (#144)
---
 .../java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java b/ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java
index 2f7e2b223..93c0d611b 100644
--- a/ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java
+++ b/ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java
@@ -505,7 +505,7 @@ public class EncryptedKeyProcessor implements Processor {
     /**
      * Decrypt all data references
      */
-    private List<WSDataRef> decryptDataRefs(Element refList, WSDocInfo docInfo,
+    protected List<WSDataRef> decryptDataRefs(Element refList, WSDocInfo docInfo,
                                             byte[] decryptedBytes, RequestData data
     ) throws WSSecurityException {
         //
@@ -536,7 +536,7 @@ public class EncryptedKeyProcessor implements Processor {
     /**
      * Decrypt an EncryptedData element referenced by dataRefURI
      */
-    private WSDataRef decryptDataRef(
+    protected WSDataRef decryptDataRef(
         Document doc,
         String dataRefURI,
         WSDocInfo docInfo,