+++ This bug was initially created as a clone of Bug #1534765 +++ I think the javadoc for the getSignerInfos() method is wrong. It says it returns "a SET of org.mozilla.jss.pkcs7.SignerInfo" but I think it is a SET of org.mozilla.jss.pkix.cms.SignerInfo. Reproducible: Always Steps to Reproduce: Below isn't really complete but you should get the point... import org.mozilla.jss.pkix.cms.ContentInfo; import org.mozilla.jss.pkix.cms.SignedData; //import org.mozilla.jss.pkix.cms.SignerInfo; import org.mozilla.jss.pkcs7.SignerInfo; ContentInfo ci = (ContentInfo) ASN1Util.decode(ContentInfo.getTemplate(), binaryResponse); SignedData response = (SignedData) ci.getInterpretedContent(); SignerInfo sinfo = (SignerInfo) response.getSignerInfos().elementAt(0); Actual Results: org.mozilla.jss.pkix.cms.SignerInfo cannot be cast to org.mozilla.jss.pkcs7.SignerInfo
Moved to RHEL 7.7 due to lack of development resource time.
This is fixed upstream. When the next JSS release is made we can port this to RHEL as appropriate.
Hi Alex, Could you please add test steps for this bug. Thanks
Verified the steps mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1534767#c10. I have done a basic sanity of steps mentioned above. Marking the bug "verified".
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2219