This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch 3_0_x-fixes
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git
The following commit(s) were added to refs/heads/3_0_x-fixes by this push:
new a72089cf8 [WSS-709]Add more setter methods for AlgorithmSuite (#270)
a72089cf8 is described below
commit a72089cf889bc609e166e2bbc75f9b8acc9e0b25
Author: Freeman(Yue) Fang <[email protected]>
AuthorDate: Fri Jan 26 01:55:18 2024 -0500
[WSS-709]Add more setter methods for AlgorithmSuite (#270)
---
.../apache/wss4j/policy/model/AlgorithmSuite.java | 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git
a/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java
b/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java
index b442ad2b4..f574de05c 100644
--- a/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java
+++ b/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java
@@ -402,26 +402,50 @@ public class AlgorithmSuite extends
AbstractSecurityAssertion implements PolicyC
public String getDigest() {
return digest;
}
+
+ public void setDigest(String digest) {
+ this.digest = digest;
+ }
public String getEncryption() {
return encryption;
}
+
+ public void setEncryption(String encryption) {
+ this.encryption = encryption;
+ }
public String getSymmetricKeyWrap() {
return symmetricKeyWrap;
}
+
+ public void setSymmetricKeyWrap(String symmetricKeyWrap) {
+ this.symmetricKeyWrap = symmetricKeyWrap;
+ }
public String getAsymmetricKeyWrap() {
return asymmetricKeyWrap;
}
+
+ public void setAsymmetricKeyWrap(String asymmetricKeyWrap) {
+ this.asymmetricKeyWrap = asymmetricKeyWrap;
+ }
public String getEncryptionKeyDerivation() {
return encryptionKeyDerivation;
}
+
+ public void setEncryptionKeyDerivation(String encryptionKeyDerivation)
{
+ this.encryptionKeyDerivation = encryptionKeyDerivation;
+ }
public String getSignatureKeyDerivation() {
return signatureKeyDerivation;
}
+
+ public void setSignatureKeyDerivation(String signatureKeyDerivation) {
+ this.signatureKeyDerivation = signatureKeyDerivation;
+ }
public String getSymmetricSignature() {
return symmetricSignature;
@@ -442,26 +466,50 @@ public class AlgorithmSuite extends
AbstractSecurityAssertion implements PolicyC
public int getEncryptionDerivedKeyLength() {
return encryptionDerivedKeyLength;
}
+
+ public void getEncryptionDerivedKeyLength(int
encryptionDerivedKeyLength) {
+ this.encryptionDerivedKeyLength = encryptionDerivedKeyLength;
+ }
public int getSignatureDerivedKeyLength() {
return signatureDerivedKeyLength;
}
+
+ public void setSignatureDerivedKeyLength(int
signatureDerivedKeyLength) {
+ this.signatureDerivedKeyLength = signatureDerivedKeyLength;
+ }
public int getMinimumSymmetricKeyLength() {
return minimumSymmetricKeyLength;
}
+
+ public void setMinimumSymmetricKeyLength(int
minimumSymmetricKeyLength) {
+ this.minimumSymmetricKeyLength = minimumSymmetricKeyLength;
+ }
public int getMaximumSymmetricKeyLength() {
return maximumSymmetricKeyLength;
}
+ public void setMaximumSymmetricKeyLength(int
maximumSymmetricKeyLength) {
+ this.maximumSymmetricKeyLength = maximumSymmetricKeyLength;
+ }
+
public int getMinimumAsymmetricKeyLength() {
return minimumAsymmetricKeyLength;
}
+
+ public void setMinimumAsymmetricKeyLength(int
minimumAsymmetricKeyLength) {
+ this.minimumAsymmetricKeyLength = minimumAsymmetricKeyLength;
+ }
public int getMaximumAsymmetricKeyLength() {
return maximumAsymmetricKeyLength;
}
+
+ public void setMaximumAsymmetricKeyLength(int
maximumAsymmetricKeyLength) {
+ this.maximumAsymmetricKeyLength = maximumAsymmetricKeyLength;
+ }
public void setNamespace(String ns) {
this.ns = ns;