IV19564: BAD IMPL OF JAVA.SECURITY.PROVIDER.SERVICE.SUPPORTSPARAMETER(OBJ ECT)

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: InvalidKeyException when trying to call
    java.security.Signature.initVerify() or initSign().
    .
    Stack Trace: java.security.InvalidKeyException: not a RSA
    private key: test.provider.TestPrivateKey@43854385
     at com.ibm.crypto.provider.tc.engineInitSign(Unknown Source)
     at
    java.security.Signature$SignatureImpl.engineInitSign(Signature.j
    ava:480)
     at java.security.Signature.initSign(Signature.java:231)
     at
    com.ibm.xml.crypto.dsig.SignatureEngineRSA.initSign(SignatureEng
    ineRSA.java:69)
     at
    com.ibm.xml.crypto.dsig.dom.SignedInfoImpl.sign(SignedInfoImpl.j
    ava:168)
     at
    com.ibm.xml.crypto.dsig.dom.XMLSignatureImpl.sign(XMLSignatureIm
    pl.java:162)
    .
    

Local fix

Problem summary

  • The problem is caused when two security providers both provide
    one algorithm implementations and the higher priority one is
    selected by default, but the supportParameters() method of this
    Service object does not support the key type, only returns true
    for a quick, coarse check.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR11
    6.0.1 SR4
    .
    java.security.Signature has been updated to prevent the
    exception.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV19564

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-11

  • Closed date

    2012-04-13

  • Last modified date

    2012-08-30

  • 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 CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

6.0

Reference #:

IV19564

Modified date:

2012-08-30

Translate my page

Machine Translation

Content navigation