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 a5c58ab4b WSS-700 - WSSecEncrypt cannot set Security Provider
a5c58ab4b is described below
commit a5c58ab4bcf14ed433ae3335a49964611d9f2458
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Mon Jul 10 10:08:31 2023 +0100
WSS-700 - WSSecEncrypt cannot set Security Provider
---
.../src/main/java/org/apache/wss4j/dom/message/WSSecEncrypt.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git
a/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecEncrypt.java
b/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecEncrypt.java
index d300f6797..59db22247 100644
---
a/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecEncrypt.java
+++
b/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecEncrypt.java
@@ -19,6 +19,7 @@
package org.apache.wss4j.dom.message;
+import java.security.Provider;
import java.util.ArrayList;
import java.util.List;
@@ -89,6 +90,10 @@ public class WSSecEncrypt extends WSSecEncryptedKey {
super(doc);
}
+ public WSSecEncrypt(Document doc, Provider provider) {
+ super(doc, provider);
+ }
+
/**
* Initialize a WSSec Encrypt.
*