IBM Support

IV50256: WHEN OBTAINING THE HASH CODE OF A SENSITIVE PKCS11 PRIVATEKEY OB JECT, NULLPOINTEREXCEPTION WILL BE THROWN

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: java.lang.NullPointerException
     at
    com.ibm.security.util.DerOutputStream.write(DerOutputStream.java
    :86)
     at
    com.ibm.security.util.DerOutputStream.putOctetString(DerOutputSt
    ream.java:338)
     at
    com.ibm.security.pkcs8.PrivateKeyInfo.encode(PrivateKeyInfo.java
    :256)
     at
    com.ibm.security.pkcsutil.PKCSDerObject.encode(PKCSDerObject.jav
    a:177)
     at
    com.ibm.security.pkcs8.PrivateKeyInfo.getEncoded(PrivateKeyInfo.
    java:483)
     at
    com.ibm.security.pkcs8.PrivateKeyInfo.hashCode(PrivateKeyInfo.ja
    va:666)
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • Since the key material of the sensitive PKCS11 PrivateKey object
    is not available, the corresponding data member is null.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR6
    6.0.1 SR7
    6.0.0 SR15
    5.0.0 SR16 FP4
    .
    A fix is made to IBMPKCS to not include null key material in
    encoding
    The associated Hursley CMVC defect is 200270
    The associated Austin CMVC defect is 114666
    JVMs affected: Java 5.0, Java 6.0, Java 626, and Java 7.0.
    The fix was delivered for Java 5.0 SR16FP4, Java 6.0 SR15, Java
    626 SR7, and Java 7.0 SR6.
    The affected jar is "ibmpkcs.jar".
    The build level of this jar for the affected releases is
    "20130925"
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV50256

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-01

  • Closed date

    2013-10-02

  • Last modified date

    2013-10-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IV50257

Fix information

  • Fixed component name

    SECURITY

  • Fixed component ID

    620700125

Applicable component levels

  • R260 PSY

       UP

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"260","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
07 December 2020