-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for the ECDH KeyAgreement method algorithm #264
Support for the ECDH KeyAgreement method algorithm #264
Conversation
@coheigea please note the PR is using the not yet released santuario version |
policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java
Outdated
Show resolved
Hide resolved
ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecEncryptedKey.java
Outdated
Show resolved
Hide resolved
ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecEncryptedKey.java
Outdated
Show resolved
Hide resolved
ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionTest.java
Outdated
Show resolved
Hide resolved
ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java
Outdated
Show resolved
Hide resolved
ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionTest.java
Show resolved
Hide resolved
ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java
Outdated
Show resolved
Hide resolved
ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java
Show resolved
Hide resolved
Hi @coheigea I would like to draw your attention to the last commit: |
@jrihtarsic Yes I think any other changes should go in a new JIRA for now. |
ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/EncryptedKeyProcessor.java
Show resolved
Hide resolved
* Support for the ECDH KeyAgreement method algorithm * Fix typos, regenerate example keystores using keytool/ * Clean double spaces, NPE validation for KeyAgreement * XDH and EdEC key length validation for AlgorithmSuiteValidator * Add check for KeyAgreement --------- Co-authored-by: RIHTARSIC Joze <[email protected]>
The PR aims to enable the ECDH_ES Key Agreement Algorithm for WSS4J using EC and XEC keys. The details are described in the ticket WSS-706.
The Elliptic-curve Diffie–Hellman ephemeral static algorithm (ECDH_ES) is a key agreement protocol that allows two parties to establish a shared secret over an insecure channel. It is a variant of the Diffie–Hellman protocol using elliptic-curve cryptography.
The code is contributed on behalf of the European Commission’s edelivery project to support eDelivery AS4 2.0 profile.