Details
-
Type:
Enhancement
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 12
-
Component/s: security-libs
-
Labels:None
-
Subcomponent:
-
Resolved In Build:b21
Description
javax.crypto.Cipher.toString() currently doesn't print friendly information. Perhaps, it can be improved to include algorithm, mode and padding value data
> jshell> import javax.crypto.*;
>
> jshell> Cipher cipher = Cipher.getInstance("AES");
> cipher ==> javax.crypto.Cipher@5606c0b
>
> jshell> System.out.println(cipher);
> javax.crypto.Cipher@5606c0b
> jshell> import javax.crypto.*;
>
> jshell> Cipher cipher = Cipher.getInstance("AES");
> cipher ==> javax.crypto.Cipher@5606c0b
>
> jshell> System.out.println(cipher);
> javax.crypto.Cipher@5606c0b
Attachments
Issue Links
- csr for
-
JDK-8211763 Override javax.crypto.Cipher.toString()
-
- Closed
-