Skip to content

Commit

Permalink
not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
wangweij committed Jan 9, 2025
1 parent 45e3266 commit f29ca77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/javax/crypto/KeyAgreement.java
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ public final int generateSecret(byte[] sharedSecret, int offset)
* initialized or if {@code doPhase} has not been called to supply the
* keys for all parties in the agreement
* @exception NoSuchAlgorithmException if the specified secret-key
* algorithm is not available
* algorithm is not supported
* @exception InvalidKeyException if the shared secret-key material cannot
* be used to generate a secret key of the specified algorithm (e.g.,
* the key material is too short)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ protected abstract int engineGenerateSecret(byte[] sharedSecret,
* initialized or if {@code doPhase} has not been called to supply the
* keys for all parties in the agreement
* @exception NoSuchAlgorithmException if the specified secret-key
* algorithm is not available
* algorithm is not supported
* @exception InvalidKeyException if the shared secret key material cannot
* be used to generate a secret key of the requested algorithm type (e.g.,
* the key material is too short)
Expand Down

0 comments on commit f29ca77

Please sign in to comment.