-
Bug
-
Resolution: Unresolved
-
P4
-
8
-
None
-
Cause Known
The javadoc of javax.crypto.Cipher class specifies:
A transformation is of the form:
"algorithm/mode/padding" or
"algorithm"
(in the latter case, provider-specific default values for the mode and padding scheme are used).
Thus, we should reject transformations in "algorithm/mode/padding" syntax with empty mode and/or padding.
A transformation is of the form:
"algorithm/mode/padding" or
"algorithm"
(in the latter case, provider-specific default values for the mode and padding scheme are used).
Thus, we should reject transformations in "algorithm/mode/padding" syntax with empty mode and/or padding.
- relates to
-
JDK-8358159 Empty mode/padding in cipher transformations
-
- Resolved
-
- links to
-
Review(master) openjdk/jdk/25808