David Stutzman wrote: > SignedData response = (SignedData) > ASN1Util.decode(SignedData.getTemplate(), binaryResponse);
For future reference you have to do this: ContentInfo ci = (ContentInfo) ASN1Util.decode(ContentInfo.getTemplate(), binaryResponse); SignedData response = (SignedData) ci.getInterpretedContent(); There are 2 SignedData classes in JSS, a CMS one and a PKCS7 one. The OID that dumpasn1 reports is the PKCS7 one, but the class you need to use for the above to work is the CMS one *shrug*. Dave _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto