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
This is fixed upstream: https://github.com/dogtagpki/jss/pull/39. Marking this as CLOSED...
tomcatjss-7.3.6-2.fc29 nuxwdog-1.0.5-3.fc29 dogtag-pki-10.6.8-1.fc29 pki-core-10.6.8-1.fc29 jss-4.5.1-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3241dd6a7f
jss-4.5.1-1.fc28 dogtag-pki-10.6.8-1.fc28 pki-core-10.6.8-1.fc28 nuxwdog-1.0.5-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-115068f60e
dogtag-pki-10.6.8-1.fc28, jss-4.5.1-1.fc28, nuxwdog-1.0.5-3.fc28, pki-core-10.6.8-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-115068f60e
dogtag-pki-10.6.8-1.fc29, jss-4.5.1-1.fc29, nuxwdog-1.0.5-3.fc29, pki-core-10.6.8-1.fc29, tomcatjss-7.3.6-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-3241dd6a7f
dogtag-pki-10.6.8-1.fc29 freeipa-4.7.2-1.fc29 jss-4.5.1-1.fc29 nuxwdog-1.0.5-3.fc29 pki-core-10.6.8-3.fc29 tomcatjss-7.3.6-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3241dd6a7f
dogtag-pki-10.6.8-1.fc28 freeipa-4.7.2-1.fc28 jss-4.5.1-1.fc28 nuxwdog-1.0.5-3.fc28 pki-core-10.6.8-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-115068f60e
dogtag-pki-10.6.8-3.fc28, freeipa-4.7.2-1.fc28, jss-4.5.1-1.fc28, nuxwdog-1.0.5-3.fc28, pki-core-10.6.8-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-115068f60e
dogtag-pki-10.6.8-3.fc29, freeipa-4.7.2-1.fc29, jss-4.5.1-1.fc29, nuxwdog-1.0.5-3.fc29, pki-core-10.6.8-3.fc29, tomcatjss-7.3.6-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-3241dd6a7f
dogtag-pki-10.6.8-3.fc29, freeipa-4.7.2-1.fc29, jss-4.5.1-1.fc29, nuxwdog-1.0.5-3.fc29, pki-core-10.6.8-3.fc29, tomcatjss-7.3.6-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
dogtag-pki-10.6.8-3.fc28, freeipa-4.7.2-1.fc28, jss-4.5.1-1.fc28, nuxwdog-1.0.5-3.fc28, pki-core-10.6.8-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.