IBM Support

IV55739: PBEKEY GETALGORITHM() RETURNS WRONG VALUE

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

  • NoSuchAlgorithmException: Cannot find any provider supporting
    PBE
    at javax.crypto.Cipher.getInstance()
    

Local fix

  • The cipher algorithm can be explicitly specified to
    Cipher.getInstance()
    instead of using Cipher.getInstance(mykey.getAlgorithm()).
    Alternatively, the
    IBMJCE provider can be specified to
    Cipher.getInstance().
    

Problem summary

  • PBEKey getAlgorithm() always returns "PBE" instead of the
    specific algorithm name.
    

Problem conclusion

  • This APAR will be fixed in the following Java Releases:
       6 R1 SR8       (6.1.8.0)
       7 R1 SR1       (7.1.1.0)
       7    SR7       (7.0.7.0)
    .
    PBEKey getAlgorithm() will now return the specific algorithm
    name, for keys created after this fix.  It will still return
    "PBE" for keys created before this fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV55739

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-20

  • Closed date

    2014-03-22

  • Last modified date

    2014-03-22

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

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

    PI17459

Fix information

  • Fixed component name

    SECURITY

  • Fixed component ID

    620700125

Applicable component levels

  • R260 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