jrihtarsic commented on code in PR #298:
URL: https://github.com/apache/ws-wss4j/pull/298#discussion_r1531888288
##########
ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecEncryptedKey.java:
##########
@@ -80,10 +77,22 @@ public class WSSecEncryptedKey extends WSSecBase {
/**
* Key agreement method algorithm used to encrypt the transport key.
* Example for ECDH-ES: http://www.w3.org/2009/xmlenc11#ECDH-ES
- *
+ * and xec example: X25519: http://www.w3.org/2009/xmlenc11#x25519
*/
private String keyAgreementMethod;
+ /**
+ * Method to derive the key to be used to encrypt the data with the Key
keyAgreementMethod
+ *
+ */
+ private String keyDerivationMethod = WSS4JConstants.KEYDERIVATION_HKDF;
+
+
+ /**
+ * The Key Derivation Parameters for the with the Key keyAgreementMethod
+ */
+ KeyDerivationParameters keyDerivationParameters;
Review Comment:
Added "private" modifier
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]