APAR status
Closed as program error.
Error description
Java Cipher.doFinal is returning an unexpected RuntimeException when the function is called more than once: Exception: java.lang.RuntimeException: Hardware error from call CSNDPKD returnCode 8 reasonCode 11000 The Java 6 API specifically states: "Upon finishing, this method resets this cipher object to the state it was in when previously initialized via a call to init. That is, the object is reset and available to encrypt or decrypt (depending on the operation mode that was specified in the call to init) more data. " The Cipher.doFinal method does not reset data buffers as it should. KEYWORDS: RSA CIPHER DOFINAL CSNDPKD
Local fix
N/A
Problem summary
RSA Cipher doFinal() does not reset the data buffer.
Problem conclusion
This defect will be fixed in: 6.0.0 SR9 FP2 . RSA Cipher doFinal() now returns the cipher object to the state after the more recent call to init(), as described in the Java specification. . To obtain the fix: Install build 20110225 or later
Temporary fix
Comments
APAR Information
APAR number
PM31743
Reported component name
JAVA 6 Z/OS 31
Reported component ID
620700105
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-02-02
Closed date
2011-02-24
Last modified date
2011-07-09
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA 6 Z/OS 31
Fixed component ID
620700105
Applicable component levels
R600 PSN
UP
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB16","label":"Mainframe HW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 August 2022