IBM Support

IV36994: RSAWITHNOPAD FAILED TO INITIALIZE W/O UNRESTRICTED POLICY FILE.

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: The following code throws an exception without
    the unrestricted policy files:
    Cipher cipher = Cipher.getInstance( "RSAwithNoPad", "IBMJCE" );
    cipher.init( Cipher.ENCRYPT_MODE, pubkey );  // throws exception
    Exception:
    java.security.InvalidKeyException: Illegal key size or default
    parameters
    .
    Stack Trace: N/A
    .
    

Local fix

  • Add the unrestricted policy files to the IBM JRE.
    

Problem summary

  • The following code throws an exception without the unrestricted
    policy files:
    Cipher cipher = Cipher.getInstance( "RSAwithNoPad", "IBMJCE" );
    cipher.init( Cipher.ENCRYPT_MODE, pubkey );  // throws exception
    Exception:
    java.security.InvalidKeyException: Illegal key size or default
    parameters
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR16
    6.0.0 SR13FP1
    6.0.0 SR14
    6.0.1 SR5FP1
    6.0.1 SR6
    7.0.0 SR4FP1
    7.0.0 SR5
    .
    A fix has been applied so that the unrestricted policy files are
    not necessary to execute the code which was previously failing.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV36994

  • Reported component name

    JAVA 5 SECURITY

  • Reported component ID

    620500125

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-19

  • Closed date

    2013-03-11

  • Last modified date

    2013-03-11

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

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

    IV36995

Fix information

  • Fixed component name

    JAVA 5 SECURITY

  • Fixed component ID

    620500125

Applicable component levels

  • R500 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":"5.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
07 December 2020